Network Printing, no output or errors from "lpr 'filename'
Subject should be: Network Printing, no output or errors from "lpr 'filename' ".
Running "lpr 'filename' ", I'm unable to print using the LPD printer daemon on a laptop (Dell Inspiron 11z, OpenBSD 5.4 Release w/patched source, amd64) to a standalone Canon Imageclass D1150. There is no error afterwards running the above command, nor is there any output from "tail -f /var/log/lpd-errs".
Running "lpc status" gives:
"queueing is enabled
printing is enabled
Here is my printcap file:
*I've set the printer's hostname to "canon" (when ping-ed by name replies with correct IP address)
*The IP address above contains the true static address I've set on the printer, and the hosts.lpd file contains "canon".
*/var/spool/output/canon has rwx for all, owner=root, group=daemon
*/var/log/lpd-errs shows log info when I restart lpd, but nothing else even when I run "lpr filename".
*rp=remote printer name (assuming host or device name, I've set both to "canon").
I basically followed "Absolute OpenBSD (M Lucas)" (page 306) format, but replaced his "rm=printservername:\" with my "firstname.lastname@example.org:\". My understanding is his example points to a print server with printer attached, as opposed to a standalone printer.
I verified with the Canon D1150 manual that it does support LPD, also logged into http interface and verified that LPD is turned on and using port 515.
Ran "nc -z 192.168.xxx.xxx 515" gives "Connection to 192.168.xxx.xxx 515 port (tcp/printer] succeeded!"
I realize I haven't applied any filtering, but am I wrong to believe there would be some response or garbled print output if "lpr 'filename' " is run?
A point in the right direction would be greatly appreciated.
Last edited by spacebar_permissions; 12th March 2014 at 04:52 AM. Reason: Pls change subject.
|Thread||Thread Starter||Forum||Replies||Last Post|
|LPD printing||Oko||Guides||25||26th December 2014 03:38 PM|
|PHP displays no output what-so-ever on some errors.||Carpetsmoker||Programming||9||9th November 2010 09:55 PM|
|Problem with printing||unicyclist||OpenBSD General||8||1st May 2009 07:06 PM|
|FreeBSD and UTF-8 filename||MrWolf||FreeBSD General||14||29th April 2009 02:04 AM|
|Network failure and output dumping onto console||JMJ_coder||NetBSD General||17||17th May 2008 02:27 AM|