Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Varying page lengths to dot matrix
Message
De
20/07/2001 19:13:14
 
 
À
20/07/2001 18:41:57
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00533402
Message ID:
00533410
Vues:
19
>I need to be able to print a series of documents to a dot matrix printer thru the report writer that may vary widely in page length using VFP6SP3. These documents will represent contracts, bill of sales, etc. The confusing point is this- How do I set the page length for each document? I am trying to hack the EXPR field for the first record in the report. I am using the format :
> REPLACE expr with [papersize=256] + CHR(13) +;
> pagelength=xxx +CHR(13) +;
> pagewidth=yyy +CHR(13)
>
>In the help that someone else gave me the pagelength and pagewidth are set in centimeters, but the custom paper size in the printer driver allows for either tenths of an inch or centimeters. How do I tell the printer which to use?
>
>Does the VFP report format CHANGE the custom page size in the printer drive before it prints the report. I have struggled with this all day and am more confused now than when I started. The last report that I worked on set the page length correctly buy the width was .5" and there was nothing I could do to change it.
>
>If I do not delete tag1 and tag2 do the settings in EXPR not take effect?

Just a thought, if this is for a single client you could install the exact same printer as your client on your dev machine, set up the reports the way you want, then leave the report table fields alone.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform