|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.services.devices.MCASerialPort com.bankframe.services.devices.SlipPrinter.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(java.lang.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(java.lang.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(java.lang.String deviceName) throws DeviceException
deviceName
- The device name
DeviceException
- on errorMethod Detail |
public void addNExtraDotRows(int number) throws DeviceException
number
) extra dot rows
number
- The number of rows to add
DeviceException
- on errorpublic void carriageReturn() throws DeviceException
DeviceException
- on errorpublic void clearPrinter() throws DeviceException
DeviceException
- on errorpublic void closeForm() throws DeviceException
DeviceException
- on errorpublic void feedNDotRows(int number) throws DeviceException
number
) dot rows
number
- The number of rows
DeviceException
- on errorpublic void feedNPrintLines(int number) throws DeviceException
number
) print lines
number
- The number of lines
DeviceException
- on errorpublic void fullKnifeCut() throws DeviceException
DeviceException
- on errorpublic void generateTone() throws DeviceException
DeviceException
- on errorpublic void horizontalTab() throws DeviceException
DeviceException
- on errorpublic void lineFeed() throws DeviceException
DeviceException
- on errorpublic void test() throws DeviceException
DeviceException
- on errorpublic void openFormSlipStation() throws DeviceException
DeviceException
- on errorpublic void partialKnifeCut() throws DeviceException
DeviceException
- on errorpublic void print() throws DeviceException
DeviceException
- on errorpublic void printEjectSlip() throws DeviceException
DeviceException
- on errorpublic void setHorizontalTabPositions(int[] tabs) throws DeviceException
tabs
- The tab positions (expressed in character indices)
DeviceException
- on errorpublic void print(java.lang.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 |