Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set print not working
Message
De
14/11/2008 09:21:05
 
 
À
14/11/2008 09:19:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01361934
Message ID:
01361935
Vues:
22
lcPrinter=getprinter()
Set printer to name (lcPrinter)
>I need to send a report to a certain printer
>the default printr is lt's say 'send to onenote 2007' and a ctrl-p send the print job to the default printer
>
>now I do
> SET PRINTER TO NAME (GETPRINTER()) && i select '\\ott5\ricoh 7'
>
>now a
>?SET('print',1) stil prints 'c:\vAppTest\vCMC\send t0 onenote 2007'
>
>and a report form.... to print also sends to the default printer and not the one i just selected
>
>this needs to be done in code the user can't select a printer (print challenged!?!)
>
>any ideas?
>vfp9 sp2
>
>Peter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform