How to use Ctrl-P with a Radzen Dialog

Hi, I have an app where users can select receipts to print. When a user clicks to preview a receipt, I have a Radzen Dialog that pops up with the receipt layout. Currently, there is a bug in .net Maui Blazor Hybrid where I cannot simply use JS print as it causes an error when closing the print preview window.

However, if the user uses ctrl-p this error does not happen, but I cant seem to get my CSS to show multiple pages of the receipt when its in a dialog window.

Is there any solution to this? I just want to be able to print preview multiple pages of a receipt from within a Radzen dialog box.

This thread might be helpful in your case as well: