Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Duplex printing
Message
De
12/07/2002 17:50:34
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
 
À
12/07/2002 16:30:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00678270
Message ID:
00678296
Vues:
13
>Does anybody knows how to print in VFP6 2 different reports with graphics in a single sheet (Duplex printing)

If you have access to Microsoft Word, you might be able to use a combination of FRX2Word (available for download here) and Word automation. Assuming you can control Word's print dialog you should be able to specify duplex printing.

Another approach might be to print both reports to separate disk files, pull them into VFP string variables with FileToStr(), parse the first one to remove page-eject codes, append duplexing codes instead, then write out a final file combining the two reports with StrToFile(). This file can then be sent to the printer or print queue. This approach does not require Word but will require knowledge of control codes of your specific printer.
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