Automate print to PDF?

I am new to UI.Vision RPA and am trying to automate printing the current web page to pdf. I tried to record a macro but it stops recording when the printer options window opens. What do I need to do next?

Need desktop automation, can not recording in automatically.

Need to create step by step with desktipo automation

https://ui.vision/rpa/x/desktop-automation

I have a few macros that do exactly this and I just used XType. Just CTRL+P and then tab and navigate to Print to PDF