Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing reports problem
Message
From
22/06/2003 12:16:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
22/06/2003 12:03:52
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00802709
Message ID:
00802711
Views:
27
This message has been marked as the solution to the initial question of the thread.
>Hi. I have problems to sending reports to a very old printer (Panasonic KX-P1694).
>
>set console off
>set printer on
>?? chr(27)+chr(15)
>set printer off
>set console on
>@ 2,10 say "Hello"
>
>The chr(27) and chr(15) is printed too.

To send codes directly to the printer, use ???. I think your example should work with something like this:
??? chr(37) + chr(15)
set device to printer
@ 2,10 say "Hello"
set device to screen
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
Next
Reply
Map
View

Click here to load this message in the networking platform