If the print queue is ALWAYS supposed to print a specific size, then you
can just put the escape sequence specific to the printer at the end of the
ci attribute. Use lsvirprt and do a ci~v and on the last line put within
single quotes '\033sequence' where \033 is octal for escape. Sorry, don't
know the sequence for your specific printer. If you want to be able to
specify a page size with command-line flags, that is a bit more involved,
but entirely possible. Start off with ci~v and you'll see an expansion of
the ci attribute. It will %I (include) another attribute to set the page
size which in turn may %I (include) other attributes. The virtual printer
colon files are in a simplistic stack based language that will do simple
push, pop, compare operations.
Best regards,
Paul
> Folks,
> We have a Panasonic 3626 printer that is set up on the network via a
> HP JetDirect print server. Whenever we lose power (printer reset),
> the printer reverts to a page size of 11". To fix this, we have to
> disconnect the printer from the print server, connect it to a PC that
> has the Panasonic utility software and reset the page size to 7".
> This is a major hassle, esp since the printer is used to print AP
> checks!
> Is there any way that I can set a flag via chvirprt to send a control
> sequence to set the page size? If so, what is the flag and what would
> the value be?
> TIA,
> Bud Hann
> The Vista Support Group