Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print to dot-matrix printer
Message
From
05/11/2009 15:35:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
05/11/2009 15:31:30
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01432759
Message ID:
01433456
Views:
46
>Thanks Hilmar for the info. I have installed OKI Microline 590 and trying to set the page size to 13.9mm long and 22mm wide (in old dos program the page was set to 51lines, "@0,0 SAY CHR(27)+"C"+CHR(51)"). But this page size which I have created in the "Print server properties" is not visible when I use the page setup in the reports screen. Is there any other way to set the page length ??? Thanks

Methinks it is safer to send printer codes with "???". This is supposed to send the codes directly to the printer, avoiding certain interpretation that might be done by a Windows printer driver.

In other words, assuming the codes specified above are the correct codes:
??? CHR(27)+"C"+CHR(51)
(The triple question mark is the actual command, not missing information.)
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform