Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Aug 2011 14:28:53 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Chris Whitehouse <cwhiteh@onetel.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: printing to Kyocera FS-1030D
Message-ID:  <alpine.BSF.2.00.1108031421040.14166@wonkity.com>
In-Reply-To: <4E397A48.8070600@onetel.com>
References:  <4E397A48.8070600@onetel.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, 3 Aug 2011, Chris Whitehouse wrote:

> # cat <ps-file> |lpr -Plp
>
> I get the whole text of the file not just "Is this thing working?".
>
> The printer has various emulations, it is set to PCL 6 and I can't change it 
> (not my printer)

HP printers can use PJL sequences to set the page description language, 
or autodetect it via the first few characters.  But if someone in charge 
decided to stick you with PCL6 that should also include PCL5.

> Printing from OpenOffice just produces screeds of garbage, starting with %!PS 
> so I presume the text of the postscript that OO has produced.
>
> The bit I'm stuck on is in section 9.4.1.3 Simulating PostScript on Non 
> PostScript Printers (which I presume is what I need), specifically setting 
> the device. gs -h doesn't show this printer or any Kyocera printer. So either 
> what should I set Device to, or how do I get ghostscript to know about this 
> printer?

The ljet4 driver in Ghostscript produces PCL5.  I think there's also a 
PCL6 driver, but have never bothered.

My printing document here shows how to create a PS to PCL5 filter:
http://www.wonkity.com/~wblock/docs/html/lpdprinting.html



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1108031421040.14166>