>Hi all,
>
>I scanned through a couple of threads about printing problems, but I didn't really find any conclusion to my specific problem.
>Here is what we need to do:
>
>1) Ask the user for a printer
>2) Print out a couple of reports on that printer
>
>If we use the following strategy:
> pname = GetPrinter()
> Set printer to name(pname)
>- and then use
> report form TEST.frx to printer noconsole
>then it prints the reports on the printer saved in the report - not the one just selected by the user.
>
>If we instead use
> report form TST.frx to printer prompt noconsole
>it prints the report on the printer specified by the user, but you have to respond to the print dialog for each report you print out.
>
>Hope you can help me,
> - Peder
Hi Peder.
Try this, it works for me.
* choose printer then send each report
=sys(1037) &&choose printer
report foo1 to printer
report foo2 to printer
report foo3 to printer
report foo4 to printer
...
Previous
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