LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   CUPS will not print LPR jobs from certain devices (https://www.linuxquestions.org/questions/linux-server-73/cups-will-not-print-lpr-jobs-from-certain-devices-701839/)

sheppie68 02-03-2009 02:04 AM

CUPS will not print LPR jobs from certain devices
 
Hello,
I recently tried to set up Fedora 10 as a print server. The server is physically connected to a Lexmark E238 laser printer via a USB cable, and I am able to print fine locally. Several Windows XP machines as well as one industrial controller (embedded system with built-in Ethernet and LPR printing, which only prints text reports) are connected via Ethernet and are set to print to the server. All are on the same subnet. CUPS-LPD is running on the server and is started via xinetd, and the server is set up for sharing and remote access. The printer is named "printer".

I have set up the windows machines to print using LPR and the generic/text driver. These machines are able to print with no problem. The embedded system, however, will not print anything. I know that it is able to communicate with the server to some degree because it does not display a communications error, as it does when it is unplugged from the switch or when the server is switched off (or port 515 is closed). If I program this industrial controller to print to the same printer using an HP JetDirect print server it works fine and the same goes for a D-Link hardware print server (port 515) I have tried.

Any advice you can offer would be much appreciated!

cmnorton 02-03-2009 12:42 PM

smbclient
 
How is this printer shared out?

Are you using smbclient to look at the login?

<DefaultPrinter lp>
Info HP LaserJet 1320
Location My Office
DeviceURI smb://Domain\me:my-passwd@DOMAIN/xp-ws-name/lp-share-name
State Idle
StateTime 1223561097
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>

I had to provide this in my /etc/cups/printers.conf file -- names, passwords, and domains faked up for publication here -- and I connect fine.

I would not have to go through all this if the printer were shared out on a full-blown domain-controller/server. I have to do this because the printer is shared out on XP professional.


All times are GMT -5. The time now is 11:01 PM.