Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #3478
| From | ken <ken@spamcop.net> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: How to use GNU GhostScript for PS to PCL6 conversion with CUPS Printing System in LINUX |
| Date | 2019-11-30 08:52 +0000 |
| Message-ID | <MPG.384b6486a6731eb09898ab@usenet.plus.net> (permalink) |
| References | <795eed89-05e2-4ac2-8c47-9848d7de6b1c@googlegroups.com> |
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
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar
How to use GNU GhostScript for PS to PCL6 conversion with CUPS Printing System in LINUX pvrbre@gmail.com - 2019-11-29 02:42 -0800
Re: How to use GNU GhostScript for PS to PCL6 conversion with CUPS Printing System in LINUX ken <ken@spamcop.net> - 2019-11-30 08:52 +0000
Re: How to use GNU GhostScript for PS to PCL6 conversion with CUPS Printing System in LINUX pvrbre@gmail.com - 2019-12-03 03:21 -0800
csiph-web