public class DeviceTicket extends Object
- added a screen device which is always available to mirror the customer display output
Constructor and Description |
---|
DeviceTicket()
Creates a new instance of DeviceTicket which can only be used to print
to screen.
|
DeviceTicket(AppProperties props)
Creates a new instance of DeviceTicket
|
Modifier and Type | Method and Description |
---|---|
static String |
alignBarCode(String sLine,
int iSize) |
static String |
alignCenter(String sLine) |
static String |
alignCenter(String sLine,
int iSize) |
static String |
alignLeft(String sLine,
int iSize) |
static String |
alignRight(String sLine,
int iSize) |
void |
clearVisor() |
DeviceCashDrawer |
getDeviceCashDrawer() |
DevicePrinter |
getDevicePrinter(String key) |
List<DevicePrinter> |
getDevicePrinterAll() |
JComponent |
getDisplayComponent() |
String |
getDisplayDescription() |
String |
getDisplayName() |
DeviceFiscalPrinter |
getFiscalPrinter() |
JComponent |
getScreenComponent() |
static String |
getWhiteString(int iSize) |
static String |
getWhiteString(int iSize,
char cWhiteChar) |
void |
resetAllPrinters() |
void |
writeTimeVisor(String sLine1) |
void |
writeVisor(String sLine1,
String sLine2) |
public DeviceTicket()
public DeviceTicket(AppProperties props)
public DeviceCashDrawer getDeviceCashDrawer()
public DeviceFiscalPrinter getFiscalPrinter()
public String getDisplayName()
public String getDisplayDescription()
public JComponent getDisplayComponent()
public JComponent getScreenComponent()
public void clearVisor()
public void writeTimeVisor(String sLine1)
public DevicePrinter getDevicePrinter(String key)
public List<DevicePrinter> getDevicePrinterAll()
public void resetAllPrinters()
public static String getWhiteString(int iSize, char cWhiteChar)
public static String getWhiteString(int iSize)
Copyright © 2021. All rights reserved.