Hello,
I am using PrintPrevieDialog. When a printer is connected. PrintPreviewDialog show the image what I want to print.
However, when any printer is not connected, PrintPreviewDialog show messages that some arguments are wrong and does not show the print image.
I want to show the image in the PrintPreviewDialog although any printer is not connected.
Does anyone know what's wrong this?
Thanks,
Hello Guidegi,
I try to reproduce your issue with arguments exception in a small sample where I`m using the latest version 12.1.20121.2038, but without success. In my tests I remove all printer devices, but everything works as I expected. Please take a look at the attached video file and let me know if you think that I didn`t reproduce your scenario. Also could you please tell us what is your current version and do you have any installed service release and which one.
Please do not hesitate to ask me if you have any further questions.
Regards
Hello George,
I am using the version 10.2.20102.1004.
I saw the video you attached. In the video, when printer was removed, the "PrintPreviewDialog" shows the message " No printers are installed.".
However, in my situation, before the "PrintPreviewDialog" is displayed, the "Generating Previews" dialog box is displayed first and then disappear.
On the "PrintPreviewDialog", the message about wrong argument is shown.
Also, I think the "PrintPreviewDialog" has to show the preview image although the printer is not connected.
When I click the print button in the "PrintPreviewDialog", at this time "No printers are installed" message has to be shown.
How do you think about this?
This is the code about PrintPreviewDialog :
using (var dlg = new UltraPrintPreviewDialog()) { dlg.Document = ultraPrintDocument1; dlg.Document.DefaultPageSettings.Landscape = true; dlg.ShowDialog(); }
Please let me know what's wrong.
Guidegi said: I am using the version 10.2.20102.1004
I am using the version 10.2.20102.1004
Please note that you are using the first one build for version 10.2. What you could try is to upgrade your version with latest available service release 10.2.20102.2151. Also please note that product lifecycle of this version is expired and we are not able to fix any issues in this version. More details about product lifecycle you could find at: http://ko.infragistics.com/help/product-lifecycle/
Guidegi said: On the "PrintPreviewDialog", the message about wrong argument is shown.
What you could try is to upgrade your current version with the latest SR. Maybe this could solve the issue with argument exception, otherwise, you should used supported version 11.2 or 12.1
Guidegi said: Also, I think the "PrintPreviewDialog" has to show the preview image although the printer is not connected. When I click the print button in the "PrintPreviewDialog", at this time "No printers are installed" message has to be shown
Also, I think the "PrintPreviewDialog" has to show the preview image although the printer is not connected. When I click the print button in the "PrintPreviewDialog", at this time "No printers are installed" message has to be shown
At that moment we have not such functionality, also in our current version (11.2 or 12.1), because the PrintPreviewDialog using the settings from your default printer to show the image. One possible solution of this scenario ( to use PrintPreviewDialog without your printer to be connected ), could be if you are using for example: "Microsoft XPS Document Writer" or "Send To OneNote" or "PrimoPDF" to emulate a printer device.
Let me know if you have any questions.