Windows: Create a virtual printer that sends file into Rust program

I am writing a system to take vector files out of programs like illustrator and process them into Gcode to be sent to a laser printer.

I need this because my users are used to a "print to file" workflow, and have asked me to support that. I have been researching how to register a virtual device into Windows and send the data into my program but I've come up with very little. Does anyone know anything about this?

Two important pieces of info I have discovered are:

  • A port monitor is not needed past windows 10 because it supports a virtual device directly using postscript
  • a user claims it’s possible to use postscript to create a virtual printer and redirect print file data to his program. claims he used a sample windows postscript file to achieve this.

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.