Uses of Class
com.sap.ip.me.api.pios.printer.PrinterException

Packages that use PrinterException
com.sap.ip.me.api.pios.printer Printer support for the SAP Mobile Infrastructure is offered as part of the Peripheral Input/Output Services.  
 

Uses of PrinterException in com.sap.ip.me.api.pios.printer
 

Methods in com.sap.ip.me.api.pios.printer that throw PrinterException
 void ScalableFont.setFontSize(float size)
          Sets the font size in points.
abstract  Metrics PrinterImage.getMetrics()
          Returns the image field metrics.
 float PrinterFont.getHeight()
          Returns the font height in points.
 Metrics PrinterFont.getMetrics(java.lang.String text)
          Returns the metrics for a particular text.
abstract  int PrinterConnection.getStatus()
          Returns printer status.
abstract  int PrinterConnection.getPrinterDPI()
          Returns the printer's dots per inch (DPI) resolution
abstract  float PrinterConnection.getPrintHeadWidth()
          Returns the printer's print head width in points
abstract  void PrinterConnection.clearError()
          Clear printer error.
abstract  void PrinterConnection.sendRawBytes(byte[] rawBytes)
          Use this method to send bytes to printer.
abstract  PrinterFont[] PrinterConnection.listFonts(float size, int fontType, long options)
          Returns the list of configured fonts sorted by name, filtered by size, font type, and printer font options.
abstract  PrinterFont PrinterConnection.getFont(java.lang.String name)
          Returns a PrinterFont object by name.
abstract  PrinterBarcode PrinterConnection.createBarcode(Symbology symbology, long options)
          Creates a barcode object.
abstract  PrinterImage PrinterConnection.createImage(java.lang.String name, int imageType, byte[] image)
          Creates a printer image from a byte array.
abstract  void PrinterConnection.doPrint(int copies)
          Sends all buffered printing commands to the printer.
abstract  void PrinterConnection.advance(float points)
          Advances the paper forward in points specified by a positive number or backwards in points specified by a negative number.
abstract  void PrinterConnection.dispose()
          Cancels all buffered commands stored by the driver.
abstract  void PrinterConnection.loadImage(PrinterImage image)
          Loads image to printer's memory.
abstract  void PrinterConnection.deleteImage(java.lang.String name)
          Deletes preloaded image from printer's memory.
 Metrics PrinterBarcode.getMetrics(byte[] data)
          Returns the barcode metrics for the encoded data in the barcode.
 void PrinterBarcode.setDensity(int density)
          Sets the density attribute for a barcode.
 void PrinterBarcode.setScaleFactor(int factor)
          Set barcode scale factor.
 void PrinterBarcode.setOptions(long options)
          Sets the barcode options.
abstract  void LinePrinter.setLineSpacing(float points)
          Sets the space between lines.
abstract  void LinePrinter.printText(PrinterFont font, java.lang.String text, int alignment)
          Prints the specified text at the current line position.
abstract  void LinePrinter.printBarcode(PrinterBarcode barcode, byte[] data, int alignment)
          Prints a barcode at current line position.
abstract  void LinePrinter.printImage(java.lang.String imageName, int alignment)
          Prints an image at current line position.
abstract  void LinePrinter.printTransientImage(java.awt.Image img, int alignment)
          Prints a transient image at current line position.
abstract  Metrics GraphicPrinter.getPageMetrics()
          Returns the printer page metrics.
abstract  void GraphicPrinter.drawText(PrinterFont font, float x, float y, java.lang.String text, int rotate)
          Draws a text field using the particular font at the specified coordinates.
abstract  void GraphicPrinter.drawBarcode(PrinterBarcode barcode, float x, float y, byte[] data, int rotate)
          Draws a barcode at the specified coordinates.
abstract  void GraphicPrinter.drawImage(java.lang.String name, float x, float y, int rotate)
          Draws an image at the specified coordinates.
abstract  void GraphicPrinter.drawLine(float x0, float y0, float x1, float y1, float thickness)
          Draws a line using the specified coordinates.
abstract  void GraphicPrinter.drawRectangle(float x, float y, float width, float height, float thickness)
          Draws a rectangle using the specified point coordinate for the left most top corner of the rectangle and the width and height.
abstract  void GraphicPrinter.drawTransientImage(java.awt.Image img, float x, float y, int rotate)
          Draws a transient image at the specified coordinates.
 void BitmappedFont.setWidthFactor(int xFactor)
          Sets the width factor used to increase the standard width of the font.
 void BitmappedFont.setHeightFactor(int yFactor)
          Sets the height factor used to increase the standard height of the font.
 



Copyright © 2005 SAP AG. All Rights Reserved.