Make a virtual printer RRS feed

  • Question

  • I need to make a virtual printer and auto upload the print data.

    I found the open source code "XPSDrvSmpl" and successfully build the project, install the driver.

    But a question is this is different from "Microsoft XPS Printer", it won't pop-out a dialog to save file.

    Also I can't find the dialog in this sample. But I found a keyword "LPTSTR", it looks like a printer buffer.

    I need someone give me a hint.

    • Edited by loitr31 Sunday, November 13, 2016 2:33 PM
    Sunday, November 13, 2016 2:32 PM

All replies

  • If you had read the webpage describing this sample you would have realized that XPS is a document format, the sample gives you the framework to deal with that.  It is not the Microsoft XPS Printer, you are going to have to do a lot of work with the sample to get what you are looking for.

    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Monday, November 14, 2016 1:54 AM