Dear colleagues:
I need to know (always using commands in programs, like the example bellow):
1) How to say the printer (whatever it is, Epson dot matrix, HP Injket, HP Laser, etc) to print in NORMAL characters and in COMPACT characters.
2) Is it possible to give the operator, when he is executing the program, the OPTION TO CHOOSE THE PRINTER (in the network) he wants to send the report to, like that print option window which opens when we ask MS Word to print something ?
In my FoxPro 2.0 DOS programs I used the commands to print a report:
* REPORT1.PRG
*
CLEAR
SET DEVICE TO PRINT
@ 1, 1 SAY CHR(10) && normal characters (Epson dot matrix)
@ 2, 1 SAY "MONTHLY REPORT"
@ 3, 1 SAY CHR$15) && compact characters (Epson dot matrix)
@ 4, 1 SAY "SALES JAN FEB MAR APR MAI JUN JUL"
@ 5, 1 SAY ....
.
.
.
EJECT
SET DEVICE TO SCREEN
RETURN
Thanks for your help.
Michel
I need to know (always using commands in programs, like the example bellow):
1) How to say the printer (whatever it is, Epson dot matrix, HP Injket, HP Laser, etc) to print in NORMAL characters and in COMPACT characters.
2) Is it possible to give the operator, when he is executing the program, the OPTION TO CHOOSE THE PRINTER (in the network) he wants to send the report to, like that print option window which opens when we ask MS Word to print something ?
In my FoxPro 2.0 DOS programs I used the commands to print a report:
* REPORT1.PRG
*
CLEAR
SET DEVICE TO PRINT
@ 1, 1 SAY CHR(10) && normal characters (Epson dot matrix)
@ 2, 1 SAY "MONTHLY REPORT"
@ 3, 1 SAY CHR$15) && compact characters (Epson dot matrix)
@ 4, 1 SAY "SALES JAN FEB MAR APR MAI JUN JUL"
@ 5, 1 SAY ....
.
.
.
EJECT
SET DEVICE TO SCREEN
RETURN
Thanks for your help.
Michel