Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3688

Printing from an HTMLViewer can hang the app

$
0
0

This is happening on Windows 11.

I’ve created a special HTML page that allows me to render my data via javascript in an HTMLViewer, then I call HTMLViewer.Print to allow the user to send it to their printer.

If the print operation works successfully, there is no problem.

But if there’s a problem printing, for example if I print to the PDF Printer and the user tries to overwrite to a file that’s in use, or if I print to a printer and there’s some kind of hardware problem or print spool failure, my application locks up with no way to catch the error. It has to be force quit.

Has anyone dealt with this before?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3688

Trending Articles