Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dot-matrix printer and form length revisited...
Message
De
24/07/2002 08:17:32
 
 
À
24/07/2002 07:34:27
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00681893
Message ID:
00681977
Vues:
20
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform