Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing to default printer
Message
De
02/01/2009 12:54:50
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Printing to default printer
Divers
Thread ID:
01370723
Message ID:
01370723
Vues:
68
When I run GETPRINTER() from the Command Window, the printer showing is:

\\WORKSTATION2\HP LaserJet P2015 Series PCL 5e

That is the printer listed as default in Printers and Faxes. When I try to print in Word, that is the initial printer showing.

In my app, I preview using:

REPORT FORM myReport TO PRINTER PROMPT PREVIEW

Clicking on the printer icon in the Preview tool bar, I get a Print dialog box with just the 2 printers directly attached to my machine. I have to click on the Find Printer command button to go find the printer I want.

I tried putting

SET PRINTER TO NAME "\\WORKSTATION2\HP LaserJet P2015 Series PCL 5e"

in front of my REPORT FORM. Didn't help.

Any thoughts?


Tim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform