Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer Codes and Page length
Message
De
20/02/1998 10:17:37
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
20/02/1998 10:00:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00080097
Message ID:
00080102
Vues:
21
>I am currently producing a report via code and I am experimenting with printer command codes. I am experience some difficulties using the command codes and/or _PLENGTH. THe length of my forms are 4.25 inches. Thus, I want to set the length of the form to 4.25 so that when I EJECT the form it will start in the appropriate position on the next form. I believe the command code for the page length is "27 67 n" where 'n' is the specified length of the form. I would greatly appreciate anyones help ASAP. Thanks.
>
>P.S. If you have a suggestion could you please email me at j.sturgeon@sk.sympatico.ca. Thanks again.

create report myreport from myalias ... ?
Then :
use myreport.frx
blank fields expr, tag,tag2
use
??? chr(27)+chr(67)      && Send reset code prior to this
??? 4.25                 && Assuming it will use inches
report form myreport to printer
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform