In article <
795eed89-05e2-4ac2-8c47-9848d7de6b1c@googlegroups.com>,
pvrbre@gmail.com says...
My main requirement is as follows:
How to give the user printed data (from printer) to cups (convert text/raster to postscript) and give as input to GhostScript (for ps to pcl6 conversion) then give the data to printer.
i.e,
text/raster data from printer --> PostScript --> PCL6 (converted PS to pcl6 using GhostScript) --> Printer.
As I understand it, CUPS should do all of that for you. You really just
need to configure CUPS properly for your printer.
From the Ghostscript point of view you would do something like:
gs -sDEVICE=pxlmono -o /path/out.pxl /path/input.ps
or:
gs -sDEVICE=pxlcolor -o /path/out.pxl /path/input.ps
Note that it need not be PostScirpt, Ghostscript will equally well read
PDF, and the family can read PCL/PXL/XPS as well.
You would need to select the correct Ghostscript device, and that would
depend on whether your printer supports color or not, and whether it
supports PCL6 (PXL) or an earlier version of PCL such as PCL5. There are
a number of devices built into Ghostscript, this:
gs --help
will list them.
I can't tell you how to configure CUPS, that's a different problem
altogether.
Ken
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)