Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print 2 copies of a report
Message
De
09/12/1997 19:04:38
 
 
À
09/12/1997 18:35:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00064699
Message ID:
00064841
Vues:
46
>>>>>>>>I use vfp 3.0, I would like to print 2 copies of a report in 1 command.
>>>>>>>>
>>>>>>>>Now I use the REPORT TO PRINTER command 2 times.
>>>>>>>>
>>>>>>>>I would like to set the number of copies to 2 and then give the REPORT TO PRINTER command 1 time.
>>>>>>>>
>>>>>>>>How can I accomplish this?
>>>>>>>>
>>>>>>>>Bas Elbers
>>>>>>>
>>>>>>>Open FRX table manually and set COPIES=2 in field 'Expr' in first record. Make backup first!
>>>>>>
>>>>>>Is this the approach to use in VFP 5.0 and 5.0a as well?
>>>>>
>>>>>Why not?
>>>>
>>>>I haven't tested this in 5.0 but in 3.0 when setting the # of copies to 2
>>>>in the printer dialog box, I still only got one copy. I'm wondering if this
>>>>has been fixed in 5.0
>>>
>>>but i'm speaking about manual changing of FRX. Actually, I tested in 3b, saw that 'print setup' really fails here, and therefore tested manual change and it worked.
>>
>>But the manual method does not lend itself to the end user. If I'm to provide the
>>ability to print multiple copies to the end user I must...
>>a) programmatically change the field you referenced above
>>b) provide another text box to capture the number of copies the user wants
>>c) train the user *not* to use the "copies" box in the standard pringer dialog box
>>
>>seems like there should be a better way...
>
>How about sending an eascape sequence to the printer (??? CHT(27) + esacpe sequence for # of copies of print job??
>
>Thanx!
>
>Tony Miller
>Vancouver, Wa

Then I would need a 'printers' database to hold the codes (and a maintenance option).
We did this in my Clipper days but just seems like a big step backwards. Is there no
API function or (better yet) an obscure VFP function available?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform