Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing with a .PRG file
Message
 
À
09/03/2001 21:26:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00483766
Message ID:
00484075
Vues:
21
1. There are PCL comands for paper orientation, size, source...
For HP Laserjet:
- landscape chr(27)+'&l1O' (lowercase leter l, digit 1, uppercase letter O)
- paper size chr(27)+'&l#A' where # can be 1, 2, 3.... (Executive, Letter, Legal...)
- paper source chr(27)+'&l#H' where # is 0, 1, 2, 3, 4 (print&eject current page, tray 2, manual feed paper, manual feed envelope, tray 1...
You'll probably need the printer manual.

2. Build the report in the report generator, use an array for headers, and a generic cursor for data.

3. Build a baseRep.frx in the report generator and use it as a source for building a custom tempRep.frx each time you print a report.
Doru
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform