Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page size
Message
De
04/12/2007 19:42:12
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01273148
Message ID:
01273176
Vues:
18
>Can I programatically change the paper lengh of reports in VFP 9 ?
>
>Sometimes I need to print paper where the page lengh is not fixed
>but will depend on the data amount (dot matrix printers)

That's relatively easy on dot matrix printers if you use ? and ?? for printing and use printer-specific escape sequences (ESC/P language, for instance). If you're looking for a more universal solution, that'd be rather tough.

IIRC, the sequence was chr(27)+"c"+chr(n) where n was number of lines on the page, so chr(27)+"c$" would make a 36 line page.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform