IJS is probably it; that's the PCL driver for the home-office class printers.

Akshat: PCL is proprietary but not closed; you can find references to
it online. I would highly recommend never looking at PCL since it will
make your eyes bleed. Hopefully the Ghostscript drivers will work for
you.

On Fri, Aug 14, 2009 at 1:15 PM, Russ Cox<r...@swtch.com> wrote:
> If there is a Ghostscript output device for a printer,
> then you just need to edit /sys/lib/lp/devices to add
> an appropriate line giving the output device name and
> the file where the output goes.
>
> ; grep 'gs!' devices
> hpdeskjet       - - /dev/lpt1data - gs!cdj670+nohead generic nospool - - - -
> canonbjc240l    - - /dev/lpt1data - gs!bjc600+nohead generic nospool - - - -
> ;
>
> Those two are writing to /dev/lpt1data using the cdj670
> and bjc600 drivers.  However, I think you need the ijs
> driver, which is not built by default (it probably should be).
> To enable it, edit /sys/src/cmd/gs/mkfile to add ijs to the
> device list and then rebuild using the instructions in the
> mkfile.
>
> Then you'll have to compile hpijs and add a line to your
> /sys/lib/lp/devices that says gsijs!model+number instead
> of gs!dev.  See /sys/lib/lp/process/gspipeijs for the
> exact syntax and how it interacts with the hpijs program.
> Also http://pages.cs.wisc.edu/~ghost/doc/cvs/Devices.htm#IJS
>
> I don't know how/where you get the hpijs program.
> Perhaps someone else who is using it could speak up.
> It was originally ported in 2004 by Kenji Okamoto but
> I expect you'll need a newer one than that.
>
> Russ
>
>

Reply via email to