Guest_imported
New member
- Jan 1, 1970
- 0
I have been programming for several years with Foxpro 2.6a Dos and use to print all reports on a dot matrix, now
I want to print all the reports on HP laser 6P, some of my reports are too large so I have to print in a landscape
mode and change manually the Pitch from 10 by default to 16 or higher to fit into my reports. How can I control
my printer to that automatically?
I have used to send the ESC code to the printer before using Report Form , but it's still not working
Here is the command that I am using:
SET PRINTER TO LPT1
??? CHR(27)+''&l0O'' && PRINT IN LANDSCAPE MODE
REPORT FORM MYREPORT TO PRINTER
??? CHR(27)+''E'' && PRINTER RESET
I want to print all the reports on HP laser 6P, some of my reports are too large so I have to print in a landscape
mode and change manually the Pitch from 10 by default to 16 or higher to fit into my reports. How can I control
my printer to that automatically?
I have used to send the ESC code to the printer before using Report Form , but it's still not working
Here is the command that I am using:
SET PRINTER TO LPT1
??? CHR(27)+''&l0O'' && PRINT IN LANDSCAPE MODE
REPORT FORM MYREPORT TO PRINTER
??? CHR(27)+''E'' && PRINTER RESET