Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Aug 2011 12:59:03 -0500 (CDT)
From:      Robert Bonomi <bonomi@mail.r-bonomi.com>
To:        cwhiteh@onetel.com, freebsd-questions@freebsd.org
Subject:   Re: printing to Kyocera FS-1030D
Message-ID:  <201108031759.p73Hx3pJ045564@mail.r-bonomi.com>
In-Reply-To: <4E397A48.8070600@onetel.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> From owner-freebsd-questions@freebsd.org  Wed Aug  3 11:42:44 2011
> Date: Wed, 03 Aug 2011 17:41:44 +0100
> From: Chris Whitehouse <cwhiteh@onetel.com>
> To: User Questions <freebsd-questions@freebsd.org>
> Subject: printing to Kyocera FS-1030D
>
> Hi,
>
> before I use up too many trees experimenting, could some kind soul tell 
> me how I can get OpenOffice to print to this printer. This is the first 
> time I have tried to get anything printed from FreeBSD.
>
> I'm following the handbook. I think the basic setup is ok, I can get 
> text printed using eg
> # lptest 20 5 | lpr -Plp
>
> If I try to print the postscript program given in the handbook
> %!PS
> 100 100 moveto 300 300 lineto stroke
> 310 310 moveto /Helvetica findfont 12 scalefont setfont
> (Is this thing working?) show
> showpage
>
> # cat <ps-file> |lpr -Plp
>
> I get the whole text of the file not just "Is this thing working?".

Conclusive evidence the printer is _not_ enabled for Postscript.
>
> The printer has various emulations, it is set to PCL 6 and I can't 
> change it (not my printer)

_That_ does explain the observed behavior, perfectly.  :)

> Printing from OpenOffice just produces screeds of garbage, starting with 
> %!PS so I presume the text of the postscript that OO has produced.

Precisely correct.

> 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),

Correct.

>                                                       specifically 
> setting the device. gs -h doesn't show this printer or any Kyocera 
> printer.

Unsurprising.  since it _does_ "understand" PS, _if_ you can set it that 
way. :)

You -don't- need a driver that is specific to that printer, just one 
that will output the PCL language thae the printer understands.

>          So either what should I set Device to, or how do I get 
> ghostscript to know about this printer?

I don't think there is a 'generic' "PCL" driver, but one of the 'HP 
laserjet' drivers _should_ do the job.  Pick one thqt corresponds to
a 'more-or-less recent' model.  I can't give specific advice, as I
don't have ghostscript installed on my FreeBSD server. (it's remote 
and I never actually print from it.)





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?201108031759.p73Hx3pJ045564>