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@PJL ENTER LANGUAGE = POSTSCRIPT\n"

# send the PostScript file
/bin/cat

# end of job
/usr/bin/printf "\033%%-12345X"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to