Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set print not working
Message
From
14/11/2008 09:21:05
 
 
To
14/11/2008 09:19:24
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01361934
Message ID:
01361935
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform