It turns out these are HP PCL control codes (Thanks Mark N)
I resolved my problem by first filtering the input through ghost-pcl to
convert it to a CUPS input friendly format and then was able to generate my
PDF file output.


On Wed, Jun 12, 2013 at 10:21 AM, Brian <a...@cityscape.co.uk> wrote:

> 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?
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/20130612142102.GG11739@desktop
>
>

Reply via email to