Page 1 of 1

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

Posted: Mon Mar 03, 2025 2:32 am
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 12647 times
and my stimulsoft one for the format i using printer PDFCreator
picture_2.png
picture_2.png (31.6 KiB) Viewed 12647 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 12647 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 12647 times
Please help to check this. Thanks!

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

Posted: Mon Mar 03, 2025 8:51 pm
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

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

Posted: Mon Mar 10, 2025 1:56 am
by Neng
Okay Thank you

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

Posted: Mon Mar 10, 2025 10:01 am
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.

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

Posted: Wed Mar 12, 2025 7:27 am
by Neng
I see!
thanks for the information!.

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

Posted: Wed Mar 12, 2025 7:45 am
by Lech Kulikowski
Hello,

You are welcome.