Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing a Printer
Message
 
 
À
01/03/2005 13:33:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00991696
Message ID:
00991737
Vues:
14
Hi Richard,

If this is your exact code I would expect you need a space between NAME and (lcPrinterName).
SET PRINTER TO NAME (lcPrinterName)
>Hello All ;
>
>I've got a real strange problem... normally, in a .Prg that calls a report, I give the user to option to select a printer...
>
>lcPrinterName = " "
>lcPrinterName = GETPRINTER()
>SET PRINTER TO NAME(lcPrinterName)
>
>Te above code used to work fine.. but not anymore! Now it seems that Vfp ignores what the user specifies and prints to the printer that the report was initially created for. I also tried to use SYS(1037) and got the same exact result. Anyone know the work around for this, or what I am missing?? Please help!
>
>THanks to you all again
>R. Knierim
Regards,

Mike

"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers

If you're going through hell, keep going. - Walt Disney
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform