Johannes Meixner wrote:
Hello,
On Oct 28 18:26 Zvone Zagar wrote:
I use SuSE 9.1 on two machines. Today I have found an interesting issue. I cannot print from Mozilla (regardless of version), FireFox or Opera (including version 7.54 from opera.com) if I use LPRng. Using CUPS there is no problem. But Netscape 7.1 and Konqueror don't complain. In /var/log/messages is an entry: Dispatch_input: bad request line 'POST /HTTP/1.1'. If I start printing the named browsers stop. In Mozilla I tried the 'old' print command lpr -Pprinter. The result is the same. As soon as I activate the print command, Mozilla stops responding. When I run 'rcldp restart' the browser responds again. I must say that under SuSE 9.0 everything is OK. Printing from CLI , OpenOffice.org and other applications presents no problem. I would appreciate any clue.
I am afraid I don't have any clue what is going on on your system.
It seems somehow as if your Mozilla FireFox or Opera are linked with CUPS libraries or something like this but as far as I know neither Mozilla nor FireFox nor Opera are not linked with CUPS. Because you wrote "from opera.com": Do you use self-compiled versions of this browsers? Does it happen with the SUSE packages of this browsers too?
How did you switch from CUPS to LPRng and vice versa? Do you know that cups-client and lprng conflict - see http://portal.suse.com/sdb/en/2002/09/jsmeix_print-einrichten-81.html
What happens when you print from Mozilla FireFox or Opera into a file and then print this file by using "lpr" or "lp"?
Did you re-start all the stuff (printing system and browsers) after you switched from CUPS to LPRng and vice versa? To be safe do a complete reboot at least for a test.
Regards Johannes Meixner
Hi!, Thanks for your answer. I am going to answer your questions. I do not use self-compiled browsers. I have installed Opera in two ways. First I have downloaded rpm file for SuSE. In the second attempt I have fetched 'tar.gz' and it has been installed using 'install.sh' script. The outcome is the same. I also must say that the 'box' version of Opera (7.23) does not print. The Firefox was installed in similar way (1.0PR-i686-linux-gtk2-xft.installer.tar.gz file). I switched between printing systems in the following way: Yast2 -> Hardware -> Printer -> Change -> Advanced -> LPRng. Then I gave 'init 3' and 'init 5' command. As far as CUPS is concerned only cups-drivers and cups-libs are installed. I cannot print to file. As soon as I choose 'File -> Print' command, the browser stops. If I do 'rclpd restart', the browser revives. Yes, I can print files from CLI using lpr. As I have said, the other packages behave normal. The out of the box Mozilla also does not print. I have upgraded Mozilla to 1.7.2 using SuSE rpms. (ftp.gwdg.de) I have even tried from different window managers (WindowMaker, Fvwm, KDE). I did not reboot. But I have noticed very strange behavior using 'rclpd restart' after failed printing attempt. The output: Fatal errot - cannot bind to lpd port '631' (CUPS has left some tracks behind). If retry 'rclpd stop' & 'rclpd start' the LPD daemon starts running Here the out put of 'ps aux | tail -10 '
root 25362 0.1 0.5 5100 2816 ? S 17:20 0:00 xclock -name FvwmXclock -geometry +0+0 -padding 1 -bg grey67 root 25367 0.2 0.5 5056 2816 ? S 17:20 0:00 /usr/X11R6/lib/X11/fvwm2/FvwmPager 13 4 none 0 8 0 0 root 25368 0.0 0.2 2520 1172 pts/0 S+ 17:20 0:00 /bin/sh /usr/local/firefox-installer/firefox root 25380 0.0 0.2 2520 1188 pts/0 S+ 17:20 0:00 /bin/sh /usr/local/firefox-installer/run-mozilla.sh /usr/local/firefox-installer/firefox-bin root 25385 13.3 4.7 44692 22780 pts/0 S+ 17:20 0:09 /usr/local/firefox-installer/firefox-bin root 25388 0.0 0.7 5536 3544 pts/0 S+ 17:20 0:00 /opt/gnome/lib/GConf/2/gconfd-2 9 lp 517 30.0 0.2 2692 1320 ? Rs 17:21 0:06 lpd Waiting lp 6310 0.0 0.2 2692 1344 ? Rs 17:21 0:00 lpd SERVER root 6311 0.0 0.1 2164 692 tty1 R+ 17:21 0:00 ps aux root 6312 0.0 0.3 2656 1620 tty1 R+ 17:21 0:00 -bash
I even tried as a root. I know it does no matter, but nevertheless. On Tuesday (at the office) I am going to install the clean 9.1 on another PC. Thanks again Zvone Zagar