Sending tray code to hp
Richard Kreiss
rkreiss at verizon.net
Tue Mar 2 06:55:01 PST 2010
> -----Original Message-----
> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
[mailto:filepro-
> list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of John
Sica
> Sent: Tuesday, March 02, 2010 9:14 AM
> To: filepro-list at lists.celestial.com
> Subject: Sending tray code to hp
>
> 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
Why not place a variable at the top of the page to output the tray wanted.
In processing set the variable to the proper tray code based on who the use
is.
This avoids have to create a new printer and would allow the print job to go
to any printer with multiple trays.
Richard Kreiss
GCC Consulting
rkreiss at gccconsulting.net
More information about the Filepro-list
mailing list