Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fichiers
Recherche: 

DOSPrint v4.1 (evaluation version)
Victor Espina, TercerMedio Internacional
DOSPrint is a utility for VFP6&7 wich highly simplifies the process of create text-based reports, by using simple text-based report layouts, that can be constructed with any text editor. It also comes with a full English Documentation and examples. If you need some help with DOSPrint, you can contact me at vespinas@cantv.net
Créé le
Il y a 22 années
Téléchargements
3189
Type de fichier
Résultat de votes
5.00/5.00
General information
Résultat de votes:
5.00/5.00 (3 rates) Évaluer cet item
Description
But, how easy it could be? Well, look at this example: select 0 use customers order by custid local oReport,cPrinter set classlib to DP in DP4.APP additive oReport=createobject("cDosPrint") oReport.PrintFormat="customers.fmt" oReport.Run("customers") cPrinter=getprinter() oReport.Print(cPrinter) release oReport use in customers This is the contents of customers.fmt (i had to change all '<>' and '' for '[]' and '[/]'): # CUSTOMERS.FMT # List all customers # [config] AutoEject=Yes PaperLenght=60 TopMargin=0 LeftMargin=0 EjectAfterTitle=No EjectBeforeSummary=No NewPageConfString= [/config] [macros] COD=CUST_ID [/macros] [format] he: ACME, INC. CUSTOMERS LISTING he: he: ID CUSTOMER NAME he: ====== ======================= de: [COD] [CUST_NAME ] fo: fo: Page: [PAGENO] of [PAGECNT] Timestamp: [DATETIME ] [/format] Of course, you can use this class at your own risk and I'wont be responsable in any way for any lost caused by the use of this class. You know, the normal legal stuff :-)
Créé par
Victor Espina, TercerMedio Internacional
More than 15 years programming with FP / VFP. Wide experience in MIS design and development.

Commentaires
Ajouter un commentaire