Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force output to selected printer
Message
De
04/09/2003 18:54:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Force output to selected printer
Divers
Thread ID:
00826239
Message ID:
00826239
Vues:
61
How do I force a report to be printed to a specified printer, wich is not the default windows printer nor the one wich was selected at report's design time?

More clearly:
My program has these lines:
m.myprinter = "Epson FX-810"
* I'm sure this one exists since it's returned by aprinters()
Set printer to name (m.myprinter)
Report form Myreport to printer

The report is sent to another printer (i.e. "HP 600") wich is the one that was the default printer by the time I designed the report.

My workaround has been to open the report file (use myreport.frx) and clean the contents of the fields Expr, Tag and Tag2 at the first record.

Is there any other way to force the output to (m.myprinter) programmatically?

TIA
There´s a better life... Just it´s more expensive!
Cristóbal Manrique M.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform