printer preload

Michael Sweet mike at easysw.com
Mon Jun 16 04:41:34 PDT 2008


Dieter Thalmayr wrote:
> Hi,
> 
> my brother hl1670-n postscript printer scrambles every print job after the first one. After I reset it, it prints fine again.
> on one of the ancient suse sdb pages i found that with the old lpd printer you were able to send a printer preload command like
> snip ---
> %!PS
> serverdict begin 0 exitserver
> snap ---
> before the actual job
> How can this be done with CUPS?
> I'd like to preload a printer reset for every print job
> Isn't that a matter of the Software, anyway?

You can add a JobPatchFile keyword to your PPD file like this:

     *JobPatchFile 1: "%!
     serverdict begin 0 exitserver"
     *End

Then every job will begin with that sequence...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com




More information about the cups mailing list