Skip to content

Add PRINTER_INFO_2 support #568

@IvanRF

Description

@IvanRF

I've read the FAQ and I extended Winspool and WinspoolUtil to add PRINTER_INFO_2 support.

The code is here. It's based on the OP implementation for PRINTER_INFO_2.

You can test it with a simple:

for (PRINTER_INFO_2 printerInfo : WinspoolUtilExt.getPrinterInfo2()) {
    System.out.println(printerInfo.pPrinterName + ": " + printerInfo.pDriverName);
}

This methods could be easily added to Winspool and WinspoolUtil.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions