cups and lprng peacefully coexisting
I am replacing an lprng server with a suse box. since cups has become the print spooling system, and I am not sure about running the cups-lpd server -- (there seem to be a lot of limitations) has anyone run both cups and lprng simultaneously. I would use lprng to listen on port 515 for the lpr print requests, then pass it throught to cups. Or, would I be better of just using lprng and getting rid of cups. I notices with suses 9.1 that not having cups be the spooling system resulted in a very unstable kde print system, so I don't want to break something else buy removing cups. Or has anyone used the cups-lpd server and found it to be stable, and as close to lprng as any client could tell... ie, you didn't have issues with lpr clients returning weird error messages, hacking agianst port 515, etc. -- David Bear phone: 480-965-8257 fax: 480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 "Beware the IP portfolio, everyone will be suspect of trespassing"
Hello, On Jun 2 18:38 David Bear wrote (shortened):
run both cups and lprng simultaneously. I would use lprng to listen on port 515 for the lpr print requests, then pass it throught to cups.
First of all I would test whether cups-lpd fits your needs. cups-lpd is only meant to accept print jobs via LPD protocol. cups-lpd is not meant to be a full-featured LPD spooler. It should be possible to run both CUPS and LPRng simultaneously (at least it had worked once for me) but you will have troubles. You must have a good understanding of both printing systems and you will get RPM inconsistencies because certain files are the same in CUPS and LPRng and for each update of CUPS and/or LPRng you get the troubles again. Note that running both CUPS and LPRng simultaneously is not supported by the Suse/Novell Support. In particular the following files exist both for CUPS and LPRng: ------------------------------------------------------------------ /etc/printcap /usr/bin/cancel /usr/bin/lp /usr/bin/lpc /usr/bin/lpq /usr/bin/lpr /usr/bin/lprm /usr/bin/lpstat /usr/sbin/lpc /usr/share/man/man1/cancel.1.gz /usr/share/man/man1/lp.1.gz /usr/share/man/man1/lpq.1.gz /usr/share/man/man1/lpr.1.gz /usr/share/man/man1/lprm.1.gz /usr/share/man/man1/lpstat.1.gz /usr/share/man/man8/lpc.8.gz ------------------------------------------------------------------ You must disable that cupsd writes /etc/printcap. You must decide for the above files which you use from CUPS and which you use from LPRng. You can neither use commads from LPRng for CUPS nor can you use commads from CUPS for LPRng. I suggest to use BSD-type commands (lpr, lpq, lprm, lpc) from LPRng and System V-type commands (lp, lpstat, cancel) from CUPS, see http://portal.suse.com/sdb/en/2004/05/jsmeix_print-cups-in-a-nutshell.html If there are normal users working on this machine, they may get very confused because of the mixed-up commads for CUPS and LPRng. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
participants (2)
-
David Bear
-
Johannes Meixner