On Sat, Oct 07, 2006 at 12:13:17AM +1000, Drew Parsons wrote:
> On Fri, 2006-10-06 at 14:55 +0200, Eric Van Buggenhaut wrote:
> > On Fri, Oct 06, 2006 at 10:27:38AM +1000, Drew Parsons wrote:
> > >
> > > 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
>
> Hmm, seems like your local supplier's sold you some second-hand
> packages. Take 'em back to the store and demand some new ones.
>
> xprint is supposed to start after install. The print window should not
> take that long to open, I'm not sure what's up with it. I suspect this
> will be a transitory problem and it will open quickly in the future once
> the other problems are ironed out.
>
> > 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.
>
> OK, because of the other problems you mentioned above and below, it
> sounds like you may have printed here using the default mozilla print
> driver rather than Xprint. The Xprint printers are the ones with ":64"
> at the end. You can confirm by looking inside the file ("less
> mozilla.ps"), it will have "%%Creator: The X Print Server's PostScript
> DDX" written at the top of the file if it's Xprint's.
>
> >
> > >
> > > 2) Are the printers known by Xprint? "xplsprinters"
> > ...
> > So I'm missing xprint-utils...
>
> Oops sorry, I keep forgetting I split xplsprinters off to a separate
> package.
>
>
> > $ xplsprinters
> > xplsprinters: no printers found for printer spec "".
> > [EMAIL PROTECTED]:~]$ echo $XPSERVERLIST
> >
Seems to work now:
$ xplsprinters
printer: xp_ps_spooldir_HOME_Xprintjobs@:64
printer: xp_pdf_spooldir_HOME_Xprintjobs@:64
What are these printers btw ?
> > >
> > > 3) Does the test program work? "xphelloworld -print <your_printer>"
> >
> > [EMAIL PROTECTED]:~]$ xphelloworld -print DJ100plus
> > xphelloworld: no printers found for printer spec "DJ100plus".
> >
>
>
> Ah yes, these problems are all one and the same, I think. As I
> mentioned earlier, XPSERVERLIST gets set when you start the X session.
> So if you install xprint in the middle of an X session it won't be set
> yet, so Xprint clients will not know how to locate the Xprt server and
> therefore won't know which printers are available. This is not as
> helpful for users as we might like, but I don't immediately see any way
> of getting around it.
>
> Now that xprint installed, once you restart X, XPSERVERLIST should get
> set and you'll have the printers.
>
> Once you've started X again, let me know then how gv manages with the
> postscript file printed from a :64 printer.
Where is the file generated by the :64 located ?
--
Eric VAN BUGGENHAUT
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]