Cannot print without lprng

Helge Blischke h.blischke at srz.de
Thu May 4 08:40:01 PDT 2006


LinuxGuru wrote:
> Let me start off by saying I don't think this is a bug with CUPS or a CUPS problem but I am hoping that someone here will have a clue as to what is going on. I posted my question to the LTSP list and have not had any replies.
> 
> I have a network running LTSP. One of the terminals is a LPT printer host with a Samsung 550N attached. The terminal is at a static IP address and is configured to act as a print server using TCP/IP and port 9100. For months now it has been working fine using lprng & CUPS. The lprng was setup to print to lpd://192.168.40.5:9100 and CUPS was set to use the lprng spool directory lpd://localhost/printername. Although this does work it causes two annoyances that I would like to get rid of. First is that many but not all programs see both printers, the lprng printer and the CUPS printer. The second is that it means there are two places I have to go to when I need to administer the printers like delete a print job. I want to get rid of lprng because it does not have all the features of CUPS and not all programs can print to lprng and only see the CUPS instance of the printer.
> 
> The lprng was just setup as a basic IP:PORT printer with no filtering. CUPS was set to print to the printer as a RAW generic PS printer. All was well until I tried to remove lprng. No mater what I do, try or mess with in the CUPS settings I cannot get the printer to work with CUPS printing to lpd://192.168.40.5:9100. I have tried all combinations of generic drivers, drivers that are reported to work when the printer is local and the drivers that Samsung recommends for this printer.
> 
> Why would the RAW CUPS driver work so well with lprng and nothing works with CUPS directly?
> Why would the Samsung drivers work with CUPS when the printer is local but not when it is attached to a print server?
> Am I forced to continue to use lprng? If so how can I hide the lprng printers from programs so people on see one of each printer, the CUPS copies?
> 

Change the device-uri from lpd://... to socket://... and try that.
With CUPS, the lpd://... means that the printer will be accessed via the lpd protocol, whereas 
the native protocol
for port 9100 is socket.

Helge


-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list