com.neva
Class JPrint

java.lang.Object
  |
  +--com.neva.JPrint

public class JPrint
extends java.lang.Object


Field Summary
static int BKMODE_OPAQUE
           
static int BKMODE_TRANSPARENT
           
static int BS_DIBPATTERN
           
static int BS_DIBPATTERN8X8
           
static int BS_DIBPATTERNPT
           
static int BS_HATCHED
           
static int BS_HOLLOW
           
static int BS_INDEXED
           
static int BS_NULL
           
static int BS_PATTERN
           
static int BS_PATTERN8X8
           
static int BS_SOLID
           
static int CS_ANSI_CHARSET
           
static int CS_ARABIC_CHARSET
           
static int CS_BALTIC_CHARSET
           
static int CS_CHINESEBIG5_CHARSET
           
static int CS_DEFAULT_CHARSET
           
static int CS_EASTEUROPE_CHARSET
           
static int CS_GB2312_CHARSET
           
static int CS_GREEK_CHARSET
           
static int CS_HANGEUL_CHARSET
           
static int CS_HEBREW_CHARSET
           
static int CS_JOHAB_CHARSET
           
static int CS_MAC_CHARSET
           
static int CS_OEM_CHARSET
           
static int CS_RUSSIAN_CHARSET
           
static int CS_SHIFTJIS_CHARSET
           
static int CS_SYMBOL_CHARSET
           
static int CS_THAI_CHARSET
           
static int CS_TURKISH_CHARSET
           
static int CS_VIETNAMESE_CHARSET
           
static int DEVCAPS_ASPECTX
          Length of the X leg
static int DEVCAPS_ASPECTXY
          Length of the hypotenuse
static int DEVCAPS_ASPECTY
          Length of the Y leg
static int DEVCAPS_BITSPIXEL
          Number of bits per pixel
static int DEVCAPS_CLIPCAPS
          Clipping capabilities
static int DEVCAPS_COLORRES
          Actual color resolution
static int DEVCAPS_CURVECAPS
          Curve capabilities
static int DEVCAPS_DRIVERVERSION
          Device driver version
static int DEVCAPS_HORZRES
          Horizontal width in pixels
static int DEVCAPS_HORZSIZE
          Horizontal size in millimeters
static int DEVCAPS_LINECAPS
          Line capabilities
static int DEVCAPS_LOGPIXELSX
          Logical pixels/inch in X
static int DEVCAPS_LOGPIXELSY
          Logical pixels/inch in Y
static int DEVCAPS_NUMBRUSHES
          Number of brushes the device has
static int DEVCAPS_NUMCOLORS
          Number of colors the device supports
static int DEVCAPS_NUMFONTS
          Number of fonts the device has
static int DEVCAPS_NUMMARKERS
          Number of markers the device has
static int DEVCAPS_NUMPENS
          Number of pens the device has
static int DEVCAPS_NUMRESERVED
          Number of reserved entries in palette
static int DEVCAPS_PDEVICESIZE
          Size required for device descriptor
static int DEVCAPS_PHYSICALHEIGHT
          Physical Height in device units
static int DEVCAPS_PHYSICALOFFSETX
          Physical Printable Area x margin
static int DEVCAPS_PHYSICALOFFSETY
          Physical Printable Area y margin
static int DEVCAPS_PHYSICALWIDTH
          Physical Width in device units
static int DEVCAPS_PLANES
          Number of planes
static int DEVCAPS_POLYGONALCAPS
          Polygonal capabilities
static int DEVCAPS_RASTERCAPS
          Bitblt capabilities
static int DEVCAPS_SCALINGFACTORX
          Scaling factor x
static int DEVCAPS_SCALINGFACTORY
          Scaling factor y
static int DEVCAPS_SIZEPALETTE
          Number of entries in physical palette
static int DEVCAPS_TECHNOLOGY
          Device classification
static int DEVCAPS_TEXTCAPS
          Text capabilities
static int DEVCAPS_VERTRES
          Vertical height in pixels
static int DEVCAPS_VERTSIZE
          Vertical size in millimeters
static int DM_COLOR
           
static int DM_DEFAULTSOURCE
           
static int DM_DUPLEX
           
static int DM_ORIENTATION
           
static int DM_PAPERLENGTH
           
static int DM_PAPERSIZE
           
static int DM_PAPERWIDTH
           
static int DM_PRINTQUALITY
           
static int DMBIN_AUTO
           
static int DMBIN_CASSETTE
           
static int DMBIN_ENVELOPE
           
static int DMBIN_ENVMANUAL
           
static int DMBIN_FIRST
           
static int DMBIN_FORMSOURCE
           
static int DMBIN_LARGECAPACITY
           
static int DMBIN_LARGEFMT
           
static int DMBIN_LOWER
           
static int DMBIN_MANUAL
           
static int DMBIN_MIDDLE
           
static int DMBIN_ONLYONE
           
static int DMBIN_SMALLFMT
           
static int DMBIN_TRACTOR
           
static int DMBIN_UPPER
           
static int DMCOLOR_COLOR
           
static int DMCOLOR_MONOCHROME
           
static int DMDUP_HORIZONTAL
           
static int DMDUP_SIMPLEX
           
static int DMDUP_VERTICAL
           
static int DMORIENT_LANDSCAPE
           
static int DMORIENT_PORTRAIT
           
static int DMRES_DRAFT
           
static int DMRES_HIGH
           
static int DMRES_LOW
           
static int DMRES_MEDIUM
           
static int DT_BOTTOM
           
static int DT_CALCRECT
           
static int DT_CENTER
           
static int DT_EXPANDTABS
           
static int DT_EXTERNALLEADING
           
static int DT_INTERNAL
           
static int DT_LEFT
           
static int DT_NOCLIP
           
static int DT_NOPREFIX
           
static int DT_RIGHT
           
static int DT_SINGLELINE
           
static int DT_TABSTOP
           
static int DT_TOP
           
static int DT_VCENTER
           
static int DT_WORDBREAK
           
static int FW_BOLD
           
static int FW_DONTCARE
           
static int FW_EXTRABOLD
           
static int FW_EXTRALIGHT
           
static int FW_HEAVY
           
static int FW_LIGHT
           
static int FW_MEDIUM
           
static int FW_NORMAL
           
static int FW_SEMIBOLD
           
static int FW_THIN
           
 int horzPix
           
 int horzSize
           
static int HS_BDIAGONAL
           
static int HS_CROSS
           
static int HS_DIAGCROSS
           
static int HS_FDIAGONAL
           
static int HS_HORIZONTAL
           
static int HS_VERTICAL
           
 int logPixSx
           
 int logPixSy
           
static int OUT_CHARACTER_PRECIS
           
static int OUT_DEFAULT_PRECIS
           
static int OUT_DEVICE_PRECIS
           
static int OUT_OUTLINE_PRECIS
           
static int OUT_RASTER_PRECIS
           
static int OUT_SCREEN_OUTLINE_PRECIS
           
static int OUT_STRING_PRECIS
           
static int OUT_STROKE_PRECIS
           
static int OUT_TT_ONLY_PRECIS
           
static int OUT_TT_PRECIS
           
static int PD_ALLPAGES
           
static int PD_NOPAGENUMS
           
static int PD_NOSELECTION
           
static int PD_PAGENUMS
           
static int PD_PRINTTOFILE
           
static int PD_RETURNDC
           
static int PD_RETURNDEFAULT
           
static int PD_SELECTION
           
static int PS_ALTERNATE
           
static int PS_DASH
           
static int PS_DASHDOT
           
static int PS_DASHDOTDOT
           
static int PS_DOT
           
static int PS_INSIDEFRAME
           
static int PS_NULL
           
static int PS_SOLID
           
static int PS_USERSTYLE
           
static int ROP_NOTSRCCOPY
           
static int ROP_SRCAND
           
static int ROP_SRCCOPY
           
static int ROP_SRCERASE
           
static int ROP_SRCINVERT
           
static int ROP_SRCPAINT
           
static int STRETCH_BLACKONWHITE
           
static int STRETCH_COLORONCOLOR
           
static int STRETCH_HALFTONE
           
static int STRETCH_WHITEONBLACK
           
static int TA_BASELINE
           
static int TA_BOTTOM
           
static int TA_CENTER
           
static int TA_LEFT
           
static int TA_NOUPDATECP
           
static int TA_RIGHT
           
static int TA_TOP
           
static int TA_UPDATECP
           
static int VER_PLATFORM_WIN32_NT
           
static int VER_PLATFORM_WIN32_WINDOWS
           
 int vertPix
           
 int vertSize
           
 
Constructor Summary
JPrint()
           
 
Method Summary
static boolean ClosePrinter(int printerHandle)
          Closes the specified printer.
static int CreateDC(java.lang.String device, byte[] devmode)
           
 boolean drawBarcode39(java.lang.String _data, int width, int height, int x, int y)
          Draws a Code39 (sometimes called Code 3 from 9) barcode at the specified logical location x,y (coordinates of the upper-left corner in logical units).
 boolean DrawEllipse(java.awt.Rectangle rect)
          Draws an ellipse within a bounding rectangle rect.
 boolean DrawFrame(java.awt.Rectangle rect)
          Draws a border around the specified rectangle.
 boolean DrawImage(java.awt.Image im, int x, int y)
          Draws an Image at the specified logical location with ROP code set to ROP_SCRCOPY and scaling factors equal to 1.0f.
 boolean DrawImage(java.awt.Image im, int atx, int aty, int rop, float scalew, float scaleh)
          Draws an Image at the specified logical location.
 boolean DrawRectangle(java.awt.Rectangle rect)
          Draws a rectangle rect outlined by using the current pen and filled by using the current brush.
 boolean DrawRoundRectangle(java.awt.Rectangle rect, int width, int height)
          Draws a rectangle rect with rounded corners outlined by using the current pen and filled by using the current brush.
 boolean DrawText(java.lang.String text, int x, int y)
          Draws a character string text at the specified logical location, using the currently selected font and the current text-alignment mode.
 boolean DrawText(java.lang.String text, java.awt.Point refPoint)
          Draws a character string text at the specified logical location, using the currently selected font and the current text-alignment mode.
 int DrawText(java.lang.String text, java.awt.Rectangle rect)
          Draws a character string text in the specified rectangle using the currently selected font.
 int DrawText(java.lang.String text, java.awt.Rectangle rect, int format)
          Draws a character string text in the specified rectangle using the currently selected font.
 boolean DrawTextUnicode(java.lang.String text, int x, int y)
          Draws a unicode text at the specified logical location, using the currently selected font and the current text-alignment mode.
 boolean DrawTextUnicode(java.lang.String text, java.awt.Point refPoint)
          Draws a unocode text at the specified logical location, using the currently selected font and the current text-alignment mode.
 int DrawTextUnicode(java.lang.String text, java.awt.Rectangle rect)
          Draws a unicode text in the specified rectangle using the currently selected font.
 int DrawTextUnicode(java.lang.String text, java.awt.Rectangle rect, int format)
          Draws a unicode text in the specified rectangle using the currently selected font.
 boolean drawUPCBarcode(java.lang.String _data, int width, int height, int x, int y)
          Draws a UPC-A barcode at the specified logical location x,y (coordinates of the upper-left corner in logical units).
 boolean EndDoc()
          Ends the document and releases the printer.
static boolean EndDocPrinter(int printerHandle)
          Ends a print job for the specified printer.
 boolean EndPage()
          Ends a page.
static boolean EndPagePrinter(int printerHandle)
          Tells the print spooler that the page is complete.
static java.lang.String[] EnumeratePrinters(java.lang.String scope)
          Enumerates available printers, print servers, or domains.
static PrintJobInfo[] EnumJobs(int printerHandle)
          Answers information about print jobs in the printer queue for a specified printer
static PrintJobInfo[] EnumJobs(java.lang.String name)
          Answers information about print jobs in the printer queue for a specified printer
 java.awt.Color GetBkColor()
          Answers the background color.
 int GetBkMode()
           
 java.awt.Point GetCurrentPosition()
          Answers the current position in logical coordinates
 boolean GetDefaultPrinter(int nCopies)
          Creates a device context for the system default printer.
static java.lang.String[] GetDeviceCapabilities_AvailableBinNames(java.lang.String printerName, java.lang.String portName)
           
static int[] GetDeviceCapabilities_AvailableBins(java.lang.String printerName, java.lang.String portName)
           
static boolean GetDeviceCapabilities_DuplexSupport(java.lang.String printerName, java.lang.String portName)
           
static int GetDeviceCapabilities_Landscape(java.lang.String printerName, java.lang.String portName)
           
static int GetDeviceCapabilities_NumberOfCopies(java.lang.String printerName, java.lang.String portName)
           
static java.lang.String[] GetDeviceCapabilities_PaperNames(java.lang.String printerName, java.lang.String portName)
           
static int[] GetDeviceCapabilities_Papers(java.lang.String printerName, java.lang.String portName)
           
static int GetDeviceCapabilities_TrueType(java.lang.String printerName, java.lang.String portName)
           
static int GetDeviceCapabilities_XXX(java.lang.String printerName, java.lang.String portName, int query)
           
 int GetDeviceCaps(int index)
          Answers printer-specific information.
static byte[] GetDocumentProperties(int printerHandle, boolean prompt)
           
 java.awt.FontMetrics GetFontMetrics(java.awt.Font font)
          Selects a Font into the printer context and answers the metrics for it.
 java.awt.Dimension GetImageExtent(java.awt.Image im)
          Calculates the width and the height the specified Image it would have on the printed page.
static int GetOSVersion()
           
 java.awt.Dimension GetPageDimension()
          Answers the dimensions of the page in pixels.
 java.awt.Dimension GetPageResolution()
          Answers the resolution of the page in pixels-per-logical-inch (DPI)
 boolean GetPrinter()
          Opens the Print dialog and enables the user to select a printer and options for a particular print job.
 boolean GetPrinter(byte[] dmode)
          Opens the Print dialog and enables the user to select a printer and options for a particular print job.
 boolean GetPrinter(int nCopies)
          Opens the Print dialog and enables the user to select a printer and options for a particular print job.
 boolean GetPrinter(int flags, int nCopies)
          Opens the Print dialog and enables the user to select a printer and options for a particular print job.
 boolean GetPrinter(int flags, int nCopies, int from, int to)
          Opens the Print dialog and enables the user to select a printer and options for a particular print job.
 boolean GetPrinter(java.lang.String name)
          Creates a device context for the printer given by its name.
 boolean GetPrinter(java.lang.String name, byte[] dmode)
          Creates a device context for the printer given by its name.
 boolean GetPrinter(java.lang.String name, int nCopies)
          Creates a device context for the printer given by its name.
 boolean GetPrinter(java.lang.String name, int nCopies, byte[] dmode)
          Creates a device context for the printer given by its name.
 boolean GetPrinterEx(int flags, int nCopies, int from, int to, byte[] dmode)
          Opens the Print dialog and enables the user to select a printer and options for a particular print job.
static PrinterInfo GetPrinterInfo(int printerHandle)
          Answers a PrinterInfo that contains detailed printer information.
static PrinterInfo GetPrinterInfo(java.lang.String name)
          Answers a PrinterInfo that contains detailed printer information.
 java.lang.String GetPrinterName()
           
 byte[] GetPrinterProperties(java.lang.String name)
          Answers an array of printer properties.
static PrintJobInfo[] GetPrinterStatus(int printerHandle)
          Answers information about print jobs in the printer queue for a specified printer
static PrintJobInfo[] GetPrinterStatus(java.lang.String name)
          Answers information about print jobs in the printer queue for a specified printer
 java.awt.Color GetTextColor()
          Answers the text color.
 java.awt.Dimension GetTextExtent(java.lang.String text)
          Calculates the width and the height of the specified character string text using the currently selected font.
 java.lang.String GetTextFace()
          Answers the typeface name of the font that is currently selected
 java.awt.Font GetTextFont()
          Answers the font that is currently selected
 boolean LineTo(int x, int y)
          Draws a line from the current position up to the specified point (x , y) , in logical units, using currently selected pen.
 boolean MoveTo(int x, int y)
          Updates the current position to the specified point (x , y) , in logical units.
static int OpenPrinter(java.lang.String name)
          Opens the specified printer or print server.
 boolean Polyline(java.awt.Polygon poly)
          Draws specified polygon using currently selected pen.
 int PrintDialogReturnCopies()
           
 int PrintDialogReturnFlags()
           
 int PrintDialogReturnFromPage()
           
 int PrintDialogReturnToPage()
           
 int PrintFlags()
          Answers PD_* flags set by the Print dialog
 void ReleasePrinter()
          Destroys printer's device context and releases associated fonts, pens, brushes objects.
 boolean SelectBrush(int style, int hatch)
          Creates a logical brush that has the specified style and hatch Brush is seleted into the printer context to be used by subsequent draw functions.
 boolean SelectBrush(int style, int hatch, java.awt.Color color)
          Creates a logical brush that has the specified style and hatch Brush is seleted into the printer context to be used by subsequent draw functions.
 boolean SelectFont(java.awt.Font font)
          Selects a Font into the printer context to be used by subsequent DrawText() calls.
 boolean SelectFont(java.awt.Font font, int orientation)
          Selects a Font into the printer context to be used by subsequent DrawText() calls.
 boolean SelectFont(java.awt.Font font, int orientation, int precis)
          Selects a Font into the printer context to be used by subsequent DrawText() calls.
 boolean SelectOrientation(int orientation)
          Specifies the angle, in degrees, between the text and the x-axis to be used by subsequent DrawText() calls with the currently selected font.
 boolean SelectPen(int style, int width)
          Creates a logical pen that has the specified style and width in logical units.
 boolean SelectPen(int style, int width, java.awt.Color color)
          Creates a logical pen that has the specified style and width in logical units.
 java.awt.Color SetBkColor(java.awt.Color co)
          Sets the current background color to the specified RGB color value.
 int SetBkModeOpaque()
           
 int SetBkModeTransparent()
           
 boolean SetOrientation2Landscape()
          Sets page orientation to Landscape mode if the driver supports it.
 boolean SetOrientation2Portrait()
          Sets page orientation to Portrait mode if the driver supports it.
 boolean SetPageOrientation(int orientation)
          Sets page orientation.
 void SetPrintDialogOwner(int wnd)
           
static void SetPrinterProperty_Color(byte[] prop, boolean printColor)
          Sets boolean Color property in printer property array prop.
static void SetPrinterProperty_OrientationLandscape(byte[] prop)
          Sets Portarait orientation in printer property array prop.
static void SetPrinterProperty_OrientationPortarait(byte[] prop)
          Sets Portarait orientation in printer property array prop.
static void SetPrinterProperty_PaperDimension(byte[] prop, int length, int width)
          Sets Paper Dimension in printer property array prop.
static void SetPrinterProperty_PaperSize(byte[] prop, int size)
          Sets Paper Size in printer property array prop.
static void SetPrinterProperty_PaperSource(byte[] prop, int paperSource)
          Sets integer Paper Source property in printer property array prop.
static void SetPrinterProperty_PrintQuality(byte[] prop, int quality)
           
 int SetTextAlign(int align)
          Sets the text-alignment flags which determine how text is positioned relative to a given location.
 java.awt.Color SetTextColor(java.awt.Color co)
          Sets the text color to the specified color value.
 int StartDoc(java.lang.String docname)
          Begins a print job.
 int StartDoc(java.lang.String docname, java.lang.String outfile)
          Begins a print job.
static int StartDocPrinter(int printerHandle, java.lang.String doc)
          Tells the print spooler that a document is to be spooled for printing.
 boolean StartPage()
          Begins a page.
static boolean StartPagePrinter(int printerHandle)
          Tells the print spooler that a page is about to be printed.
 boolean UseHalftonePallete()
          Creates a halftone palette and realizes it into the printer device context.
static int WritePrinter(int printerHandle, byte[] data)
          Writes an array of bytes to the specified printer.
static int WritePrinter(int printerHandle, java.lang.String data)
          Writes a String to the specified printer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BKMODE_OPAQUE

public static final int BKMODE_OPAQUE

BKMODE_TRANSPARENT

public static final int BKMODE_TRANSPARENT

BS_DIBPATTERN

public static final int BS_DIBPATTERN

BS_DIBPATTERN8X8

public static final int BS_DIBPATTERN8X8

BS_DIBPATTERNPT

public static final int BS_DIBPATTERNPT

BS_HATCHED

public static final int BS_HATCHED

BS_HOLLOW

public static final int BS_HOLLOW

BS_INDEXED

public static final int BS_INDEXED

BS_NULL

public static final int BS_NULL

BS_PATTERN

public static final int BS_PATTERN

BS_PATTERN8X8

public static final int BS_PATTERN8X8

BS_SOLID

public static final int BS_SOLID

CS_ANSI_CHARSET

public static final int CS_ANSI_CHARSET

CS_ARABIC_CHARSET

public static final int CS_ARABIC_CHARSET

CS_BALTIC_CHARSET

public static final int CS_BALTIC_CHARSET

CS_CHINESEBIG5_CHARSET

public static final int CS_CHINESEBIG5_CHARSET

CS_DEFAULT_CHARSET

public static final int CS_DEFAULT_CHARSET

CS_EASTEUROPE_CHARSET

public static final int CS_EASTEUROPE_CHARSET

CS_GB2312_CHARSET

public static final int CS_GB2312_CHARSET

CS_GREEK_CHARSET

public static final int CS_GREEK_CHARSET

CS_HANGEUL_CHARSET

public static final int CS_HANGEUL_CHARSET

CS_HEBREW_CHARSET

public static final int CS_HEBREW_CHARSET

CS_JOHAB_CHARSET

public static final int CS_JOHAB_CHARSET

CS_MAC_CHARSET

public static final int CS_MAC_CHARSET

CS_OEM_CHARSET

public static final int CS_OEM_CHARSET

CS_RUSSIAN_CHARSET

public static final int CS_RUSSIAN_CHARSET

CS_SHIFTJIS_CHARSET

public static final int CS_SHIFTJIS_CHARSET

CS_SYMBOL_CHARSET

public static final int CS_SYMBOL_CHARSET

CS_THAI_CHARSET

public static final int CS_THAI_CHARSET

CS_TURKISH_CHARSET

public static final int CS_TURKISH_CHARSET

CS_VIETNAMESE_CHARSET

public static final int CS_VIETNAMESE_CHARSET

DEVCAPS_ASPECTX

public static final int DEVCAPS_ASPECTX
Length of the X leg

DEVCAPS_ASPECTXY

public static final int DEVCAPS_ASPECTXY
Length of the hypotenuse

DEVCAPS_ASPECTY

public static final int DEVCAPS_ASPECTY
Length of the Y leg

DEVCAPS_BITSPIXEL

public static final int DEVCAPS_BITSPIXEL
Number of bits per pixel

DEVCAPS_CLIPCAPS

public static final int DEVCAPS_CLIPCAPS
Clipping capabilities

DEVCAPS_COLORRES

public static final int DEVCAPS_COLORRES
Actual color resolution

DEVCAPS_CURVECAPS

public static final int DEVCAPS_CURVECAPS
Curve capabilities

DEVCAPS_DRIVERVERSION

public static final int DEVCAPS_DRIVERVERSION
Device driver version

DEVCAPS_HORZRES

public static final int DEVCAPS_HORZRES
Horizontal width in pixels

DEVCAPS_HORZSIZE

public static final int DEVCAPS_HORZSIZE
Horizontal size in millimeters

DEVCAPS_LINECAPS

public static final int DEVCAPS_LINECAPS
Line capabilities

DEVCAPS_LOGPIXELSX

public static final int DEVCAPS_LOGPIXELSX
Logical pixels/inch in X

DEVCAPS_LOGPIXELSY

public static final int DEVCAPS_LOGPIXELSY
Logical pixels/inch in Y

DEVCAPS_NUMBRUSHES

public static final int DEVCAPS_NUMBRUSHES
Number of brushes the device has

DEVCAPS_NUMCOLORS

public static final int DEVCAPS_NUMCOLORS
Number of colors the device supports

DEVCAPS_NUMFONTS

public static final int DEVCAPS_NUMFONTS
Number of fonts the device has

DEVCAPS_NUMMARKERS

public static final int DEVCAPS_NUMMARKERS
Number of markers the device has

DEVCAPS_NUMPENS

public static final int DEVCAPS_NUMPENS
Number of pens the device has

DEVCAPS_NUMRESERVED

public static final int DEVCAPS_NUMRESERVED
Number of reserved entries in palette

DEVCAPS_PDEVICESIZE

public static final int DEVCAPS_PDEVICESIZE
Size required for device descriptor

DEVCAPS_PHYSICALHEIGHT

public static final int DEVCAPS_PHYSICALHEIGHT
Physical Height in device units

DEVCAPS_PHYSICALOFFSETX

public static final int DEVCAPS_PHYSICALOFFSETX
Physical Printable Area x margin

DEVCAPS_PHYSICALOFFSETY

public static final int DEVCAPS_PHYSICALOFFSETY
Physical Printable Area y margin

DEVCAPS_PHYSICALWIDTH

public static final int DEVCAPS_PHYSICALWIDTH
Physical Width in device units

DEVCAPS_PLANES

public static final int DEVCAPS_PLANES
Number of planes

DEVCAPS_POLYGONALCAPS

public static final int DEVCAPS_POLYGONALCAPS
Polygonal capabilities

DEVCAPS_RASTERCAPS

public static final int DEVCAPS_RASTERCAPS
Bitblt capabilities

DEVCAPS_SCALINGFACTORX

public static final int DEVCAPS_SCALINGFACTORX
Scaling factor x

DEVCAPS_SCALINGFACTORY

public static final int DEVCAPS_SCALINGFACTORY
Scaling factor y

DEVCAPS_SIZEPALETTE

public static final int DEVCAPS_SIZEPALETTE
Number of entries in physical palette

DEVCAPS_TECHNOLOGY

public static final int DEVCAPS_TECHNOLOGY
Device classification

DEVCAPS_TEXTCAPS

public static final int DEVCAPS_TEXTCAPS
Text capabilities

DEVCAPS_VERTRES

public static final int DEVCAPS_VERTRES
Vertical height in pixels

DEVCAPS_VERTSIZE

public static final int DEVCAPS_VERTSIZE
Vertical size in millimeters

DM_COLOR

public static final int DM_COLOR

DM_DEFAULTSOURCE

public static final int DM_DEFAULTSOURCE

