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.