Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Page length
Message
De
09/01/2002 08:07:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00602437
Message ID:
00602440
Vues:
23
>I need to set a page length for a 3"H x 5"W label I am creating. It prints to an Epson LQ-850. The problem I am having, is the computer thinks I have 3 labels on an 8.5"x11" paper. How can I set the page length to be 3"?

If you are printing in text mode, send the appriate printer codes, to set the "page-length" to the length of the labels.
#define PC_ESC chr(27)
#define PC_PAGELENGTH PC_ESC + "C"
??? PC_PAGELENGTH + chr(18) && 18 lines per "page"
These commands should be similar for most Epson dot-matrix printers, but check the printer manual, just in case.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform