Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set printer to xxx cpi??
Message
From
25/01/1999 04:44:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/01/1999 04:19:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00179730
Message ID:
00179733
Views:
24
>Here's a problem I get,
>
>?? chr(15) is for set printer to 17 cpi
>?? chr(18) is for set printer to 10 cpi
>
>Then is there any code for set printer to 12 cpi??
>
>
>Gan
Gan,
It changes from printer to printer but as the codes you give I assume it's IBM emulation. chr(18) is for 10 cpi and chr(15) for compress that makes it 15 cpi (or 17 depending on printer). For 12 cpi use chr(27)+":" and for 20 cpi, chr(27)+":"+chr(15) (12 cpi compressed).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform