|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.services.devices.MCASerialPort
com.bankframe.services.devices.SlipPrinter.SlipPrinter
public class SlipPrinter
This class provides access to a Slip Printer
| Field Summary |
|---|
| Fields inherited from class com.bankframe.services.devices.MCASerialPort |
|---|
SERIALPORT_BAUD, SERIALPORT_COMMDRIVER, SERIALPORT_DATABITS, SERIALPORT_FLOWCONTROL, SERIALPORT_NAME, SERIALPORT_PARITY, SERIALPORT_STOPBITS |
| Fields inherited from interface javax.comm.CommPortOwnershipListener |
|---|
PORT_OWNED, PORT_OWNERSHIP_REQUESTED, PORT_UNOWNED |
| Constructor Summary | |
|---|---|
SlipPrinter(String deviceName)
Constructor |
|
| Method Summary | |
|---|---|
void |
addNExtraDotRows(int number)
This method adds N ( where n = number) extra dot rows |
void |
carriageReturn()
This method prints a carriage return |
void |
clearPrinter()
This method clears the printer |
void |
closeForm()
This method closes the form |
void |
feedNDotRows(int number)
This method feeds N (where N= number) dot rows |
void |
feedNPrintLines(int number)
This method feeds N (where N= number) print lines |
void |
fullKnifeCut()
This method makes a full knife cut |
void |
generateTone()
This method generates a tone |
void |
horizontalTab()
This method makes a horizontal tab |
void |
lineFeed()
This method makes a Line Feed |
void |
openFormSlipStation()
This method opens a Form Slip Station |
void |
partialKnifeCut()
This method makes a Partial knife cut |
void |
print()
This method prints something |
void |
print(String string)
This method prints a string |
void |
printEjectSlip()
This method prints Eject slip |
void |
setHorizontalTabPositions(int[] tabs)
This method sets horizontal Tab Positions |
void |
test()
This method prints test information to printer |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SlipPrinter(String deviceName)
throws DeviceException
deviceName - The device name
DeviceException - on error| Method Detail |
|---|
public void addNExtraDotRows(int number)
throws DeviceException
number) extra dot rows
number - The number of rows to add
DeviceException - on error
public void carriageReturn()
throws DeviceException
DeviceException - on error
public void clearPrinter()
throws DeviceException
DeviceException - on error
public void closeForm()
throws DeviceException
DeviceException - on error
public void feedNDotRows(int number)
throws DeviceException
number) dot rows
number - The number of rows
DeviceException - on error
public void feedNPrintLines(int number)
throws DeviceException
number) print lines
number - The number of lines
DeviceException - on error
public void fullKnifeCut()
throws DeviceException
DeviceException - on error
public void generateTone()
throws DeviceException
DeviceException - on error
public void horizontalTab()
throws DeviceException
DeviceException - on error
public void lineFeed()
throws DeviceException
DeviceException - on error
public void test()
throws DeviceException
DeviceException - on error
public void openFormSlipStation()
throws DeviceException
DeviceException - on error
public void partialKnifeCut()
throws DeviceException
DeviceException - on error
public void print()
throws DeviceException
DeviceException - on error
public void printEjectSlip()
throws DeviceException
DeviceException - on error
public void setHorizontalTabPositions(int[] tabs)
throws DeviceException
tabs - The tab positions (expressed in character indices)
DeviceException - on error
public void print(String string)
throws DeviceException
string - The String to print
DeviceException - on error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||