DM_DUPLEX

public static final int DM_DUPLEX

DM_ORIENTATION

public static final int DM_ORIENTATION

DM_PAPERLENGTH

public static final int DM_PAPERLENGTH

DM_PAPERSIZE

public static final int DM_PAPERSIZE

DM_PAPERWIDTH

public static final int DM_PAPERWIDTH

DM_PRINTQUALITY

public static final int DM_PRINTQUALITY

DMBIN_AUTO

public static final int DMBIN_AUTO

DMBIN_CASSETTE

public static final int DMBIN_CASSETTE

DMBIN_ENVELOPE

public static final int DMBIN_ENVELOPE

DMBIN_ENVMANUAL

public static final int DMBIN_ENVMANUAL

DMBIN_FIRST

public static final int DMBIN_FIRST

DMBIN_FORMSOURCE

public static final int DMBIN_FORMSOURCE

DMBIN_LARGECAPACITY

public static final int DMBIN_LARGECAPACITY

DMBIN_LARGEFMT

public static final int DMBIN_LARGEFMT

DMBIN_LOWER

public static final int DMBIN_LOWER

DMBIN_MANUAL

public static final int DMBIN_MANUAL

DMBIN_MIDDLE

public static final int DMBIN_MIDDLE

DMBIN_ONLYONE

public static final int DMBIN_ONLYONE

DMBIN_SMALLFMT

public static final int DMBIN_SMALLFMT

DMBIN_TRACTOR

public static final int DMBIN_TRACTOR

DMBIN_UPPER

public static final int DMBIN_UPPER

DMCOLOR_COLOR

public static final int DMCOLOR_COLOR

DMCOLOR_MONOCHROME

public static final int DMCOLOR_MONOCHROME

DMDUP_HORIZONTAL

public static final int DMDUP_HORIZONTAL

DMDUP_SIMPLEX

public static final int DMDUP_SIMPLEX

DMDUP_VERTICAL

public static final int DMDUP_VERTICAL

DMORIENT_LANDSCAPE

public static final int DMORIENT_LANDSCAPE

DMORIENT_PORTRAIT

public static final int DMORIENT_PORTRAIT

DMRES_DRAFT

public static final int DMRES_DRAFT

DMRES_HIGH

public static final int DMRES_HIGH

DMRES_LOW

public static final int DMRES_LOW

DMRES_MEDIUM

public static final int DMRES_MEDIUM

DT_BOTTOM

public static final int DT_BOTTOM

DT_CALCRECT

public static final int DT_CALCRECT

DT_CENTER

public static final int DT_CENTER

DT_EXPANDTABS

public static final int DT_EXPANDTABS

DT_EXTERNALLEADING

public static final int DT_EXTERNALLEADING

DT_INTERNAL

public static final int DT_INTERNAL

DT_LEFT

public static final int DT_LEFT

DT_NOCLIP

public static final int DT_NOCLIP

DT_NOPREFIX

public static final int DT_NOPREFIX

DT_RIGHT

public static final int DT_RIGHT

DT_SINGLELINE

public static final int DT_SINGLELINE

DT_TABSTOP

public static final int DT_TABSTOP

DT_TOP

public static final int DT_TOP

DT_VCENTER

public static final int DT_VCENTER

DT_WORDBREAK

public static final int DT_WORDBREAK

FW_BOLD

public static final int FW_BOLD

FW_DONTCARE

public static final int FW_DONTCARE

FW_EXTRABOLD

public static final int FW_EXTRABOLD

FW_EXTRALIGHT

public static final int FW_EXTRALIGHT

FW_HEAVY

public static final int FW_HEAVY

FW_LIGHT

public static final int FW_LIGHT

FW_MEDIUM

public static final int FW_MEDIUM

FW_NORMAL

public static final int FW_NORMAL

FW_SEMIBOLD

public static final int FW_SEMIBOLD

FW_TH