Operating System - HP-UX
1855802 Members
2244 Online
104103 Solutions
New Discussion

Re: escape secuences in lan remote printer

 
Carlos Uribe_3
Occasional Contributor

escape secuences in lan remote printer

Hello.

I have a lan-conected Xerox printer configured as remote in a HPUX 11.0 server,
and I need to send it some escape secuences.

where can I include this secuences if the aplication don?t let me control
over the output file?

thanks.
1 REPLY 1
Dan Hull
Regular Advisor

Re: escape secuences in lan remote printer

Unix doesn't send much to remote printers, because it expects the remote server
to do all the work. Most -o options from the lp command line are ignored when
remote printing, so your only realy option, especially for escape codes, would
be to modify the remote model script. Unfortunately, there is only one rmodel
script that is used for all remote printers, so any changes you made to it
would affect all remote printers on your system.

Also, modifying model scripts is not supported or recommended by HP :)

Your best bet is to write a script that pre-processes the files, adding the
escape sequences to the front end. This also presents implementation problems
though...