Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Going mad with printers !!!!
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01023145
Message ID:
01023149
Views:
14
but I tried it.... maybe I should clean the TAG and EXPR fields from the first record of the frx file ?
I have all of my reports sent to the printer which appears in the Expr field!!!


>Alessio,
>
>Try this, from my printer form...
>
>cp = getprinter()
>IF !EMPTY(cp)
>	thisform.cprinter = cp
>ELSE	&& set to the default printer
>	thisform.cprinter = SET("Printer",2)
>ENDIF
>SET PRINTER TO NAME (thisform.cprinter)
>
>
>Hope this helps. Don't get mad....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform