General information
Category:
Coding, syntax & commands
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only