Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Varying page lengths to dot matrix
Message
De
20/07/2001 18:41:57
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Varying page lengths to dot matrix
Divers
Thread ID:
00533402
Message ID:
00533402
Vues:
50
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?

Thank you for your help!!!
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform