This is a discussion on CUPS and OpenOffice within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello, I have a problem with printouts from OpenOffice using CUPS. In the localhost:631 I can see a proper ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I have a problem with printouts from OpenOffice using CUPS. In the localhost:631 I can see a proper configured (I think) printer, spool. I can printout a test page. I can also printout from some standard KDE apps like KEditor. In the OO printer administrator tool I added my printer by importing ppd file and set it as default. As a command line I input lpr -P printername. Unfortunately the OO tasks are not stored in the spool. I also cannot printout a test page from OO. Nothing happens. The printer is silent. What is interesting the responds from th command line (please see below). My printer is hp deskjet 3550 (usb), distribution Slackware 9.1 (BACH is my host name, standard cups from distribution, hpijs driver 1.5 downloaded from hp website, OO 1.1.0). I appreciate any comments! Greg root@BACH:~# lpr -P hp testowywydruk Status Information, attempt 1 of 3: sending job 'root@BACH+723' to hp@localhost connecting to 'localhost', attempt 1 connected to 'localhost' requesting printer hp@localhost job 'root@BACH+723' transfer to hp@localhost failed error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL' sending str '^Bhp' to hp@localhost error msg: 'spool queue for 'hp' does not exist on server BACH.MUSIC' error msg: ' non-existent printer or you need to run 'checkpc -f'' Waiting 10 seconds before retry root@BACH:~# lpstat -p -d system default destination: hp printer hp@BACH unknown state. enabled since gru 18 23:41 2003. available Printer: hp@BACH - ERROR: spool queue for 'hp' does not exist on server BACH.MUSIC non-existent printer or you need to run 'checkpc -f' root@BACH:~# checkpc -f Warning - hp: Bad printcap entry - missing 'sd' or 'client' entry? |
| |||
| On Fri, 19 Dec 2003 14:18:40 +0100, gsks wrote: > Hello, > I have a problem with printouts from OpenOffice using CUPS. > In the localhost:631 I can see a proper configured (I think) printer, spool. > I can printout a test page. I can also printout from some standard KDE apps > like KEditor. <snip> I had a similar problem recently, it turns out that my lpr and lprm symlinks were not pointing to lpr-cups and lprm-cups but to lpr-lprng and lprm-lprng, changing that and I can now print using CUPS! Stuart |
| |||
| gsks wrote: > Hello, > I have a problem with printouts from OpenOffice using CUPS. > In the localhost:631 I can see a proper configured (I think) printer, spool. > I can printout a test page. I can also printout from some standard KDE apps > like KEditor. When you installed the system, you probably installed everything? That means that CUPS installed, then LPRng installed after it and links were made in /usr/bin to the LPRng versions of the programs. Here's a small shell program that will straighten that out for you: #!/bin/ksh cd /usr/bin rm lp lp-lprng lpq lpr lprm lpstat ln -s lpstat-cups lpstat ln -s lprm-cups lprm ln -s lpr-cups lpr ln -s lpq-cups lpq ln -s lp-cups lp and, in case you want to go back to LPRng: #!/bin/ksh rm lp lp-lprng lpq lpr lprm lpstat ln -s lpstat-lprng lpstat ln -s lprm-lprng lprm ln -s lpr-lprng lpr ln -s lpq-lprng lpq ln -s lpr lp-lprng ln -s lp-lprng lp |
| |||
| Uzytkownik "Thomas Ronayne" <tronaREMOVETHIS@ameritech.net> napisal w wiadomosci news:qdFEb.17359$P%1.16106792@newssvr28.news.prodi gy.com... > When you installed the system, you probably installed everything? That > means that CUPS installed, then LPRng installed after it and links were > made in /usr/bin to the LPRng versions of the programs. That's it! Works, thank you, Greg |
| ||||
| On Fri, 19 Dec 2003 14:18:40 +0100, gsks wrote: > Hello, > I have a problem with printouts from OpenOffice using CUPS. > In the localhost:631 I can see a proper configured (I think) printer, spool. > I can printout a test page. I can also printout from some standard KDE apps > like KEditor. > In the OO printer administrator tool I added my printer by importing ppd > file and set it as default. As a command line I input lpr -P printername. > Unfortunately the OO tasks are not stored in the spool. I also cannot > printout a test page from OO. > Nothing happens. The printer is silent. > What is interesting the responds from th command line (please see below). My > printer is hp deskjet 3550 (usb), > distribution Slackware 9.1 (BACH is my host name, standard cups from > distribution, hpijs driver 1.5 downloaded from hp website, OO 1.1.0). > I appreciate any comments! > Greg > I just tell OOo to print to kprinter --stdin and it works as well... |