ron
Member
We have a Web Client Ap that needs to print on the default client printer.
Using a command like this:
PUT STREAM prn CONTROL(CHR(27) + CHR(77) + CHR(18)). /* 12 cpi */
... worked fine for setting font-size, etc. However, if there was a printer problem the user would get an endless number of printer error messages on the screen.
The program was changed to output to a file - and then print the file with _osprint. This solves the multiple errors on failure problem ... but now the printer ignores the control characters!
Can anyone suggest a way to get the control characters through to the printer, using _osprint?
Thanks,
Ron. :drink:
Using a command like this:
PUT STREAM prn CONTROL(CHR(27) + CHR(77) + CHR(18)). /* 12 cpi */
... worked fine for setting font-size, etc. However, if there was a printer problem the user would get an endless number of printer error messages on the screen.
The program was changed to output to a file - and then print the file with _osprint. This solves the multiple errors on failure problem ... but now the printer ignores the control characters!
Can anyone suggest a way to get the control characters through to the printer, using _osprint?
Thanks,
Ron. :drink: