Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET PRINTER TO doesn't work?
Message
 
À
05/08/1998 23:42:39
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapour
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00124375
Message ID:
00128438
Vues:
21
set printer to should work; however, REPORT FORM MyReport TO PRINT PROMPT works better--the user can pick the printer. If you want it to be a specific printer, try this:

(Where SPECIFICNAME is the name of the printer to which you want to print)

mPrtr =ASCAN(aPrintall, [SPECIFICNAME])

* at this point, if mPrtr is 0, you would warn the user that the printer doesn't exist

mPrintName =aPrintall(mPrtr)
SET PRINTER TO NAME (mPrintName)

JR

>VFP5a SET PRINTER TO doesn't work? Or is there a trick somewhere? The print driver always ended up to a particular driver despite issueing the command.
CLARC Services, Inc.
3500 Tamiami Trail
Port Charlotte, FL 33952
www.clarc.com
(941) 743-0108
(800) 246-5488
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform