Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report form problem
Message
From
04/04/2005 10:55:17
Steve Jones
Business Systems Services Uk Ltd
Swansea, United Kingdom
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Report form problem
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01001208
Message ID:
01001208
Views:
69
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


Any ideas??

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform