javax.print.attribute.standard

Class MediaSizeName

  • All Implemented Interfaces:
    Serializable, Cloneable, Attribute, DocAttribute, PrintJobAttribute, PrintRequestAttribute

    public class MediaSizeName
    extends Media
    Class MediaSizeName is a subclass of Media.

    This attribute can be used instead of specifying MediaName or MediaTray.

    Class MediaSizeName currently declares a few standard media name values.

    IPP Compatibility: MediaSizeName is a representation class for values of the IPP "media" attribute which names media sizes. The names of the media sizes correspond to those in the IPP 1.1 RFC RFC 2911

    See Also:
    Serialized Form
    • Field Detail

      • ISO_B10

        public static final MediaSizeName ISO_B10
        ISO B10 size.
      • JIS_B10

        public static final MediaSizeName JIS_B10
        JIS B10 size.
      • NA_LETTER

        public static final MediaSizeName NA_LETTER
        letter size.
      • public static final MediaSizeName NA_LEGAL
        legal size .
      • EXECUTIVE

        public static final MediaSizeName EXECUTIVE
        executive size .
      • TABLOID

        public static final MediaSizeName TABLOID
        tabloid size .
      • INVOICE

        public static final MediaSizeName INVOICE
        invoice size .
      • JAPANESE_POSTCARD

        public static final MediaSizeName JAPANESE_POSTCARD
        Japanese Postcard size.
      • JAPANESE_DOUBLE_POSTCARD

        public static final MediaSizeName JAPANESE_DOUBLE_POSTCARD
        Japanese Double Postcard size.
      • ISO_DESIGNATED_LONG

        public static final MediaSizeName ISO_DESIGNATED_LONG
        ISO designated long size .
      • ITALY_ENVELOPE

        public static final MediaSizeName ITALY_ENVELOPE
        Italy envelope size .
      • MONARCH_ENVELOPE

        public static final MediaSizeName MONARCH_ENVELOPE
        monarch envelope size .
      • PERSONAL_ENVELOPE

        public static final MediaSizeName PERSONAL_ENVELOPE
        personal envelope size .
      • NA_NUMBER_9_ENVELOPE

        public static final MediaSizeName NA_NUMBER_9_ENVELOPE
        number 9 envelope size .
      • NA_NUMBER_10_ENVELOPE

        public static final MediaSizeName NA_NUMBER_10_ENVELOPE
        number 10 envelope size .
      • NA_NUMBER_11_ENVELOPE

        public static final MediaSizeName NA_NUMBER_11_ENVELOPE
        number 11 envelope size .
      • NA_NUMBER_12_ENVELOPE

        public static final MediaSizeName NA_NUMBER_12_ENVELOPE
        number 12 envelope size .
      • NA_NUMBER_14_ENVELOPE

        public static final MediaSizeName NA_NUMBER_14_ENVELOPE
        number 14 envelope size .
      • NA_6X9_ENVELOPE

        public static final MediaSizeName NA_6X9_ENVELOPE
        6x9 North American envelope size.
      • NA_7X9_ENVELOPE

        public static final MediaSizeName NA_7X9_ENVELOPE
        7x9 North American envelope size.
      • NA_9X11_ENVELOPE

        public static final MediaSizeName NA_9X11_ENVELOPE
        9x11 North American envelope size.
      • NA_9X12_ENVELOPE

        public static final MediaSizeName NA_9X12_ENVELOPE
        9x12 North American envelope size.
      • NA_10X13_ENVELOPE

        public static final MediaSizeName NA_10X13_ENVELOPE
        10x13 North American envelope size .
      • NA_10X14_ENVELOPE

        public static final MediaSizeName NA_10X14_ENVELOPE
        10x14North American envelope size .
      • NA_10X15_ENVELOPE

        public static final MediaSizeName NA_10X15_ENVELOPE
        10x15 North American envelope size.
      • NA_5X7

        public static final MediaSizeName NA_5X7
        5x7 North American paper.
      • NA_8X10

        public static final MediaSizeName NA_8X10
        8x10 North American paper.
    • Constructor Detail

      • MediaSizeName

        protected MediaSizeName(int value)
        Construct a new media size enumeration value with the given integer value.
        Parameters:
        value - Integer value.
    • Method Detail

      • getStringTable

        protected String[] getStringTable()
        Returns the string table for class MediaSizeName.
        Overrides:
        getStringTable in class EnumSyntax
        Returns:
        the string table
      • getEnumValueTable

        protected EnumSyntax[] getEnumValueTable()
        Returns the enumeration value table for class MediaSizeName.
        Overrides:
        getEnumValueTable in class EnumSyntax
        Returns:
        the value table

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/print/attribute/standard/mediasizename.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut