public class cmdPrintConfig extends DatecsFiscalDevice
Modifier and Type | Field and Description |
---|---|
int |
MAX_BARCODE_H |
int |
MAX_LOGO_H |
int |
MAX_LOGO_W |
int |
MIN_BARCODE_H |
Constructor and Description |
---|
cmdPrintConfig() |
Modifier and Type | Method and Description |
---|---|
int |
GetBarcodeHeight() |
boolean |
GetDepartmentPrint() |
boolean |
GetDrawerOpening() |
java.lang.String |
GetExchangeRate() |
int |
GetFontType() |
boolean |
GetForeignPrint() |
int |
GetLogoHeight() |
boolean |
GetLogoPrint() |
boolean |
GetPaperCutting() |
boolean |
GetPrintVAT() |
int |
GetPrnQuality() |
boolean |
GetReceiptFormat() |
int |
GetSpaceLines() |
java.lang.String |
Logo_ReadRow(int row)
Customer graphic logo loading.
|
void |
Logo_WriteRow(int row,
java.lang.String data)
Customer graphic logo loading.
|
void |
SetBarcodeHeight(int value) |
void |
SetDepartmentPrint(boolean value)
Drawer
|
void |
SetDrawerOpening(boolean value)
Drawer
|
void |
SetFontType(int value) |
void |
SetForeignPrint(boolean enable,
java.lang.String ExRate) |
void |
SetLogoPrint(boolean enable,
java.lang.String height) |
void |
SetPaperCutting(boolean value) |
void |
SetPrintVAT(boolean value) |
void |
SetPrnQuality(int value) |
void |
SetReceiptFormat(boolean value) |
void |
SetSpaceLines(int value) |
checkErrorCode, close, getConnectedECRV1, getConnectedModelV2, getConnectedPrinterV1, isConnectedDeviceV2, isConnectedECR, isConnectedPrinter, setConnectedModel, setConnectedModel, setConnectedModel
public int MIN_BARCODE_H
public int MAX_BARCODE_H
public int MAX_LOGO_W
public int MAX_LOGO_H
public void Logo_WriteRow(int row, java.lang.String data) throws java.lang.Exception
data
- - base64 coded data of the grahpic logo;java.io.IOException
FiscalExceptionEn
java.lang.Exception
public java.lang.String Logo_ReadRow(int row) throws java.lang.Exception
-
- coded data of the grahpic logo;java.io.IOException
FiscalExceptionEn
java.lang.Exception
public void SetPrnQuality(int value) throws java.lang.Exception
value
- Sets print density. Possible values:
'0': Very pale
'1': Bled
'2': Normal
'3': Thick
'4': Very densejava.lang.Exception
public int GetPrnQuality() throws java.lang.Exception
java.lang.Exception
public void SetLogoPrint(boolean enable, java.lang.String height) throws java.lang.Exception
enable
- Enable / Disable Printing of the Graphic Logo Immediately before HEADER.height
- the height of the logo in pixelsjava.lang.Exception
public boolean GetLogoPrint() throws java.lang.Exception
java.lang.Exception
public int GetLogoHeight() throws java.lang.Exception
java.lang.Exception
public void SetForeignPrint(boolean enable, java.lang.String ExRate) throws java.lang.Exception
enable
- Allow / disable the print of the total amount in EURExRate
- Exchange rate. Floating number with up to 8 significant
digits and 5decimal digits. If missing, the old value is retained.java.lang.Exception
public boolean GetForeignPrint() throws java.lang.Exception
java.lang.Exception
public java.lang.String GetExchangeRate() throws java.lang.Exception
java.lang.Exception
public void SetReceiptFormat(boolean value) throws java.lang.Exception
value
- Automatic formatting of sales as an invoice (4 separate rows).java.lang.Exception
public boolean GetReceiptFormat() throws java.lang.Exception
java.lang.Exception
public boolean GetPrintVAT() throws java.lang.Exception
java.lang.Exception
public void SetPrintVAT(boolean value) throws java.lang.Exception
value
- Enable / Disable Print Accumulated VAT on the normal (not expanded) fiscal receipt.java.lang.Exception
public int GetFontType() throws java.lang.Exception
java.lang.Exception
public void SetFontType(int value) throws java.lang.Exception
value
- Set the font to the printer. Possible values:
0 32 points (4 mm) height, higher letters
1 32 points (4 mm) height, normal letters
2 24 points (3 mm) heightjava.lang.Exception
public int GetSpaceLines() throws java.lang.Exception
java.lang.Exception
public void SetSpaceLines(int value) throws java.lang.Exception
value
- -Specifies the extra distance in pixels (0.125 mm) between the letters in
turned 90-degree service bundle. Possible values from 0 to 4.java.lang.Exception
public boolean GetPaperCutting() throws java.lang.Exception
java.lang.Exception
public void SetPaperCutting(boolean value) throws java.lang.Exception
value
- Enable / Disable Auto paper cuttingjava.lang.Exception
public boolean GetDrawerOpening() throws java.lang.Exception
java.lang.Exception
public void SetDrawerOpening(boolean value) throws java.lang.Exception
value
- Enable / Disable Auto Drawer openingjava.lang.Exception
public boolean GetDepartmentPrint() throws java.lang.Exception
java.lang.Exception
public void SetDepartmentPrint(boolean value) throws java.lang.Exception
value
- Enable / Disable Printing of Department name in the receiptjava.lang.Exception
public int GetBarcodeHeight() throws java.lang.Exception
java.lang.Exception
public void SetBarcodeHeight(int value) throws java.lang.Exception
value
- Barcode height:
Possible values 3 mm 30 mm.java.lang.Exception