1820694 Members
2612 Online
109627 Solutions
New Discussion юеВ

printing to PCL file

 
Walther Barraja
New Member

printing to PCL file

Hi all,
I'm looking how to print from hp-ux 11 into a PCL file instead of phisically on a printer.
I need this PCL to convert it into a PDF one and finally archive it.
Any idea?
Thanks
Walther
2 REPLIES 2
Bill Hassell
Honored Contributor

Re: printing to PCL file

You could write a printer script that figures out where to write the output file. This would be useful if you have many files to convert. Otherwise, just create a dummy printer (or use an current one) and disable the printer. You can still send jobs to the printer but they will all be queued in /var/spool/lp/request/

There will be 2 files for each job, a control file (short ASCII file with option values), and a data file containing the PCL data. Just copy the data file to another directory and perform the PDF conversion there. Once completed, use cancel to remove the job.


Bill Hassell, sysadmin
Bruno Dostie
Advisor

Re: printing to PCL file

Why PCL?

uses postscript instead...
down pstill converter (www.pstill.com down the page, you have the HP-UX soft)

use a script to convert files from sourcedir to targetdir.

run the script in crontab.
that's all

Good luck.
Bruno
DOSB