Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report - defaullt printer settings
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01022570
Message ID:
01023091
Vues:
12
>>Cathy
>>
>>Thanks very much for that - very clear
>>
>>Colin
>>
>>>You need to get rid of the printer environment information that is stored with the report. To do that, open the report file as a table browse it. In the first record, clear the TAG and TAG2 fields. Also in the first record there is a field called EXPR. Don't clear it all -- but edit the field and clear the printer information. You still want to retain things like orientation.
>>>
>>>Note that you will have to do this EVERY time you make a change to the report. Earlier versions of VFP always save the printer environment. Starting with VFP 8, you can turn that "feature" off.
>>>
>>>Cathy
>>>
>>>
>>>
>>>>Hi
>>>>
>>>>I am printing to 1 of 2 dot matrix printers both of which have a default paper size of Lexmark. The machine I am printing from also has a default paper size of Lexmark
>>>>
>>>>myreport="c:\mailflight\blank1.frx"
>>>>report FORM (myreport) TO PRINTER prompt noconsole
>>>>
>>>>brings up the printer dialogue box - I select the appropriate printer only to find that the default paper size is Letter - I can of course alter this manually
>>>>
>>>>I can also alter blank1.frx to have a default printer of 1 of the 2 printers - then the correct paper size comes up in the printer dialogue box PROVIDING I select that printer
>>>>
>>>>If I select the second printer then I am again presented with Letter
>>>>
>>>>How so I change this so that the correct paper size is presented irrespective of which of the 2 printers I choose?
>>>>
>>>>Thanks
>>>>
>>>>Colin
>
>Are you printing in "graphic" mode or in "text" (old-fashioned, like DOS) mode)??

Jonathan

Presume graphic

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform