Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing pcl codes to a printer
Message
 
To
14/04/2006 17:19:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01113803
Message ID:
01115385
Views:
9
This may help:
set printer on
???CHR(27)+'E'         &&Reset
??? CHR(27)+'&l0O'
? 'TEST PORTRAIT'
??? CHR(27)+CHR(40)+CHR(115)+CHR(49)+CHR(83)  &&Italic
??? 'TEST PORTRAIT ITALIC'
??? CHR(27)+CHR(40)+CHR(115)+CHR(51)+CHR(66)  &&BOLD
??? 'TEST PORTRAIT BOLD'
SET PRINTE OFF
set printer to
>Hi all,
>
>I want to send some pcl codes to a printer and i don't have now idea how it works and if it works on any printer. So i have some questons.
>Is the pcl code for every printer the same ? And how do i pass them to the printer via vfp ? Can somebody give me the pcl code for printing bold ?
>
>thnx
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform