![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Print queue not getting flushed | akashgulati | HP-UX | 2 | 06-01-2008 08:55 PM |
| Print to a ps2pdf print queue. | Sean_69 | UNIX for Dummies Questions & Answers | 1 | 10-22-2007 11:58 AM |
| AIX 5 print queue | chefsride | AIX | 0 | 08-04-2006 11:01 AM |
| FTP a print job that's still in queue? | HVHS_CJR | UNIX for Dummies Questions & Answers | 2 | 05-02-2006 10:12 AM |
| Problem with print queue | carell | UNIX for Dummies Questions & Answers | 1 | 08-31-2005 12:00 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and convert them to pdf format using ps2pdf, but I would like this to be automatic. How do I set up a pseudo printer to output the files in pdf format in a specified directory?
Thanks, Cheers, Sean. |
|
||||
|
A solution...
To answer my question...
I found a way by using a filter script. You can set up a filter script with "lpfilter" and then make a print queue, with "lpadmin", that uses the filter. In the filter script it is possible to copy, move, convert, ftp, etc... the files that arrive in the print spool. I am sure I could also have done it with an interface script... If anyone has any better ideas they are welcome to add them. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|