Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetPrinter
Message
From
04/06/2007 12:58:22
 
 
To
04/06/2007 12:20:02
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
01230276
Message ID:
01230293
Views:
19
>>Hi,
>>I had a program in VFP5 that used SET PRINTER TO PRINTNAME getprinter()
>>to set the printer. In VFP9 that blows up
>>I did:
>>PRINTNAME=getprinter()
>>SET PRINTER TO $PRINTNAME
>>
>>but the report does not go to the selected printer. It always defaults to the
>>printer on the network the report was made and tested on.
>>
>>Any help would be great.
>>
>>Andy
>
>Firstly, try
>SET PRINTER TO NAME (PRINTNAME)

I did this:

PrintName= getprinter()

SET PRINTER TO NAME (PrintNAME)

?PrintName
WAIT

Showed the correct printer name but it did not do the that printer
REport is being called by:
REPORT FORM proofti3 NOCONSOLE TO PRINTER
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform