>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