The default printer in a 64-bit system using the new print dialog selects the wrong printer.

Stimulsoft Reports.NET discussion
Post Reply
Neng
Posts: 3
Joined: Mon Mar 03, 2025 2:02 am

The default printer in a 64-bit system using the new print dialog selects the wrong printer.

Post by Neng »

Hi,

We found that when I use a 64-bit system and set the default printer on my own PC, then set another default printer in the Stimulsoft report properties, the report should select the default printer set in Stimulsoft. However, when viewing and printing the report, it still picks my PC's default printer instead.

Example:-
The computer default printer is POS-80C
picture_1.png
picture_1.png (122 KiB) Viewed 12648 times
and my stimulsoft one for the format i using printer PDFCreator
picture_2.png
picture_2.png (31.6 KiB) Viewed 12648 times
when click on print it still goes back to the computer's default printer, not my report format default printer
picture_3.png
picture_3.png (64.92 KiB) Viewed 12648 times
I have tried using the old dialog printer, and it does not have this issue. Also, when using a 32-bit system, the new dialog print works correctly.
Example of old dialog:-
old_dialog_print.png
old_dialog_print.png (20.41 KiB) Viewed 12648 times
Please help to check this. Thanks!
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

Re: The default printer in a 64-bit system using the new print dialog selects the wrong printer.

Post by Lech Kulikowski »

Hello,

We require more time to investigate the issue thoroughly. Rest assured, we will keep you informed about the outcome as soon as possible.

Thank you.
#16823
Neng
Posts: 3
Joined: Mon Mar 03, 2025 2:02 am

Re: The default printer in a 64-bit system using the new print dialog selects the wrong printer.

Post by Neng »

Okay Thank you
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

Re: The default printer in a 64-bit system using the new print dialog selects the wrong printer.

Post by Lech Kulikowski »

Hello,

This is another Win11 bug: in some update for 2023 they updated the print menu for x64 applications.
But the new print menu simply ignores the parameters that are passed to it, everything is enabled by default.
https://learn.microsoft.com/en-us/answe ... -in-the-ne
https://github.com/dotnet/wpf/issues/8355
https://github.com/dotnet/wpf/issues/8529

There is still no official solution.

As a workaround, you can use an option from the code to use the old x32 print dialog:
Stimulsoft.Report.Report.Print.StiPrintProvider.UseEXDialog = false;

Thank you.
Neng
Posts: 3
Joined: Mon Mar 03, 2025 2:02 am

Re: The default printer in a 64-bit system using the new print dialog selects the wrong printer.

Post by Neng »

I see!
thanks for the information!.
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

Re: The default printer in a 64-bit system using the new print dialog selects the wrong printer.

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply