Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
REPORT FORM command
Message
 
À
02/02/2001 11:47:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00471832
Message ID:
00471844
Vues:
13
First of all you should remove any printer specific code from .frx table:

use yourreport.frx
go top
replace tag with "", tag2 with ""
Then go to exp field and manually remove everything except what you think is important (like orientation).

In your program:

set printer to name (specific_printer_name)
* you can use aprinter() to analyze what printers are available
report form.....

Hope this help


>>>>>>>>>>>>>>>>>Your message below
I'm using the REPORT FORM command to run a report and the output is sent to a printer. I know that inserting TO PRINTER followed by PROMPT will cause the windows Print Setup dialog box to be displayed allowing the user to select the local or network printer they want to report to be sent to. However, their are three different printers that the user has to select from based on the data in the report. The data itself has been selected prior to the report running (in this case a specific sales order to be printed). Is there any command in Visual Foxpro that can force a report to be sent to a specific printer other than the default printer on the user's workstation?

Thanks in advance for any help.
Wes Hopkin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform