[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | Microsoft Visual Basic |
|
Moderator: | TAMARA::DFEDOR::fedor |
|
Created: | Thu May 02 1991 |
Last Modified: | Thu Jun 05 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 2565 |
Total number of notes: | 10453 |
2498.0. "Crystal Reports: Always uses 'Default' printer ?" by FUTURS::MARSHALL1 () Tue Feb 18 1997 05:00
I have searched through the conference for notes and replied related to
crystal reports and printing, and none (that I have found!) seems to be
the same as I have got. I am sure that it is something I have missed
somewhere, but can I see it .....
Does anyone know whether when you set the Crystal Reports .Destination
to be the printer does it print to the printer specified by the current
Printer object within Visual Basic, or does it always retrieve the
current default printer from the control panel ?
I ask because I allow the user to select a printer (not via
CommonDialog), which I then use to set the Printer object to the
appropriate item from the Printers collection. The Printer object
correctly points to the selected printer. CRW seems to ignore this and
print to the 'default' printer no matter what I do.
I do not want the application to modify the users selections in the
control panel, and only want to change the printer context within the
application. I can get round the problem by using the CommonDialog
which will:
a) Change the default printer in the control panel
b) Give the user a lot more functionality under print
But:
a) I have the hassle of setting the default printer back to the old
value when I am done to maintain the requirement of not changing
the user's environment externally to the application
b) The user does not appear to want all the bells and whistles
provided by the CommonDialog print
Have I missed a simple setting in CRW, or has it relly been developed
to always use the default printer?
Steve.
T.R | Title | User | Personal Name | Date | Lines
|
---|