On Fri, Oct 06, 2006 at 10:27:38AM +1000, Drew Parsons wrote: > On Thu, 2006-10-05 at 10:55 +0200, Eric Van Buggenhaut wrote: > > > > > > Yeah, xprint is the main package. Perhaps you removed it at some point > > > by accident? > > > Reinstall it and let me know how it goes! > > > > I reinstalled it, but mozilla still hangs. Nothing I could do > > afterwards, except kill it. > > Hmm, that's odd. I presume you mean you tried to print to one of the :64 > Xprint printers. You'll want to do a battery of checks: > > 1) Is Xprt running? "ps aux | grep Xprt" > (if not, "/etc/init.d/xprint start" might help)
Mmm I only did an 'apt-get install xprint' but apparently the server didn't start after install. Is this the expected behaviour ? After starting /etc/init.d/xprint start, I open mozilla and go to File->Print... The Print window takes ~5 _real_ minutes to open I try to print the current page to /home/eric/mozilla.ps Now the page is printed to mozilla.ps. I can open mozilla.ps with gv and the page is correctly viewed. > > 2) Are the printers known by Xprint? "xplsprinters" We have a problem here: atto:/home/eric[0]# which xplsprinters atto:/home/eric[0]# So I'm missing xprint-utils... $ xplsprinters xplsprinters: no printers found for printer spec "". Am I supposed to do something special to have my cups printers listed there ? Note that they all show up fine in the mozilla Print dialog box. > 2b) If not, is the environment variable XPSERVERLIST set? "echo > $XPSERVERLIST" > (If not, restarting X might help, as the variable is set for an X > session when the session starts up) [EMAIL PROTECTED]:~]$ echo $XPSERVERLIST > > 3) Does the test program work? "xphelloworld -print <your_printer>" [EMAIL PROTECTED]:~]$ xphelloworld -print DJ100plus xphelloworld: no printers found for printer spec "DJ100plus". Mmmm why do printers show up in mozilla but not in xprint list ? > > 4) Does firefox also fail? I can try later whenever I can install it > > 5) Switch Xprint off ("/etc/init.d/xprint stop") and run by hand from > the command line using the same working command you got in Q1, something > like > > /usr/bin/Xprt -ac -pn -nolisten tcp -audit 4 > -fp > /usr/share/fonts/X11/Type1,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/100dpi/,/usr/share/fonts/X11/75dpi,/usr/share/fonts/X11/75dpi/,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/misc > :64 > > Then when you print from mozilla, do any error messages appear at the > command window? Mozilla prints fine but xprint sees no printers... > > > Good luck! > > Drew -- Eric VAN BUGGENHAUT [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]