Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default Printer
Message
From
15/07/2002 03:08:24
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00678592
Message ID:
00678597
Views:
13
Hello Ajay,

if you read my message carefully -

1)I have written that i want to change my default printer at RUNTIME.
2)Crystal will print to the default printer at run-time. Can you show me via code how i can get the CR printer dialog box at run time (my output should be directed to the selected printer)

I have 2 network printers - I want to use PRINTER A only for certain reports and PRINTER B for the rest of the reports. This i can do if i am able to change the printers at run-time without giving users a chance to select and mess around with printing.

Sanjay.


>Use CR report Print dialog to set default printer and its properties.
>CR report Print dialog require a handle of VFP form, In VFP 7.0
>form has hwnd propery. You can use that one.
>
>You can visit 'seagate' site also.
>
>Ajay Mishra
>MCP
>www.mind-infotech.com
Sanjay Dhiraj Patel

MCSE, MCDBA

Net2Biz (Thailand)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform