Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to send ESC code to a printer?
Message
From
12/09/1999 12:41:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to send ESC code to a printer?
Miscellaneous
Thread ID:
00263794
Message ID:
00263794
Views:
58
I want to send ESC + '@' to my printer so as to initialize it. I have tried the following but it just printed a strange character and an '@'only:
SET DEVICE TO PRINTER
SET PRINT ON
?? chr(27) + '@'
SET PRINT OFF
SET DEVICE TO SCREEN
And it seems need me to quit my VFP program first then send this signal to my printer, how come?
Power Wong
Every problem will have a solution, the only problem is that can you find it out.
Next
Reply
Map
View

Click here to load this message in the networking platform