Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dot-matrix printer and form length revisited...
Message
From
24/07/2002 08:17:32
 
 
To
24/07/2002 07:34:27
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00681893
Message ID:
00681977
Views:
21
I wasn't aware of the ??? command. I suspect this is the missing ingredient for me.

Thank you very much, Hilmar!

Andrew

>>Back in prehistoric times I used to do a lot of printer control using the ESC sequence and codes. I have gotten kind of rusty at this and hope somebody may be able to help me a little...
>>
>>Using the MSKB #Q304639 I can get VFP to recognize and print my report the correct size. However, the printer has no knowledge of the fact that the report is shorter, and continues to feed a full 11" sheet...
>>
>>Any suggestions how to include the ESC code to 'edumacate' my printer about the new boss?
>>
>>Thanks
>>
>>Andrew
>
>From my file of constants (PC stands for "printer codes"):
>
>
>#define PC_ESC chr(27)
>#define PC_PAGELENGTH PC_ESC + "C"
>
>
>After this, you only need (example for 33 lines, half the normal 66 lines):
>
>
>??? PC_PAGELENGTH + chr(33)
>
>
>HTH, Hilmar.
On a CLEAR day you can see forever.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform