>I have to print a document with a pin printer. I built a report which works fine but it gives me some problem when i change the printer, the document is printer too high or to low, so that I had to make different reports related to printers and in a case related to a PC.
>I was thinking about sending data directly to the printer, but how can I bypass the windows drivers in a net environment?
set printer to name ...
??? Printer_codes + Report_Text
See also download #
9991.
>I try to use as printer the generic text printer, but i cannot set the page width as it prints only 76 character per row though it should print 137 char
>as i set the the compressed mode (i'm using a 80 col printer)
>What have I to do ?
IIRC, the code for compressed printing (in Epson dot-matrix printers) is chr(15); whereas chr(18) turns it off. Check your printer manual. The download I mentioned above also includes some common codes for Epson printers, in #DEFINE statements.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)