lpq show the printer is NOT ready,how to fix this problem?

Daniel Li lida-mail at 163.com
Wed Feb 11 17:03:06 PST 2009


> > Daniel Li wrote:
> > >> Daniel Li wrote:
> > >>> ...
> > >>> Kernel 2.6.12, It's arm platform, which is compiled by cross compiler.
> > >>> BTW, configuration is just copied right from x86 (/etc/cups),which works.
> > >> Hmm, what does "lpstat -p" report?  I'm guessing you are missing a
> > >> filter needed by the PPD file for that queue, and cupsd is stopping
> > >> it...
> > >>
> > >> --
> > >> ______________________________________________________________________
> > >> Michael R Sweet                        Senior Printing System Engineer
> > >>
> > >
> > > Yes, I guess u have the answer, see below.
> > >
> > > $ lpstat -p
> > > printer printer disabled since Sat Jan  1 20:25:54 2000 -
> > >         Filter "pstopxl" for printer "printer" not available: No such file or directory
> > >
> > >
> > > Well, how can i fix this problem. Thanks in advance.
> >
> > Install Ghostscript.
> >
> > --
> > ______________________________________________________________________
> > Michael R Sweet                        Senior Printing System Engineer
> >
>
> Dear Michael,
> I have downloaded ghostscript-8.64, and done the cross-compile, seems doesn't work.
>
> My steps:
> a) $ ./configure --disable-gtk --disable-fontconfig --with-x=no --disable-cups --prefix=/home/daniel/ghostscript-8.64/test/
>
> b) $ make install
> install all necessary to test folder, and there are only two folder, named share and bin.
>
> c)Finally, I copy all those two foler to my demo board /usr
>
>
> Reboot the system and run cupsd. But lpq shows the same problem.
>
> Is there anything else that I have to config? Thanks in advance.
>

Well, I have check the Makefile of ghostscript, and see


> # Define install location for 'cups' device/filter support
> CUPSCFLAGS=
> CUPSLIBS= cupsimage tiff jpeg png m z cups ssl crypto nsl
> CUPSLIBDIRS=
> CUPSSERVERBIN=/usr/lib/cups
> CUPSSERVERROOT=/usr/etc/cups
> CUPSDATA=/usr/share/cups

a) But I didn't get why CUPSSERVERBIN=/usr/lib/cups???
b) So how about CUPSLIBDIRS=???
c) What does this item "CUPSCFLAGS=" mean?
d) Can I use ./configure to do all these stuff,including arm-linux-? As
I didn't get these from ./configure --help?

Any idea? Thanks.






More information about the cups mailing list