addbk.print
Class LabelPrinter
java.lang.Object
addbk.print.LabelPrinter
- All Implemented Interfaces:
- java.awt.print.Pageable
public class LabelPrinter
- extends java.lang.Object
- implements java.awt.print.Pageable
Fields inherited from interface java.awt.print.Pageable |
UNKNOWN_NUMBER_OF_PAGES |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LabelPrinter
public LabelPrinter(AddressDataBase db,
java.awt.Font f)
getNumberOfPages
public int getNumberOfPages()
- Specified by:
getNumberOfPages
in interface java.awt.print.Pageable
getPrintable
public java.awt.print.Printable getPrintable(int pageIndex)
- Specified by:
getPrintable
in interface java.awt.print.Pageable
getPageFormat
public java.awt.print.PageFormat getPageFormat(int pageIndex)
- Specified by:
getPageFormat
in interface java.awt.print.Pageable
print
public void print(AddressDataBase db,
java.awt.print.PrinterJob pj)