View Single Post

   
  #2 (permalink)  
Old 01-05-2008, 11:52 AM
 
Posts: n/a
Default Re: define print queue that points to a directory

<gdoogle@yahoo.com> wrote in message
news:1187671353.505329.298080@19g2000hsx.googlegro ups.com...
> How do you define a prt queue that will print the files to a directory
> such as /tmp/printfiles?


If you just want to append all print jobs to a single file, you can just
create a queue that prints to a file (/tmp/printfiles/whatever) instead of
/dev/lp##

If you want to store each job in its own file, you'll need a print queue
backend program or filter which could be as simple as a script to copy the
output of the queue to a file.

It also depends on if you want to ONLY store the job, or do you want to
print to a printer and store a copy? If you want to both store and print a
copy, it is often easier to do with a virtual printer filter instead of a
queue backend script.

We've got a virtual printer filter that can store copies of print jobs into
a directory structure of your chosing
(/tmp/printfiles/queueName/year/month/username_job# for example). It will
also optionally compress the archived copies if you're printing and storing
large documents. You can download Archive from http://www.laixsoft.com

Regards,
Paul


Reply With Quote