printer preload

Dieter Thalmayr dieter.thalmayr at magnum-opus.de
Mon Jun 16 06:53:00 PDT 2008


> > 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...

Great! Thanks!

Does this sequence have to be on a certain place in the ppd, or can it stand just somewhere?






More information about the cups mailing list