[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LPR job via cups-lpd + CUPS + cups-pdf



On Tue 11 Jun 2013 at 12:01:19 -0400, Patrick Zaloum wrote:

> If I remove the control characters from my local copy of the print job and
> resubmit it, the PDF gets produced. Otherwise the process ends with an
> unrecoverable ghostscript error -1 and a blank PDF. Using a basic text-only
> printer driver and sending a job myself through the cups-lpr service, I get
> the desired output.
> 
> For what it's worth, the control characters in this particular case are:
> ^[E^[&l0S^[&l5H^[&l1O^[(8U^[(s0P^[(s15H^[(s8.5V^[(s0S^[(s0B^[(s0T^[&l5.2727C^[&k8H^[&l7E^[&a14L^[&l1L^[&s0C^[&a0R

Would filtering the incoming jobs and removing non-printable characters
with something like tr or sed not be a possibility? 


Reply to: