Top Description Constructors Methods
com.sun.jna.platform.win32

public abstract Class WinspoolUtil

extends Object
Class Inheritance
Static Imports
com.sun.jna.platform.win32.WinError.ERROR_INSUFFICIENT_BUFFER, .WinError.ERROR_SUCCESS

Winspool Utility API.
Author
dblock[at]dblock.org, Ivan Ridao Freitas, Padrus, Artem Vozhdayenko

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Winspool.PRINTER_INFO_2[]
getAllPrinterInfo2()

Returns printers that are physically attached to the local machine as well as remote printers to which it has a network connection.

public static Winspool.JOB_INFO_1[]
public static Winspool.PRINTER_INFO_1[]
public static Winspool.PRINTER_INFO_2[]
private static Winspool.PRINTER_INFO_2[]
getPrinterInfo2(int flags)

public static Winspool.PRINTER_INFO_2
getPrinterInfo2(String printerName)

public static Winspool.PRINTER_INFO_4[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

WinspoolUtilback to summary
public WinspoolUtil()

Method Detail

getAllPrinterInfo2back to summary
public static Winspool.PRINTER_INFO_2[] getAllPrinterInfo2()

Returns printers that are physically attached to the local machine as well as remote printers to which it has a network connection.

getJobInfo1back to summary
public static Winspool.JOB_INFO_1[] getJobInfo1(WinNT.HANDLEByReference phPrinter)
getPrinterInfo1back to summary
public static Winspool.PRINTER_INFO_1[] getPrinterInfo1()
getPrinterInfo2back to summary
public static Winspool.PRINTER_INFO_2[] getPrinterInfo2()
getPrinterInfo2back to summary
private static Winspool.PRINTER_INFO_2[] getPrinterInfo2(int flags)
getPrinterInfo2back to summary
public static Winspool.PRINTER_INFO_2 getPrinterInfo2(String printerName)
getPrinterInfo4back to summary
public static Winspool.PRINTER_INFO_4[] getPrinterInfo4()