Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2011 16:59:03 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Chris Whitehouse <cwhiteh@onetel.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: printing to Kyocera FS-1030D
Message-ID:  <alpine.BSF.2.00.1108051639210.23808@wonkity.com>
In-Reply-To: <4E3C6C74.8070500@onetel.com>
References:  <4E397A48.8070600@onetel.com> <20110804212923.GA15233@slackbox.erewhon.net> <alpine.BSF.2.00.1108041846410.19846@wonkity.com> <4E3C6C74.8070500@onetel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1108051639210.23808>