[cups.general] Re: How to send EOT (\004) and the end of PS job

Till Kamppeter till.kamppeter at gmx.net
Fri May 13 03:57:10 PDT 2005


The PPDs you are using are generic PostScript PPDs. They only offer very 
basic settings and are only intended for the case that you do not have 
the printer-specific PPD from the manufacturer at hand.

Every manufacturer makes PPD files specific to the printer model for 
each of their PostScript printers. These files make available all 
user-settable options (and not only paper size, resolution, and paper 
tray) and also even apply workarounds to small incompatibilities of the 
printer's PostScript. So look for the PPD file on the printer's driver 
CD, on a Windows box with a queue for this printer set up, or on the 
manufacturer's web site. Lexmark gives good Linux support for laser 
printers, so you probably will find a PPD file on their site (or a 
driver package containing the PPD).

Are you using Fedora or Red Hat? These distros do not deliver you any 
manufacturer-supplied PPD (in contrary to Mandriva and SuSE), the 
printconf-gui also does not support ready-built PPDs, but only the 
Foomatic XML database. So you need to put the Lexmark PPD into 
/usr/share/cups/model, "killall -HUP cupsd", and then use the KDE 
Printing Manager or the CUPS web interface to set up a print queue.

On linuxprinting.org I will do a better integration of 
manufacturer-supplied PPD files soon, so that they get more easily 
packageable for distros, more easily maintainable, automatically being 
used by the Foomatic tools, and if only a PPD file is submitted to 
linuxprinting.org, a printer entry in the database will be generated 
automatically.

    Till


Michal Szymanski wrote:
>>Anonymous wrote:
>>
>>>...
>>>*cupsFilter:    "application/vnd.cups-postscript 0 foomatic-rip"
>>>..
>>>*FoomaticRIPCommandLine: "cat %A%Z"
>>
>>OK, REMOVE THIS JUNK!
>>
>>Just use the standard PPD file.  Foomatic causes far more problems
>>than it solves...
> 
> 
> What do you mean by 'standard PPD'? I am also exprimenting with my printer (Lexmark T430) configured as T616 (closest entry in the configuration tool). The PPD file generated for T616 says:
> 
> *cupsFilter:    "application/vnd.cups-postscript 0 foomatic-rip"
> ..
> *FoomaticRIPCommandLine: "level=%D; printf "%%!\n%%%% %%%%\n%C&qu&&
> ot;; if (( $level > 0 )); then if (( $level < 99 )); then level=&&
> " -dLanguageLevel=$level"; else level=""; fi; gs -&&
> q -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pswrite$level%A%Z -sOutpu&&
> tFile=- -; else cat; fi"
> 
> I am not sure how to decipher all those if-s but from what I see in the output (when the device is set to a file instead of the printer), for PS jobs it just cat-s them. So the original problem with the job end persists unless I manually add
> /bin/echo -en "\004";
> just before the last 'fi' in the above command line.
> 
> Michal
> 
> 
>>--
>>______________________________________________________________________
>>Michael Sweet, Easy Software Products           mike at easysw dot com
>>Internet Printing and Document Software          http://www.easysw.com
> 
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
> 
> 





More information about the cups mailing list