Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting paper size through program
Message
De
01/07/2006 09:40:31
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
01/07/2006 01:56:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01133240
Message ID:
01133258
Vues:
14
>I have write the program for printing and its print through command @say, and all my reports are set in various paper size (i.e. A4, Legal, A3), my question is how can I set the perticular paper size to the default printer by writing program in VFP.
>
>Please give me the solution?
>
>Thanks
>Jignesh

To print in text mode (fast printing on dot-matrix printers), I used @...say many years ago, but eventually I found it more convenient to use "?" and "??". Eventually, I created an entire text-file (this helps for easy preview), and sent the entire text file, plus printer codes, to the printer with the "???" command.

In this case, you can send printer codes to set the page size - read the manual for your specific printer.


The other option is to print in graphics mode (slower on some printers, but it works on all printers that work with Windows).

In this case, it is more convenient to use some other option for your reports, for example:
  • The Visual FoxPro report writer.
  • Excel Automation.
  • Crystal Reports.
    Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
  • Précédent
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform