How to output PRN file

keens312 keens312 at hotmail.com
Mon Oct 27 01:35:08 PDT 2008


> keens312 wrote:
> > Hi Michael,
> >
> > Is there a way to redirect output to a file rather than backend to printer.
> >
> > I need this file (the format printer knows) to debug.
>
> Run:
>
>      cupsctl FileDevice=Yes
>      lpadmin -p queuename -v file:///tmp/queuename.prn
>
> Then every job you print will go to /tmp/queuename.prn.
>
> If you want a new file for every job, look on the links page for
> "Tea4CUPS" or similar backends that offer that kind of functionality.
>
> --
> ______________________________________________________________________
> Michael R Sweet                        Senior Printing System Engineer
>

Hi Michael,

Yes it works.

One more question, I need the raster file (*.ras) generated by cgpdftoraster RIP filter. How can I do that?

Thanks
Keene




More information about the cups mailing list