Convert PDF to PCL5 on Windows?
In my application, I need to convert PDF documents to generic PCL5 files for sending to PCL compatible FTP printers. Printing to file would be the last resort, I would prefer a small command line tool or API that will do the job.
I've seen some mentions of this on Linux using Ghostscript, but I don't know how to do it on Windows.
Many thanks
a source to share
Ghostscript is also available for windows. You can test it by opening a command window and using the gswin32c command. You can create a wrapper script that will send the "gswin32c" command with all the required parameters.
This can help you find the correct sequence of flags and flags.
a source to share
Here is an example command that will generate color PCL / XL one of three PDF files in one go:
gswin32c.exe ^
-dBATCH ^
-dNOPAUSE ^
-dSAFER ^
-sDEVICE=pxlcolor ^
-sOutputFile=c:/path/to/my.pcl ^
first.pdf ^
2nd.pdf ^
no3.pdf
(use -sDEVICE=pxlmono
if you only want black + white PCL output). If you know your target printer ahead of time, you probably want to use a different parameter -sDEVICE=...
.
a source to share
You seem to be looking for a generic printer driver: maybe it could be hpijs-pcl5e and also you can try HPLIP
The HP universal could be a different starting point.
OpenPrinting in general has a lot of stuff you can dig up. Sorry, but my knowledge of this subject comes from here. :)
a source to share