com.ibm.rfid.premises.app.entities.printing
Class PrintTemplate

java.lang.Object
  extended by com.ibm.rfid.premises.app.entities.printing.PrintTemplate

public class PrintTemplate
extends java.lang.Object

A PrintTemplate object represents an existing print template on a IBM WebSphere Sensor Events Server. This object cannot create, modify, or delete these IBM WebSphere Sensor Events Server template definitions.

This allows for custom labels to be printed. A PrintTemplate keeps track of a URL string that points to a ZIP file containing the details for this print template.

To learn more about print templates, please visit your printer manufacturer's documentation on how to create customized print templates (or "labels") and

To define a print template, go to the IBM WebSphere Sensor Events Server Admin Console.

To create a PrintTemplate object, please see PremisesAccess.

See Also:
FormData, Label, PremisesAccess.getAllPrintTemplates(), PremisesAccess.getPrintTemplatesOfType(String)

Constructor Summary
PrintTemplate(BasePrintTemplate bpt)
           
 
Method Summary
 java.lang.String getName()
           
 PrinterType getPrinterType()
          Gets the printer type
 java.lang.String getPrinterTypeId()
           
 java.lang.String getUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintTemplate

public PrintTemplate(BasePrintTemplate bpt)
Method Detail

getName

public java.lang.String getName()
Returns:

getPrinterTypeId

public java.lang.String getPrinterTypeId()
Returns:

getUrl

public java.lang.String getUrl()
Returns:

getPrinterType

public PrinterType getPrinterType()
                           throws PremisesAccessException
Gets the printer type

Returns:
a PrinterType object associated with this template
Throws:
PremisesAccessException


Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.