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
LluudNot 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 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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment