Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing problem
Message
 
À
23/11/1998 10:59:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00160495
Message ID:
00160499
Vues:
23
>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
...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform