Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using DOS printer control command in VFP
Message
From
06/06/2001 21:46:56
 
 
To
04/06/2001 23:28:11
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00513473
Message ID:
00516121
Views:
18
Try sending the code to a textfile and copying the file to the printer. That is currently my solution for printing my shipping labels.

I overwrite the file every time I print:

SET SAFETY OFF
SET DEVICE TO FILE 'filename.txt'
I use a lot of @ LINE .. SAY, I think ?? will work as well...

Or, you can try ??? rather than just ?? (3 question marks, rather than 2), I believe it will send directly to the printer,.. perhaps less code change for you.

---
HTH!
Jonathan Chan

---

>I made the printer as Generic/Text printer.
>and send the prg code for printing but never printing right way but just print code itself.
>
>For example
>
> ??chr(27)+'!'+chr(48) &&double-width+height
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform