Trying to debug a printerdriver..

Michael Sweet mike at easysw.com
Tue Oct 18 10:45:01 PDT 2005


Johan Henselmans wrote:
> ...
> Now my theory would be that I would call:
> /usr/lib64/cups/filter/texttops job-id johan title 1 options 
> rastertoboca.c | /usr/lib64/cups/filter/pstoraster | ./rastertoboca | less
> 
> and would see the debug output. Alas, I only see DEBUG2 output from the 
> previous steps. What am I doing wrong? Did I miss something?

You'll want to send stdout to a file and pipe stderr into less (or
just redirect stderr to a file and less/more it afterwards)

Also, make sure you set the PPD environment variable to the PPD file
for your driver so the filters know what kind of raster data to
produce.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list