| Modifier and Type | Field and Description |
|---|---|
| private CustomMediaSizeName[] | |
| private MediaPrintableArea[] | |
| private MediaSizeName[] | |
| private MediaTray[] | |
| private OutputBin[] | |
| private static int | |
| private static String | |
| private static final String | |
| private static String | |
| private boolean | |
| private static boolean | |
| private String[] | |
| public int | |
| public int | |
| private String[] | |
| private float[] | |
| private String | |
| private static final double | |
| pack-priv int[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static native boolean | |
| pack-priv static String[] | |
| private static native String | |
| private static native String[] | |
| private static native int | |
| private static native String | |
| pack-priv CustomMediaSizeName[] | |
| public int | |
| pack-priv static String[] | |
| private static String | |
| private static synchronized native String[] | |
| pack-priv MediaPrintableArea[] | |
| pack-priv MediaSizeName[] | |
| pack-priv MediaTray[] | |
| private static synchronized native String[] | |
| pack-priv OutputBin[] | |
| private static synchronized native float[] | |
| public static int | |
| pack-priv int[] | |
| private static synchronized native void | |
| public static String | |
| private static native boolean | |
| private synchronized void | |
| private static void | |
| public static boolean | |
| private static boolean |
| cupsCustomMediaSNames | back to summary |
|---|---|
| private CustomMediaSizeName[] cupsCustomMediaSNames | |
| cupsMediaPrintables | back to summary |
|---|---|
| private MediaPrintableArea[] cupsMediaPrintables | |
| cupsMediaSNames | back to summary |
|---|---|
| private MediaSizeName[] cupsMediaSNames | |
| cupsMediaTrays | back to summary |
|---|---|
| private MediaTray[] cupsMediaTrays | |
| cupsOutputBins | back to summary |
|---|---|
| private OutputBin[] cupsOutputBins | |
| cupsPort | back to summary |
|---|---|
| private static int cupsPort | |
| cupsServer | back to summary |
|---|---|
| private static String cupsServer | |
| debugPrefix | back to summary |
|---|---|
| private static final String debugPrefix | |
| domainSocketPathname | back to summary |
|---|---|
| private static String domainSocketPathname | |
| initialized | back to summary |
|---|---|
| private boolean initialized | |
| libFound | back to summary |
|---|---|
| private static boolean libFound | |
| media | back to summary |
|---|---|
| private String[] media | |
| nPageSizes | back to summary |
|---|---|
| public int nPageSizes | |
| nTrays | back to summary |
|---|---|
| public int nTrays | |
| outputBins | back to summary |
|---|---|
| private String[] outputBins | |
| pageSizes | back to summary |
|---|---|
| private float[] pageSizes | |
| printer | back to summary |
|---|---|
| private String printer | |
| PRINTER_DPI | back to summary |
|---|---|
| private static final double PRINTER_DPI | |
| resolutionsArray | back to summary |
|---|---|
| pack-priv int[] resolutionsArray | |
| CUPSPrinter | back to summary |
|---|---|
| pack-priv CUPSPrinter(String printerName) | |
| canConnect | back to summary |
|---|---|
| private static native boolean canConnect(String server, int port) | |
| getAllPrinters | back to summary |
|---|---|
| pack-priv static String[] getAllPrinters() Get list of all CUPS printers using IPP. | |
| getCupsDefaultPrinter | back to summary |
|---|---|
| private static native String getCupsDefaultPrinter() | |
| getCupsDefaultPrinters | back to summary |
|---|---|
| private static native String[] getCupsDefaultPrinters() | |
| getCupsPort | back to summary |
|---|---|
| private static native int getCupsPort() | |
| getCupsServer | back to summary |
|---|---|
| private static native String getCupsServer() | |
| getCustomMediaSizeNames | back to summary |
|---|---|
| pack-priv CustomMediaSizeName[] getCustomMediaSizeNames() Returns array of Custom MediaSizeNames derived from PPD. | |
| getDefaultMediaIndex | back to summary |
|---|---|
| public int getDefaultMediaIndex() | |
| getDefaultPrinter | back to summary |
|---|---|
| pack-priv static String[] getDefaultPrinter() Get CUPS default printer using IPP. Returns 2 values - index 0 is printer name, index 1 is the uri. | |
| getDomainSocketPathname | back to summary |
|---|---|
| private static String getDomainSocketPathname() Returns CUPS domain socket pathname. | |
| getMedia | back to summary |
|---|---|
| private static synchronized native String[] getMedia(String printer) | |
| getMediaPrintableArea | back to summary |
|---|---|
| pack-priv MediaPrintableArea[] getMediaPrintableArea() Returns array of MediaPrintableArea derived from PPD. | |
| getMediaSizeNames | back to summary |
|---|---|
| pack-priv MediaSizeName[] getMediaSizeNames() Returns array of MediaSizeNames derived from PPD. | |
| getMediaTrays | back to summary |
|---|---|
| pack-priv MediaTray[] getMediaTrays() Returns array of MediaTrays derived from PPD. | |
| getOutputBins | back to summary |
|---|---|
| private static synchronized native String[] getOutputBins(String printer) | |
| getOutputBins | back to summary |
|---|---|
| pack-priv OutputBin[] getOutputBins() Returns array of OutputBins derived from PPD. | |
| getPageSizes | back to summary |
|---|---|
| private static synchronized native float[] getPageSizes(String printer) | |
| getPort | back to summary |
|---|---|
| public static int getPort() Returns CUPS port number. | |
| getRawResolutions | back to summary |
|---|---|
| pack-priv int[] getRawResolutions() return the raw packed array of supported printer resolutions. | |
| getResolutions | back to summary |
|---|---|
| private static synchronized native void getResolutions(String printer, ArrayList<Integer> resolutionList) | |
| getServer | back to summary |
|---|---|
| public static String getServer() Returns CUPS server name. | |
| initIDs | back to summary |
|---|---|
| private static native boolean initIDs() | |
| initMedia | back to summary |
|---|---|
| private synchronized void initMedia() Initialize media by translating PPD info to PrintService attributes. | |
| initStatic | back to summary |
|---|---|
private static void initStatic()
| |
| isCupsRunning | back to summary |
|---|---|
| public static boolean isCupsRunning() Detects if CUPS is running. | |
| isSandboxedApp | back to summary |
|---|---|
| private static boolean isSandboxedApp() | |