Sending tray code to hp
John Sica
john at chrismanncomputer.com
Tue Mar 2 06:14:23 PST 2010
I need to send a tray selection code to an HP printer for specific users
(determined by login account). The printer name is already set in a
variable that filepro gets (GETENV) for PCs in this department,
determined by IP address.
The login needs to be able to change this printer destination again so
that all jobs send the tray 2 code (which is not the default tray)
before the jobs print.
Every print job sends an overlay to the printer, then prints the job.
Each job is 3 pages, and the overlay gets resent after each page. I
know sending the overlay every page is extra work, but everything prints
fast anyway.
My thought is to create a new printer who's interface program embeds the
tray 2 code (^[&l1H) , then have this new printer set in the environment
at login.
I don't know how to embed this code in the interface script, which now
all use netcat in the interface script (sco unix 5.05).
My other thought is to use the new filepro printer name (which is the
same name as the unix printer name), to have the tray 3 code initialize
it. I'm not sure how to do this either.
A suggestion either way would be appreciated.
Thanks,
John
More information about the Filepro-list
mailing list