How to call Windows Spooler service / Printer on WIndows

Hi. I try to implement windows-rs to print something into my printer. I try to implement the solution explained here:

I downloaded the windows-rs modules, try some samples, and read the documentation in of windows-rs. I'm at lost at what should I do here. I generally want to do two things:

  1. List available/installed printer on the machine
  2. Send a document (PDF) to a target printer.

How to accomplish this ? or do I need other package or other third-party app ?

Thank you in advance

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.