Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET PRINTER TO NAME Not Working
Message
De
16/08/2016 12:44:49
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
SET PRINTER TO NAME Not Working
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows Server 2012 R2
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01639524
Message ID:
01639524
Vues:
153
I've been trying to figure out why reports are always printing to the default printer. I started with the following three commands.My expectation was that the SYS(2001,'PRINTER TO',2) would return the the name of the printer selected but is doesn't it returns the windows default printer consistently.

lcPrinterName = GETPRINTER( )
SET PRINTER TO NAME (lcPrinterName)
? SYS(2001,'PRINTER TO',2)

What am I missing here? Am I looking over something simple?

TIA
Jeff
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform