Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set left margin via PCL codes
Message
From
27/05/2004 17:23:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
How to set left margin via PCL codes
Miscellaneous
Thread ID:
00907959
Message ID:
00907959
Views:
37
Hello,

Am trying to control PCL printer with control chars from FPDOS.

I can correctly set pitch to 10 or 16.6 cpi, but am unable to set left margin in a way that 80 characters print per line in 10 cpi, which is possible because the Fox reporter does it.

Found the following cryptical info in an otherwise helpful site:

ESC & a n L 27 38 97 n 76 1B 26 61 n 4C Left Margin (0 Í n Ê 78; with 10 cpi pitch)
ESC & a n M 27 38 97 n 77 1B 26 61 n 4D Right Margin (1 Í n Ê 79; with 10 cpi pitch)

The cryptical part is: (0 Í n Ê 78; with 10 cpi pitch
What can it mean?

TIA,

Alex
Next
Reply
Map
View

Click here to load this message in the networking platform