printing to Kyocera FS-1030D

Warren Block wblock at wonkity.com
Fri Aug 5 22:59:05 UTC 2011


On Fri, 5 Aug 2011, Chris Whitehouse wrote:

> 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 HP equivalent is PJL.  Some searching suggests the FS-1030D supports 
PJL.  HP printers also have an automatic mode, which looks at the first 
few characters of the print job and usually selects the right PDL.  That 
might be an option with the Kyocera also.

Here's a lightly-tested filter:

#!/bin/sh
# filter to wrap PJL commands around a PostScript file
# WB 20110805

# send PJL header to switch to PostScript
/usr/bin/printf "\033%%-12345X at PJL ENTER LANGUAGE = POSTSCRIPT\n"

# send the PostScript file
/bin/cat

# end of job
/usr/bin/printf "\033%%-12345X"


More information about the freebsd-questions mailing list