Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report form problem
Message
 
 
To
04/04/2005 10:55:17
Steve Jones
Business Systems Services Uk Ltd
Swansea, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01001208
Message ID:
01001228
Views:
14
>Hi,
>
>Is it possible for a report form to some how become linked to a printer?
>
>We have a procedure which prints invoice documents, which contains seperator pages for
>different batches etc. The problem we seem to be getting is that we use
>
>set printer to name getprinter()
>
>to allow the user to select the printer and then print the invoices and seperators to the selected printer. However the seperator pages will only print to the default printer, even though the user has selected a different printer and the invoices print Ok.
>
>I have now tried this on my machine and in the command window typed
>
>set printer to name getprinter() ' and selected non default printer
>report form invoice for _pageno = 1 to printer ' prints ok
>report for seperator for _pageno = 1 to printer ' prints to default printer
>

Make sure that printer specific information is not stored in that Separator report. E.g open this report as a table and take a look into Expr and Tag/Tag2 fields in the first record.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform