|
-
April 30th, 2004, 03:49 AM
#1
Save printer options
Hello,
I've a little problem with Visual Basic 6.0 and Crystal Report.
I must print different reports (from different files) with the same printer with the same options.
Unfortunately, the printer options gets reset when I change report. How can I save theses settings, or at least, tell the crystal engine not to reset them ? (It seams that the settings are stored as a part of the rpt file).
Thank you
Lluud
-
May 3rd, 2004, 05:07 PM
#2
Not sure which settings you're referring to, but you should be able to declare a few variables and set them to the Printer options before you call you first report, then set the Printer options to the saved variables before you call your second report...
I'd rather be wakeboarding...
-
May 5th, 2004, 03:52 PM
#3
I did this, but I can't save the printer's driver specific options.
I've resolved my problem by saving the report to the disk using saveas() and then print it with the Crystal Printing Engine API. I use windows' API to retrieve a DEVMODE structure that I can pass to the Printing Engine.
Thank you for you answer.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|