Ilya Pravdivtsev
2011-11-05 01:30:29 UTC
Hi,
I have a proprietary application designed to print to PCL supporting
printers. But I need the jobs comes out as PDFs.
The application uses cp866 encoding.
I compiled GhostPCL and wrote a cups input filter:
#! /bin/sh
[ -n "$6" ] && exec <"$6"
/usr/local/bin/pcl6 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=- -
By running
/usr/local/libexec/cups/filter/pcl2pdf < test.pcl > test.pdf
I veriefied the filter worked but the text encoding is wrong.
Does GhostPDL support cyrillic symbols?
How could I make pdf file from a pcl stream in cp866 encoding?
Thanks in advance
I have a proprietary application designed to print to PCL supporting
printers. But I need the jobs comes out as PDFs.
The application uses cp866 encoding.
I compiled GhostPCL and wrote a cups input filter:
#! /bin/sh
[ -n "$6" ] && exec <"$6"
/usr/local/bin/pcl6 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=- -
By running
/usr/local/libexec/cups/filter/pcl2pdf < test.pcl > test.pdf
I veriefied the filter worked but the text encoding is wrong.
Does GhostPDL support cyrillic symbols?
How could I make pdf file from a pcl stream in cp866 encoding?
Thanks in advance