On Friday 13 Jun 2003 2:16 pm, Luis Gustavo Dantas wrote:
> Hello!!!
>
> IŽd like to know how can i insert PCL commands in text printers.
>
> I have a printer with a five bin mailbox installed (a kind of output tray)
> and i need to insert commands to use it!!!

I used to have a Toshiba network printer/photocopier with output sorting, 
Duplexing, stapling etc., and wanted to do something similar (The Windows 
drivers had these facilities in the GUI).

I ended up viewing the output to find out what the relevent PCL codes were

Then I amended the printer spooler back-end route so that after Ghostscript 
had converted my printouts from postscript to PCL, a simple sed command 
replaced a standard header PCL command with one of mine instead, just prior 
to sending it to the device. The actual parameters I wanted inserting I 
passed in either the title or job parameter of the lpr command.

Unfortunately, it was a while since, and I can't remember exactly what I had 
to change, but a quick read of the man pages and docs for lpr should tell you 
which scripts need changing.

While I know that this was a but ugly, it did work.

>
> Can you help me???
>
> Thanks
>
> Luis

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to