Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - Do you know about ??CHR(27)+'*p0Y'
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00040071
Message ID:
00040612
Views:
45
> The code does not work because it written to directly address the printer > and under windows you are removed from the printer by the print manager > which takes all output and processes it through the printer driver that is > selected. This wraps you PCL (HP Print Control Language) with printer > control codes so that the printer sees it as data to be printed instead of > controls codes. One way you can get it to work is to set the Generic Text > printer dirver as the current printer under windows before you execute the > code. The generic text driver will not add any printer contorl codes to > you output but rahter just pass it on as it is (which is what you need). Unless the Generic driver's gotten a whole lot smarter since Windows 3.1, it will strip off the chr(27) code. That driver pays more attention to the 'Text Only' portion of the name than it does to 'Generic', and it seems to allow CHRs 9, 10, 13, 32-125. /Paul
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Previous
Reply
Map
View

Click here to load this message in the networking platform