Hi, Well, I have worked very little with lpr but just recently connected an SLES9 Linux guest to a new Xerox network printer via lpr, this is what I did:
1. Thru YAST/hardware/printers 2. Configure LPD-Style Network Server 3. Enter the hostname & remote queue name 4. Enter Name (ex. test) Then from the command line --> lpr -P name-of-printer document-to-be-printed (ex. lpr -P test yourfile.pdf) Hope this helps... Regards, -Jose -----Original Message----- From: Jones, Russell [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 3:33 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Printer help I think that you are right about not having the lpd emulation set up. I found a How-To for setting up the cups-lpd helper server, but I have not gotten it to work. I tried starting it by "/usr/lib/cups/daemon/cups-lpd start", and the process would hang and have to be killed. I also tried putting it in inetd by adding " printer stream tcp nowait lp /usr/lib/cup/daemon/cups-lpd" to /etc/inetd.conf. inetd seemed to restart okay, but I am still unable to do a lpr print and I am not sure if cups-lpd is actually running. Is there another approach that I should try? Russ -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Adam Thornton Sent: Friday, June 01, 2007 12:24 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Printer help On Jun 1, 2007, at 11:10 AM, Jones, Russell wrote: > I have a network printer that I have installed through the cups web/ > gui > interface. I am able to print a test page from the gui but I am not > able > to print from the command line. This is what I get: > > [EMAIL PROTECTED]:~# lpr test.print > Status Information, attempt 1 of 3: > sending job '[EMAIL PROTECTED]' to [EMAIL PROTECTED] > connecting to 'localhost', attempt 1 > cannot open connection to localhost - No such file or directory > Make sure the remote host supports the LPD protocol > > Any suggestions? Do you have CUPS set up to do lpd emulation on port 515 (I think)? If not, well, you can't print because nothing's listening to the lpd port. Cups by default uses IPP, which is 631, I think. Adam ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 Scanned by McAfee SCM1 Scanned by Triple-S SCM2 ----------------------------------------- *************************Attention************************* This electronic message, including any attachments, contains information that may be legally confidential and/or privileged. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error and delete it from your system.