Problem: I have a lexmark printer connected to my network.
It can be used by:
set printer to name 'lexmark'
type (filename) to printer
However, no matter what I do, I can't get 'type' to go to the correct paper tray--it always goes to the top one.
But, if lcText = ESC+'&l4h'+chr(13)+'test message'
then:
set printer to name 'lexmark'
??? m.lcText
will print a blank line and 'test message' on the bottom tray. ESC+'&l4h' being the printer escape code.
However, this fails -- it always prints on the top tray:
set printer to name 'lexmark'
??? ESC+'&l4h'
type (printfile) to printer
I'm using visual foxpro 6. ANYHELP will be surely appreciated as my top tray has important forms which I'm sure my staff will forget to move prior to printing.
Sincerely,
Alan
It can be used by:
set printer to name 'lexmark'
type (filename) to printer
However, no matter what I do, I can't get 'type' to go to the correct paper tray--it always goes to the top one.
But, if lcText = ESC+'&l4h'+chr(13)+'test message'
then:
set printer to name 'lexmark'
??? m.lcText
will print a blank line and 'test message' on the bottom tray. ESC+'&l4h' being the printer escape code.
However, this fails -- it always prints on the top tray:
set printer to name 'lexmark'
??? ESC+'&l4h'
type (printfile) to printer
I'm using visual foxpro 6. ANYHELP will be surely appreciated as my top tray has important forms which I'm sure my staff will forget to move prior to printing.
Sincerely,
Alan