src/share/classes/javax/print/attribute/standard/PrinterResolution.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 42,52 **** * When a client searches looking for a printer that supports the client's * desired resolution exactly (no more, no less), the client specifies * an instance of class PrinterResolution indicating the exact resolution the * client wants. Only printers supporting that exact resolution will match the * search. ! * <P> * <LI> * When a client needs to print a job using the client's desired resolution * exactly (no more, no less), the client specifies an instance of class * PrinterResolution as an attribute of the Print Job. This will fail if the * Print Job doesn't support that exact resolution, and Fidelity is set to --- 42,52 ---- * When a client searches looking for a printer that supports the client's * desired resolution exactly (no more, no less), the client specifies * an instance of class PrinterResolution indicating the exact resolution the * client wants. Only printers supporting that exact resolution will match the * search. ! * * <LI> * When a client needs to print a job using the client's desired resolution * exactly (no more, no less), the client specifies an instance of class * PrinterResolution as an attribute of the Print Job. This will fail if the * Print Job doesn't support that exact resolution, and Fidelity is set to
*** 58,68 **** * supported resolutions, and specify the one that most closely meets * the client's requirements. * In some cases this may be more simply achieved by specifying a * PrintQuality attribute which often controls resolution. * <P> - * <P> * <B>IPP Compatibility:</B> The information needed to construct an IPP * <CODE>"printer-resolution"</CODE> attribute can be obtained by calling * methods on the PrinterResolution object. The category name returned by * <CODE>getName()</CODE> gives the IPP attribute name. * <P> --- 58,67 ----