Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set print not working
Message
From
14/11/2008 09:24:31
 
 
To
14/11/2008 09:21:05
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:
01361937
Views:
19
Hi Ture, how are things?
anyway that's what I do in the command window
I stuff the name of the printer into a variable but it aint working :-0
here a snag from my command window
x1= GETPRINTER()
?x1  &&& \\ott5\ricoh 7
SET PRINTER TO NAME (x1)
?SET('print',1)  &&& c:vapptest\vcpc\send to onenote 2007
peter


>
>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
Peter Cortiel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform