Where are the spooled printer files?

Jeremy C. Reed reed at reedmedia.net
Thu Oct 27 21:00:59 MST 2005


On Thu, 27 Oct 2005, Josef Lowder wrote:

> Someone suggested using 'lpq' to verify that the pipeline is clear,
> and when I do that, I get the response: "Printer is ready" and
> "no entries".  So, both 'lpstat' and 'lpq' are telling me that there is
> nothing in the pipeline, but they aren't telling the truth.

Make sure that lpq and lpstat is for your correct printer service.

> ps -ef shows the processes listed below that seem to pertain to the
> printer.  Can I safely kill these processes to flush the pipeline?
> Or are there some other places (directories or folders) I can look
> in my file system to find where this unwanted print residue is hiding?
>
> root     30516   959  0 09:08 ?        00:00:00 parallel:/dev/lp0 2814 joe
> STDIN 1 Contrast=1.000 Cyan=1.000 Density=1.000 GSResolution=600x600DPI
> Magenta=1.000 OutputType=BlackAndWhite Quality=600dpi StpBrightness=1.000
> StpGamma=1.000 StpSaturation=1.000 Yellow=1.000
> lp       30519     1  0 09:08 ?        00:00:00 sh -c gs '-dSAFER'
> '-dNOPAUSE' '-dBATCH' '-sDEVICE=stp' '-sModel=pcl-4' '-sOutputFile=|cat >&3'
> '-' 3>&1 1>&2
> lp       30520 30519  0 09:08 ?        00:00:00 /usr/bin/perl
> /usr/lib/cups/filter/cupsomatic 2814 joe STDIN 1 Contrast=1.000 Cyan=1.000
> Density=1.000 GSResolution=600x600DPI Magenta=1.000 OutputType=BlackAndWhite
> Quality=600dpi StpBrightness=1.000 StpGamma=1.000 StpSaturation=1.000
> Yellow=1.000

Since it appears you are running cups, your spool might be under 
/var/spool/cups/. Look at "RequestRoot" in your cupsd.conf file.

You should be able to kill the processes and restart cupsd.

  Jeremy C. Reed

  	  	 	 Media Relations and Publishing Services
 	  	 	 http://www.reedmedia.net/


More information about the PLUG-discuss mailing list