[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Paper Tray =



>
> >Does anyone know how to send an Init string to a printer... speaks
> >PCL just like an HP LaserJet.
> So your question boils down to... How do I send an <ESC>&l1H or <ESC>&l2H
> to the printer at the right time, correct?
>
> I KNOW this string can be generated from postscript itelf! Boy, did you catch
> me at the wrong time; I just loaned a pair of PS books out!
>
> Put the question out on usenet, or place one of the above strings on file,
then
> run ghostscriptfor your printer to a file, then cat the two files together
and
> send that to the printer.
>
> Reactions?

Nope,  already tried that.  The Ghostscript file contains a string that resets
the printer,  so I would have to insert the command after that string on every
print job (assuming I could find the string).  Raw PCL is pretty ugly to read.

But maybe if I used dd to open a hole in the file . . . I may be on to
something here.