Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Aug 2011 23:19:32 +0100
From:      Chris Whitehouse <cwhiteh@onetel.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: printing to Kyocera FS-1030D
Message-ID:  <4E3C6C74.8070500@onetel.com>
In-Reply-To: <alpine.BSF.2.00.1108041846410.19846@wonkity.com>
References:  <4E397A48.8070600@onetel.com>	<20110804212923.GA15233@slackbox.erewhon.net> <alpine.BSF.2.00.1108041846410.19846@wonkity.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 05/08/2011 01:58, Warren Block wrote:
> On Thu, 4 Aug 2011, Roland Smith wrote:
>
>> There are several possible drivers you could use; pcl3 pxlmono pxlcolor.
>> The gutenprint (a.k.a. gimp-print) driver also supports your printer
>> directly.
>
> ljet4 is the PCL5 driver, and anything with PCL6 is supposed to also
> support PCL5. I'd suggest trying both ljet4 and pxlmono or pxlcolor and
> going with whichever is faster.
>
>> However, I'd recommend that you take the time and install and configure
>> CUPS.
>
> If CUPS is desired, sure. For just plain printing, lpr/lpd is often
> easier to set up.
>
> http://www.wonkity.com/~wblock/docs/html/lpdprinting.html
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>
Thanks everyone for your suggestions and sorry not to reply before, I 
have limited access to this printer. Replying here to everyone who 
responded with ideas...

I tried pxlmono, ljet4 and pcl3 with this /etc/printcap

lp|local line printer|Kyocera:\
         :sh:\
         :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:\
         :if=/usr/local/libexec/if-simpleps:

this filter

#!/bin/sh
#printf "\033&k2G" || exit 2
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=pxlmono\
     -sOutputFile=- - && exit 0
exit 2

and this command

# lpr postscripttest.txt

postscripttest.txt contains
%!PS
%100 100 moveto 300 300 lineto stroke
%310 310 moveto /Helvetica findfont 12 scalefont setfont
%( Is this thing working? ) show
%showpage

With all three drivers I got nothing out of the printer and nothing in 
lpd-errs.

I installed some Kyocera software on a Windows computer and tried to 
change the emulation with it. I succeeded in setting it to have no 
default emulation but not to be set it to KPDL (the Kyocera version of 
PostScript).

I rang Kyocera UK help line and they were very approachable (refreshing 
these days). They suggested I email and ask how to set the default 
emulation which I have done.

It seems the printer normally receives some code as part of the print 
job which sets it to PS or whatever just for this job. If I could find 
out this code maybe I could write it into a filter.

The printer is normally plugged into a Mac and I've found a utility 
which is supposed to change the default emulation. I hope to ask the 
printer owner to try it.

I'm going to leave this now (I'm away for a few days) till I hear back 
from Kyocera and/or manage to get the default emulation set to KPDL.

I did also try ijs and hpijs and that might still be worth pursuing but 
I will reply separately to Polytropons post.

Chris



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4E3C6C74.8070500>