EPSON ITALIA SpA
ACTIVEX for Fiscal Printer serie FP
Name of the control: EpsonFP2.EpsonFPControl
Revision History
Ver | Rev | Fogli | Commenti | Data | Autore |
- | Draft | - | Prima versione | Agosto 2001 |
VS |
- | A | - | Inserito: Rev History, Elenco proprietà da sviluppare, descrizione parametri funzione | 28 Agosto 2001 | RC |
- | B | - | Inserito descrizione architettura Active X, aggiornato proprietà, modificato i mnemonici dei seguenti metodi: da Get a Read , definito opX per metodi relativi a trame con Header1=2 mentre con opZ quelli con Header1 = 3, modificato inoltre le Signature dei seguenti metodi: opProgOpr, modificato inoltre le priorità 1 dei Metodi | 31 Agosto 2001 | RC |
- | C | - | Eliminazione di LastQtaDec e sostituzione del tipo di dati di LastQta da Integer a Single, differenziate LastMM per i mesi e LastMin per i minuti, LastMatrFisc diventa di tipo Long. Introdotta la proprietà EuroSettings. Cambiata la descrizione per opContante per la chiusura scontrino con default=0. Controllata signature per opEndSNoFisc,opZTotOprPer,opReadDataOra,opReadReparto,opReadTassa, opReadCredCC, opRepartoStorno (tolto il parametro Qta), opProgDataOra (non restituisce data e ora). In opReadReparto l'unico parametro in ingresso è solo il numero del reparto. Aggiunta la proprietà LastDate ai metodi che la valorizzano. Accorpate le due sezioni Varie in una sola. Introdotto l'errore OP_EUROLOCK e le costanti EPS_EUROSETTINGS_... | 5 Settembre 2001 | VS |
1.0.7 | D | - |
Definito a 40 il numero massimo di character per il parametro Descr nel metodo opMsgVisoreCortesia. Definito di 4 byte il valore di N.SF e NSNF Aggiunta la proprietà LastNReparto nelle proprietà impostate da opReadReparto In opRepartoStornoQDec rinominato il parametro Qta in QtaDec in conformità con opRepartoQDec Definita in tutto il documento la corretta denominazione della funzione per il riavvio stampa quando la carta è finita. Si chiama opRiavvioStampaDaFineCarta Uniformato il nome del parametro che descrive il numero dell'operatore (non il codice). Per tutte le funzioni che lo usano questi si chiama NumeroOperatore. Le funzione interessate da questa modifica sono: opXTotOprGior, opXTotOprPer, opZTotOprGior, opZTotOprPer, opProgOpr, opReadOpr Introdotte tre nuove proprietà (si sola lettura): Major, Minor e Revision per dare la possibilità al programmatore di conoscere la versione del controllo via software. Correzioni ortografiche |
26 Settembre 2001 | VS |
1.0.8 | E | - | Viene cambiato (con uno swap fra i valori 2 e 3) il valore del FrameCounter anche nel caso in cui non sia stata ricevuto il frame risposta da parte del PC (ma sia stato ricevuto l'ACK) a differenza delle implementazioni precedenti, che prevedevano il cambio del valore del FrameCounter solo nel caso di ricezione del frame di risposta entro il timeout programmato. | 01 Ottobre 2001 | VS |
1.0.9 | F | - | Su indicazione di Garavaglia Carlo (Epson) viene cambiato (con uno swap fra i valori 2 e 3) il valore del FrameCounter dopo la spedizione di ogni messaggio alla cassa (indipendente dal messaggio di risposta e dalla ricezione dell'ACK) a differenza dell'implementazione precedente, che prevedeva il cambio del valore del FrameCounter solo se era stato ricevuto l'ACK. | 09 Ottobre 2001 | VS |
1.0.20 | G | - |
Implementati i metodi per i resi: opRepartoReso, opRepartoResoQInt e opRepartoResoQDec. (come da esigenze di COGITO) Corretta colorazione di opRepartoQDec: era riportato con priorita' 1 (colore grigio chiaro), ma in realta' era gia' stato implementato. | 12 Novembre 2001 | VS |
1.0.21 | H | - |
* Implementati i metodi: opAlzoCarta, opRepartoPercMinus, opRepartoPercPlus, opReadValuta, opProgValuta, opContanteVal * Aggiunte le costanti: EPS_SCONTRINO, EPS_GIORNALE, EPS_SCONTRINO_GIORNALE (usate da opAlzoCarta) e tutte le costanti di errore interni della stampante (hanno tutte il prefisso EERR_) * Aggiunte le proprietà: LastPercReparto, LastNettoPrecedente (usate da opRepartoPercMinus e opRepartoPercPlus) e LastNValuta, LastDescValuta, LastValoreValuta (usate da opReadValuta) e LastImportoValuta (usata da opContanteVal) * Nella descrizione dei tipi delle funzioni aggiunta la documentazione per il tipo Double usato per definire il valore del rapporto di cambio delle valute straniere. * Corretta colorazione delle funzioni: opRiavvioStampaDaFineCarta, opRepartoQDec, opRepartoStorno, opRepartoStornoQDec, opIniSNoFisc, opDatiSNoFisc, opEndSNoFisc, opDescAgg, opZTotFinGior, opZTotOreGior, opZTotOprGior, opZTotFinPer, opZTotOrePer, opZTotOprPer, opZFiscMem, opProgRigaInt, opAttivazioneEuro, opReadMatrFisc, opProgDataOra, opProgOpr, opProgFlag, opProgConf, opProgTipoRigaInt, opReadDataOra, opReadReparto, opReadTassa,opReadCredCC,opProgOpr, opProgFlag, opProgConf, opProgTipoRigaInt,opReadDataOra, opReadReparto, opReadTassa, opReadCredCC, opReadTicket, opReadOpr, opReadFlag, opReadConf, opReadTipoRigaInt: erano riportate con priorita' 1 (colore grigio chiaro), ma in realta' erano gia' state implementate nella versione precedente. | 9 Gennaio 2002 | VS |
2.0.32 | I | - |
* Modificata l'interfaccia ActiveX del controllo (di conseguenza rotta la compatibilità binaria): tutti i metodi pubblici esposti dall'interfaccia (quindi tutti i metodi opXXX ed il metodo GetLastErrorDescription) ora hanno i
parametri passati per valore e non più per riferimento. (Problema sollevato da "Apete") Di conseguenza è stato modificato il nome della libreria in EpsonFP2.EpsonFPControl Per distinguere il controllo EpsonFP2 dal precedente EpsonFP, oltre al nome ovviamente, è stato aumentato il major number della release (ora siamo alla 2). Inoltre gli sviluppatori troveranno un numero 2 sulle icone del controllo sia nella toolbox dell'IDE dell'ambiente di sviluppo, sia quando aggiungeranno il controllo EpsonFP2 al container (per esempio un Form in VB) che lo conterrà. Da questo momento gli sviluppatori che desiderino utilizzare EpsonFP2 debbono includerlo nella loro applicazione e ricompilarla rispettando le nuove specifiche sui parametri dei metodi pubblici. * Nella documetazione aggiunto il termine ByVal prima di tutti i parametri dei metodi modificati per sottolineare ancora una volta il fatto che i PARAMETERS sono passati per valore e non più per riferimento. | 14 Febbraio 2002 | VS |
2.0.33 | L | - |
* Aggiunti i metodi opRepartoAbbuono, opContanteEntrate, opContanteUscite, opMsgPromo, opContanteConDesc, opProgContanteConDesc con le relative implementazioni. * Aggiunta la proprietà LastNContanteConDesc. * Aggiunte le costanti OP_CODE_CONTDESC_RIM e OP_CODE_CONTDESC_REST * Le proprietà relative agli importi in valuta dopo l'esecuzione dei metodi che le ritornano prevedono ora, già come tipo di dato Currency, il numero di cifre decimali corrispondente all'impostazione della proprietà EuroSettings (EPS_EUROSETTINGS_EURO o EPS_EUROSETTINGS_LIRE). Le proprietà interessate sono: LastImp, LastRest, LastRim, LastSubT, LastImportoValuta, LastTotFisc, LastTotNFisc, LastSubTotFisc, LastSubTotNFisc, LastValoreTicket, LastPre, LastNettoPrecedente, LastPrezzo1, LastPrezzo2, LastPrezzo3 , LastLimite. | 13 Dicembre 2002 | VS |
2.0.41 | M | - |
* Aggiunti i seguenti metodi con le relative implementazioni:
* Aggiunta la proprietà LastDescContante per il metodo opReadContDesc * Aggiunta la proprietà LastNum per il metodo opNonCalcola * Aggiunta le proprietà LastNumFatt, LastNRigheFatt, LastNRigheBiancheFatt, LastStampaIntestazione, LastDescEsenzione per il metodo opReadParFatt * Aggiunta le proprietà LastParametroDaLeggere, LastTotalePezziLetti, LastTotaleImportiLetti, LastTotaleConteggiLetti , LastDatoLetto, LastTotalePezziRepartoLetti, LastImponibileLetto per i metodi opReadTotaleFinanziarioXXXXXX * Aggiunta le proprietà LastCPUsw, LastMFsw, LastState per il metodo opReadStato * Aggiunta le proprietà LastOEM, LastModel, LastMatrFiscExtended per il metodo opReadMatrFisc * Aggiunta le proprietà LastNS, LastNR, LastDGFE per i metodi opReadDGFENumPro e opReadDGFEDate * Aggiunte le costanti OP_CODE_DGFENUMPRO_VAL e OP_CODE_DGFE_END usate dai metodi opReadDGFENumPro e opReadDGFEDate per verificare se la stampante ha ancora altre righe di scontrino da spedire e se le righe degli socntrini sono finite. * Aggiunte le costanti EPS_ALIGN_SX e EPS_ALIGN_DX usate dal metodo opRepartoLight * Aggiunte le costanti OP_CODE_ASSEGVAL_RIM e OP_CODE_ASSEGVAL_REST usate dal metodo opAssegnoVal * Aggiunta la costante OP_ERR_FILENOTFOUND usata dal metodo opProgLogoGrafico * Aggiunta la proprietà LastTotAC per il metodo opReadNumeroScontrino * Aggiunte le costanti EPS_GIORNALIERO e EPS_PERIODICO usate da tutti i metodi opReadTotaleFinanziarioXXXXXX per scegliere tra il totale giornaliero o il totale periodico. * Esteso il numero di righe per le descrizioni aggiuntive opRigheAgg da 6 a 9 (1-6 per FP210 oppure 1-9 per FP260/FP90) * Esteso il numero per le configurazioni (in opReadConf e opProgConf) da 10 a 12 (1-11 per FP260 oppure 1-12 per FP90) * Esteso il parametro Anno di opProgDataOra a 4 byte (ora è possibile specificare 2003 invece di 03). Resta ancora in ogni caso possibile specificare 03 per indicare 2003. * Corretto in opContanteVal: non venivano valorizzate le proprietà che sono riportate nella documentazione di questo metodo. * Corretto in opRigheAgg, opMsgPromo, opProgRigaInt: non vengono più eliminati gli spazi in testa alla stringa di descrizione. In questo modo è possibile centrare le descrizioni sullo scontrino. * Corretta la documentazione: nella parte dove si descrivono le proprietà impostate dai vari metodi è stata corretto il tipo delle proprietà LastNumSF e LastNumSNF da Integer a Long (relativamente a tutti i metodi che impostano queste proprietà) * Aggiunta alla documentazione che alcuni metodi sono validi Only for FP260/FP90 | 11 Giugno 2003 | VS |
2.0.45 | N | - |
* Aumentato il timeout di attesa di ACK in tutti i metodi (da 3 a 10 secondi) * Tolto il Trim delle stringhe in tutti i metodi del controllo. * Aggiunta la documentazione dei byte della proprietà LastState * Modificato il logo del controllo da Epson FP-210 a Epson FP | 18 Settembre 2003 | VS |
2.0.47 | O | - |
* PARAMETERSzzati i timeout per i metodi opXXX: I timeout sono 2 e vi si accede (sia in lettura che in scrittura) grazie a 2 nuove proprietà:
Per sapere i valori dei timeout utilizzati dall'ultimo metodo opXXX eseguito, è sufficiente consultare le due nuove proprietà LastTimeoutOP e LastTimeoutACK * Aggiunta la gestione di una sentinella di "busy" per la gestione di chiamate troppo ravvicinate al controllo che non lasciano il tempo al controllo stesso di computarle fino in fondo e nell'ordine richiesto. La nuova proprietà si chiama OCXBusy (di tipo Boolean). Se vale True indica che il controllo è impegnato nella gestione di una chiamata precedente, se vale False il controllo è disponibile all'esecuzione di un metodo opXXX L'utente prima di chiamare qualsiasi metodo opXXX dovrebbe controllare OCXBusy e solo questa vale False può utilizzare il controllo OCX. In ogni caso tutti i metodi opXXX controllano anch'essi la sentinella e se la trovano occupata ritornano il nuovo valore di ritorno OP_ERR_OCXBUSY * Aggiunti 3 nuovi valori di ritorno a tutti i metodi opXXX:
* Corretta la documentazione nel caso dei metodi opRepartoLight, opRepartoValPlus, opSubTotValPlus, opPrintBarCode, opProgLogoGrafico, opReadNumeroScontrino, opReadStato in cui erano indicato che i metodi erano compatibili per le stampanti FP210 e FP90, mentre sono compatibili per FP260 e FP90. | 21 Ottobre 2003 | VS |
2.0.47 | P | ALL | Translated in English the documentation, cutted the unused methods | 15 December 2003 | R.C. |
2.0.48 | Q |
* Modified the Toolbox Image of control * Increased the value of timeout when the register is not connected to the serial port. Now is up to 7 seconds. * Added methods:
* Use opPrintBarCode only inside fiscal bill * Use integer value of Tax | 15 April 2004 | VS | |
2.0.52 | Q |
* For all methods "light" (opRepartoLight,opRepartoResoLight,opRepartoStornoLight,opValMinusLight,opPaymentLight) the description field's lenght is up to 32 characters. * For method opDescAgg the description field's lenght is up to 32 characters. * For method opRigaInt the description field's lenght is up to 40 characters. * Added methods:
| 20 May 2004 | VS | |
*Added a table with a more complete description of the printer errors *Reviewed and completed English translation *For method opAddRowDesc the range of NumRiga is:
*For method opReadState, property LastState:
| 03 June 2004 | CG | |||
2.0.53 | R |
*For method opAddRowDesc added the control of the length of row description | 16 June 2004 | VS | |
*For methods opProgTipoRigaInt, parameters TipoStampa:
*For method opReadTipoRigaInt, property LastTipoStampa:
Added configuration and flag description tables Corrected bookmarks and hyperlink to better manage the document | 01 July 2004 |
This
document describes the architecture, properties, methods of the ActiveX control
that has been developed for the Epson fiscal printer series.
The active
X control can be used in all the environments that are able to manage the COM (Component
Object Model of Microsoft
Corporation) technology
RELATING DOCUMENTS
Protocollo di comunicazione stampanti fiscali (Communication protocol)
Guida utente stampante fiscale (operator guide)
ARCHITECTURE OF THE CONTROL
This control works in synchronous way, the application program that makes use of this control must wait until the control closes the communication with the printer before going on.
The value returned from the fiscal printer to a command is available in the properties with the prefix "LAST"
The methods
relating the fiscal printer use the prefix “op”. Each methods implement a
single command managed from the printer.
The input
parameters of the methods are defined with the following type:
·
String:
used for all the description
·
Integer:
used for all the value up to 32.767
·
Long:
used for all the value up to 2.147.483.647
·
Single:
used for all the decimal value, not used in the currency ratio.
·
Double:
used in the currency ratio for exchange the currency
·
Currency:
used for all the figures relating money.
·
Date:
use for the date, the single items (day, year etc.) are used as integer.
Relating the Currency, this activeX is able to format automatically the field to send to the printer, this is done using the propriety EuroSettings, this propriety MUST BE SET, otherwise the Control does not work.
This
control does not manage the communication retry, in case of communication
error it returns back an ERROR.
LIST OF METHODS
System
Sales
Subtotal
Payment
Other
Report
Fiscal report
Configuration/reading
Electronic Journal Dispositivo Giornale di Fondo Elettronico D.G.F.E.
LIST OF PROPERTYES
The errors
are split in two levels:
Internal
ACTIVEX errors
Internal
printer errors.
The internal activeX errors have been defined with the prefix "OP" followed by the description. In case of internal printer errors the variable EERR is TRUE, the kind of error can be check in the Property LASTERROR.
Any internal printer error can be check in the LastEERR property. The description of the internal printer errors with associated code can be found in CONSTANT ERROR DESCRIPTION.
LIST OF CONSTANTS
LIST OF EVENTS
DESCRIPTION OF THE METHODS
The following methods are identified from their signature (or interface)
For every method you can find:
the optional parameters, internal square brackets
the description of the parameters (kind of parameters in the normal brackets and the range value in the square brackets)
Description of the return value
Description
of event
All the methods use the prefix "op"
Public Sub PortOpen()
Open the COM port COMPort
Public Sub PortClose()
Close the COM port COMPort
Public Function PortIsOpen() As Boolean
Check if the COMPort is open
Public Function GetLastErrorDescription(ByVal ErrorLevel As Integer, ByVal ErrorCode As Long) As String
Get the description of the last error.
Public Function opReparto(ByVal CodOpr As Integer, ByVal DescProd As String, ByVal Prezzo As Currency, ByVal Rep As Integer, [ByVal TipoPrezzo as Integer Default = 1], [ByVal CodProd As String Default = String(40,"0")]) As Integer
Function REPARTO (DEPARTMENT) code 1 003. Used to sell and print out one item. If the item is the first in the receipt this method OPENS the fiscal receipt.
- PARAMETERS
- IN: CodOpr - Operator Code (Integer) [1-12]
- IN: DescProd - Product description (String) [max 20 character]
- IN: Prezzo - Price (Currency) [1-999999999]
- IN: Rep - Department (Integer) [1-40]
- IN OPTIONAL: TipoPrezzo - Kind of price (Integer) [1-3] Default = 1
- IN OPTIONAL: CodProd - Product code (String) [max 40 character] Default = string of 40 "0"
- RETURNED VALUES
- OP_OK Result OK
- OP_ERR_OCXBUSY Ocx busy
- OP_ERR_NOCOLL Fiscal printer not connected
- OP_ERR_ACKTIMEOUT Timeout used to wait the ACK from the printer
- OP_ERR_STXTIMEOUT Timeout used to wait the reply from the printer
- OP_ERR_TIMEOUT Timeout used to wait the complete execution of the method
- OP_ERR_CHKS Checksum error
- OP_ERR_PORTCLOSE COM PORT close
- OP_ERR_EUROLOCK Property EuroSettings not correctly set
- EERR Error of fiscal printer
It is possible to check the details of the error reading the following property LastEERR.- PROPERTIES SET
- LastOPCode - Command Code - (Integer)
- OCXBusy - Set BUSY at the beginning, at the end of the method it is set to FALSE
- LastTimeoutACK - provide the value of the timeout set to wait the ACK from the printer in the previous method
- LastTimeoutOP - Provide the value of the timeout set to wait the execution of the previous method.
- LastOP - Operator Code (Integer) [1-12]
- LastCodProd - Product code (String) [max 40 character]
- LastQta - Quantity (Single) [0000,001-9999,999] (this property is set even if it is not used as argument)
- LastTipoPre - Kind of price (Integer) [1-3]
- LastPre - Price (Currency) [1-999999999]
- LastImp - Amount (Currency) [1-999999999]
- LastRep - Department (Integer) [1-40]
- EVENT RISEN
- In case the returned value is not OP_OK the following event is risen FPError
Public Function opRepartoLight(ByVal CodOpr As Integer, ByVal Qta As Single, ByVal DescProd As String, ByVal Prezzo As Currency, ByVal Rep As Integer, ByVal Allineamento As Integer) As Integer
Function VENDITA REPARTO LIGHT (DEPARTMENT
LIGHT) code 1 080. Used to sell and print out one item. If the item is the first in the receipt, this method OPENS the fiscal
receipt. It is similar to the method REPARTO with the difference that the description
is from 25 up to 32
characters.
Only for FP260/FP90
Public Function opRepartoResoLight(ByVal CodOpr As Integer, ByVal DescProd As String, ByVal QtaDec As Single, ByVal Prezzo As Currency, ByVal Rep As Integer, ByVal SxDx As Integer) As Integer
Function REPARTO RESO LIGHT (DEPARTMENT RETURN GOOD LIGHT) code 1 081. It is used for the goods returned back light. It is not possible to set in negative the fiscal printer total amount. It is similar to the method REPARTO RESO with the difference that the description is from 25 up to 32 characters. Only for FP90
Public Function opRepartoStornoLight(ByVal CodOpr As Integer, ByVal DescProd As String, ByVal QtaDec As Single, ByVal Prezzo As Currency, ByVal Rep As Integer, ByVal SxDx As Integer) As Integer
Function REPARTO STORNO LIGHT (DEPARTMENT REVERSAL LIGHT) code 1 082. It is used to provide a reversal of good already sold. It is not possible to set in negative the fiscal printer total amount. It is similar to the method REPARTO STORNO with the difference that the description is from 25 up to 32 characters. Only for FP90
Public Function opValMinusLight(ByVal CodOpr As Integer, ByVal Desc As String, ByVal Importo As Currency, ByVal TipoMinus As Integer, ByVal Rep As Integer, ByVal SxDx As Integer) As Integer
Function VAL MINUS LIGHT (DISCOUNT FIX AMOUNT LIGHT) code 1 083. Only for FP90
Public Function opPaymentLight(ByVal CodOpr As Integer, ByVal DescPayment As String, ByVal Importo As Currency, ByVal TypePayment As Integer, ByVal Index As Integer, ByVal SxDx As Integer) As Integer
Function PAYMENT LIGHT code 1 084. Only for FP90
Public Function opHeaderAggiuntivo(ByVal CodOpr As Integer, ByVal DescHeader As String) As Integer
Function PRINT HEADER EXTENDED code 1 076. Used to Print an header extended before any sell. Only for FP90
Public Function opRepartoQInt(ByVal CodOpr As Integer, ByVal DescProd As String, ByVal Qta As Integer, ByVal Prezzo As Currency, ByVal Rep As Integer, [ByVal TipoPrezzo As Integer Default = 1], [ByVal CodProd As String Default = String(40,"0")]) As Integer
Function REPARTO CON QUANTITA' INTERA (DEPARTMENT WITH QUANTITY W/O DECIMAL) Code 1 004. Used to sell and print out one item. If the item is the first in the receipt this method OPEN the fiscal receipt. The quantity must be w/o decimal value.
Public Function opRepartoQDec(ByVal CodOpr As Integer, ByVal DescProd As String, ByVal QtaDec As Single, ByVal Prezzo As Currency, ByVal Rep As Integer, [ByVal TipoPrezzo As Integer Default = 1], [ByVal CodProd As String Default = String(40,"0")]) As Integer
Function REPARTO CON QUANTITA' DECIMALE (DEPARTMENT WITH QUANTITY IN DECIMAL FORMAT) Code 1 005 Used to sell and print out one item. If the item is the first in the receipt this method OPEN the fiscal receipt. The quantity must be with decimal value.
Public Function opRepartoAbbuono(ByVal CodOpr As Integer, ByVal ImportoAbbuono As Currency) As Integer
Function REPARTO ABBUONO (DEPARTMENT
DISCOUNT) Code 1 021. Used to provide a discount in fix
amount.
Public Function opRepartoValPlus(ByVal CodOpr As Integer, ByVal ValReparto As Currency) As Integer
Function MAGGIORAZIONE A VALORE SU REPARTO (SURCHARGE
WITH FIX AMOUNT) Code 1 072. It used to provide a
surcharge in fix amount.
Only for FP260/FP90
Public Function opRepartoReso(ByVal CodOpr As Integer, ByVal DescProd As String, ByVal Prezzo As Currency, ByVal Rep As Integer, [ByVal TipoPrezzo as Integer Default = 1], [ByVal CodProd As String Default = String(40,"0")]) As Integer
Function REPARTO RESO (DEPARTMENT RETURN GOOD)
Code 1 009. It is used for the goods returned back. It is not
possible to set in negative the fiscal printer total amount.
Public Function opRepartoResoQInt(ByVal CodOpr As Integer, ByVal DescProd As String, ByVal Qta As Integer, ByVal Prezzo As Currency, ByVal Rep As Integer, [ByVal TipoPrezzo As Integer Default = 1], [ByVal CodProd As String Default = String(40,"0")]) As Integer
Function REPARTO RESO CON QUANTITA' INTERA (DEPARTMENT RETURN GOODS WITH QUANTITY W/O DECIMAL) Code 1 010. It is used for the goods returned back in a certain quantity. It is not possible to set in negative the fiscal printer total amount.
Public Function opRepartoResoQDec(ByVal CodOpr As Integer, ByVal DescProd As String, ByVal QtaDec As Single, ByVal Prezzo As Currency, ByVal Rep As Integer, [ByVal TipoPrezzo As Integer Default = 1], [ByVal CodProd As String Default = String(40,"0")]) As Integer
Function REPARTO RESO CON QUANTITA' DECIMALE (DEPARTMENT RETURN GOODS WITH QUANTITY WITH DECIMAL) Code 1 011. It is used for the goods returned back in quantity. It is not possible to set in negative the fiscal printer total amount.
Public Function opRepartoStorno(ByVal CodOpr As Integer, ByVal DescProd As String, ByVal Prezzo As Currency, ByVal Rep As Integer, [ByVal TipoPrezzo As Integer Default = 1], [ByVal CodProd As String Default = String(40,"0")]) As Integer
Function
REPARTO STORNO (DEPARTMENT REVERSAL) Code 1 015. It is used to provide a reversal of good
already sold . It is
not possible to set in negative the fiscal printer total amount.
Public Function opRepartoStornoQInt(ByVal CodOpr As Integer, ByVal DescProd As String, ByVal Qta As Integer, ByVal Prezzo As Currency, ByVal Rep As Integer, [ByVal TipoPrezzo As Integer Default = 1], [ByVal CodProd As String Default = String(40,"0")]) As Integer
Function REPARTO STORNO CON QUANTITA' INTERA (DEPARTMENT REVERSAL
IN QUANTITY W/O DECIMAL FIGURES) Code 1 016. It
is used to provide a reversal of good in quantity already sold .
It is not possible to set in negative the fiscal printer total amount.
Public Function opRepartoStornoQDec(ByVal CodOpr As Integer, ByVal DescProd As String, ByVal QtaDec As Single, ByVal Prezzo As Currency, ByVal Rep As Integer, [ByVal TipoPrezzo As Integer Default = 1], [ByVal CodProd As String Default = String(40,"0")]) As Integer
Function
REPARTO STORNO CON QUANTITA' DECIMALE (DEPARTMENT
REVERSAL IN QUANTITY WITH DECIMAL FIGURES)
Code 1 017
It is used to provide a reversal of good in
quantity already sold .
It is not possible to set in negative the fiscal printer total amount.
Public Function opRepartoPercPlus(ByVal CodOpr As Integer, ByVal PercReparto As Single) As Integer
Function REPARTO % + (DEPARTMENT SURCHARGE IN PERCENTAGE) Code 1 022. It is used to provide a surcharge in percentage.
Public Function opRepartoPercMinus(ByVal CodOpr As Integer, ByVal PercReparto As Single) As Integer
Function REPARTO % - (DEPARTMENT DISCOUNT IN PERCENTAGE) Code 1 023. It is used to provide a surcharge in percentage.
Public Function opSubTotAbbuono(ByVal CodOpr As Integer, ByVal Importo As Currency) As Integer
Function SUBTOTALE ABBUONO (SUBTOTAL FIX AMOUNT DISCOUNT) Code 1 024. It is use to provide a fix amount discount on SUBTOTAL.
Public Function opSubTotValPlus(ByVal CodOpr As Integer, ByVal ValSubTotPlus As Currency) As Integer
Function MAGGIORAZIONE A VALORE SU SUBTOTALE (SURCHARGE FIX AMOUNT) Code 1 073 It is used to provide a surcharge fix amount on subtotal operation. Only for FP260/FP90
Public Function opSubTotPercPlus(ByVal CodOpr As Integer, ByVal Perc As Single) As Integer
Function SUBTOTALE %+ (PERCENTAGE SURCHARGE) Code 1 025. It is used to provide a percentage surcharge.
Public Function opSubTotPercMinus(ByVal CodOpr As Integer, ByVal Perc As Single) As Integer
Function SUBTOTALE %- (PERCENTAGE DISCOUNT) Code 1 026. It is used to provide a percentage discount.
Public Function opCorr(ByVal CodOpr As Integer) As Integer
Function CORREZIONE (CORRECTION) Code 1 027. It is used to cancel (erase) the previous good sold.
Public Function opVoidTot(ByVal CodOpr As Integer) As Integer
Function VOID TOTALE Code 1 028. It is used to erase all the amount sold in the current receipt.
Public Function opContanteVal(ByVal CodOpr As Integer, ByVal NValuta As Integer, [ByVal ImportoValuta As Currency Default = 0] ) As Integer
Function CONTANTE VALUTA (CASH PAYMENT IN CURRENCY) Code 1 035. It is used in case of cash payment using currency different from EURO.
Public Function opContante(ByVal CodOpr As Integer, [ByVal Importo As Currency Default = 0] ) As Integer
Function CONTANTE (Cash payment) Code 1 036, it is use to perform a cash payment.
Public Function opContanteConDesc(ByVal CodOpr As Integer, ByVal NContante As Integer, ByVal ImportoContante As Currency) As Integer
Function CONTANTI CON DESCRIZIONE (CASH PAYMENT WITH DESCRIPTION) Code 1 069. IT is used for cash payment with possibility of description.
Public Function opContanteRecCredito(ByVal CodOpr As Integer, ByVal Importo As Currency) As Integer
Function CONTANTE RECUPERO CREDITO (CASH
PAYMENT WITH CREDIT RECOVER) Code 1 030
Public Function opContanteEntrate(ByVal CodOpr As Integer, ByVal Importo As Currency) As Integer
Function CONTANTE ENTRATE (CASH INPUT) Code 1 031, it
is use to control the cash move from the cash drawer.
Public Function opContanteUscite(ByVal CodOpr As Integer, ByVal Importo As Currency) As Integer
Function CONTANTE USCITE (CASH OUTPUT) Code 1 032.
It is use to control the cash move from the cash drawer.
Public Function opContanteEntrateVal(ByVal CodOpr As Integer, ByVal NValuta As Integer, ByVal ImportoValuta As Currency) As Integer
Function CONTANTE ENTRATE VALUTA (CASH INPUT IN CURRENCY) Code 1 033
Public Function opContanteUsciteVal(ByVal CodOpr As Integer, ByVal NValuta As Integer, ByVal ImportoValuta As Currency) As Integer
Function CONTANTE USCITE VALUTA (CASH OUTPUT IN CURRENCY) Code 1 034
Public Function opAssegnoRecCredito(ByVal CodOpr As Integer, ByVal ImportoAssegno As Currency) As Integer
Function ASSEGNO RECUPERO CREDITO (CHECK TO RECOVER A CREDIT) Code 1 038
Public Function opAssegnoUscite(ByVal CodOpr As Integer, ByVal ImportoAssegno As Currency) As Integer
Function ASSEGNO USCITE (CHECK OUTPUT) Code 1 040
Public Function opAssegnoEntrate(ByVal CodOpr As Integer, ByVal ImportoAssegno As Currency) As Integer
Function ASSEGNO ENTRATE (CHECK INPUT) Code 1 039
Public Function opAssegnoEntrateVal(ByVal CodOpr As Integer, ByVal NValuta As Integer, ByVal ImportoValuta As Currency) As Integer
Function ASSEGNO ENTRATE VALUTA (CHECK INPUT IN CURRENCY) Code 1 041
Public Function opAssegnoUsciteVal(ByVal CodOpr As Integer, ByVal NValuta As Integer, ByVal ImportoValuta As Currency) As Integer
Function ASSEGNO USCITE VALUTA (CHECK OUTPUT IN CURRENCY) Code 1 042
Public Function opAssegnoVal(ByVal CodOpr As Integer, ByVal NValuta As Integer, [ByVal ImportoValuta As Currency Default = 0] ) As Integer
Function ASSEGNO VALUTA (PAYMENT WITH CHECK IN CURRENCY) Code 1 043, it is used to provide a payment with check in NOT Euro currency.
Public Function opAssegno(ByVal CodOpr As Integer, ByVal ImportoAssegno As Currency) As Integer
Function ASSEGNO (CHECK) Code 1 044. It is used for payment with check.
Public Function opCredCC(ByVal CodOpr As Integer, ByVal NCartaCC As Integer) As Integer
Function CREDITO-CARTA CREDITO (CREDIT-CREDIT CARD) Code 1 045
Public Function opTicket(ByVal CodOpr As Integer, ByVal NTipoTicket As Integer, ByVal ValoreTicket As Currency) As Integer
Function TICKET Code 1 046. It is use for payment with ticket.
Public Function opRistampaScontr(ByVal CodOpr As Integer) As Integer
Function RISTAMPA SCONTRINO (REPRINT THE RECEIPT) Code 1 047
Public Function opNonCalcola(ByVal CodOpr As Integer, ByVal Numero As Long) As Integer
Function NON CALCOLA (DO NOT COMPUTE) Code 1 048
Public Function opApriCassetto(ByVal CodOpr As Integer) As Integer
Function APRI CASSETTO (OPEN THE CASH DRAWER) Code 1 050
Public Function opFattura(ByVal CodOpr As Integer, ByVal NumeroFattura As Long) As Integer
Function RICHIESTA FATTURA (INVOICE REQUESTED) Code 1 052
Public Function opRicFiscale(ByVal CodOpr As Integer, ByVal NumeroRicevuta As Long) As Integer
Function RICHIESTA RICEVUTA FISCALE (REQUEST RICEVUTA FISCALE) Code 1 053
Public Function opScontrino(ByVal CodOpr As Integer) As Integer
Function RICHIESTA SCONTRINO (RECEIPT REQUEST) Code 1 054
Public Function opSubTot(ByVal CodOpr As Integer) As Integer
Function : RICHIESTA SUBTOTALE (SUBTOTAL AMOUNT REQUEST) Code 1 051
Public Function opBloccoTastiera(ByVal CodOpr As Integer) As Integer
Function : BLOCCO TASTIERA (KEYBOARD LOCK) Code 1 055
Public Function opSBloccoTastiera(ByVal CodOpr As Integer) As Integer
Function : SBLOCCO TASTIERA (KEYBOARD UNLOCK) Code 1 056
Public Function opMsgVisoreCortesia(ByVal CodOpr As Integer, ByVal Descr As String, [ByVal NumVisore As Integer Default = 0], [ByVal Cursore As Integer Default = 0]) As Integer
Function : INVIO MESSAGGIO PUBBLICITARIO/CORTESIA PER VISORI LCD (SEND MESSAGE TO THE DISPLAY) Code 1 062
Public Function opMsgPromo(ByVal CodOpr As Integer, ByVal DescrMsg As String) As Integer
Function INVIO MESSAGGIO PROMOZIONALE (SEND
A PROMOTIONAL TEXT) Code 1 058
Public Function opPartitaIVA(ByVal CodOpr As Integer, ByVal PartitaIVA As String) As Integer
Function INVIO PARTITA IVA (SEND VAT
CODE) Code 1 060
Public Function opCodFiscale(ByVal CodOpr As Integer, ByVal CodiceFiscale As String) As Integer
Function INVIO CODICE FISCALE (SEND FISCAL
CODE) Code 1 061
Public Function opIniSNoFisc(ByVal CodOpr As Integer) As Integer
Function : INVIO COMANDO SCONTRINO NON FISCALE (OPEN A NOT FISCAL RECEIPT) Code 1 063
Public Function opDatiSNoFisc(ByVal CodOpr As Integer, ByVal Font As Integer, ByVal DescRiga As String) As Integer
Function : INVIO DATI SCONTRINO NON FISCALE (SEND DATA TO BE PRINT IN A NIT FISCAL RECEIPT) Code 1 064
Public Function opEndSNoFisc(ByVal CodOpr As Integer) as Variant
Function : INVIO COMANDO FINE SCONTRINO NON FISCALE (CLOSE A NOT FISCAL RECEIPT) Code 1 065
Public Function opDescAgg(ByVal CodOpr As Integer, ByVal Descr As String) As Integer
Function : INVIO DESCRIZIONE AGGIUNTIVE (SEND ADDITIONAL
DESCRIPTION)
Code 1 066
Public Function opRigheAgg(ByVal CodOpr As Integer, ByVal NRiga As Integer, ByVal DescRiga As String) As Integer
Function : INVIO RIGA AGGIUNTIVA (PRINT ADDITIONAL ROW) Code 1 067
Public Function opPrintBarcode(ByVal CodOpr As Integer, ByVal TipoBarcode As Integer, ByVal Barcode As String) As Integer
Function : STAMPA BARCODE (PRINT BARCODE) Code 1 071 Only for FP260/FP90
Public Function opPrintBarcodeExtended(ByVal CodOpr As Integer, ByVal Position As Integer, ByVal Width As Integer, ByVal Lenght As Integer, ByVal HRI As Integer, ByVal HRIF As Integer, ByVal Extra1 As String, ByVal Extra2 As String, ByVal TypeBarcode As Integer, ByVal Barcode As String) As Integer
Function PRINT BARCODE Extended code 1 075. Used to Print Barcode with Position, Width, Length, Font, HRI Only for FP90
Public Function opProgLogoGrafico(ByVal FullFilePath As String) As Integer
Function : INVIO COUPON GRAFICO (SEND GRAPHIC FILE) Only for FP260/FP90 up to Rel. 1.xxx.
Public Function opPromoAgg(ByVal CodOpr As Integer, ByVal NRigaPromo As Integer, ByVal DescRigaPromo As String) As Integer
Function : INVIO PROMOZIONI AGGIUNTIVE (SEND ADDITIONAL TEXT FOR PROMOTION) Code 1 068
Public Function opAddRowDesc(ByVal CodOpr As Integer, ByVal TipoRiga As Integer, ByVal NumRiga As Integer, ByVal PrintFont As Integer, ByVal RowDesc As String, [Extra As String = ""]) As Integer
Function INVIA RIGHE AGGIUNTIVE (PRINT ADDITIONAL ROWS) Code 1 078 for FP90
Public Function opAlzoCarta(ByVal CodOpr As Integer, ByVal TipoCarta As Integer) As Integer
Function INVIO COMANDO ALZOCARTA (SEND PAPER FEED COMMAND) Code 1 148
Public Function opRiavvioStampaDaFineCarta(ByVal CodOpr As Integer) As Integer
Function RICHIESTA RIAVVIO STAMPA DOPO FINE CARTA (RECOVER AN END OF PAPER ERROR) Code 1 149. This method must be used following the ERROR from the printer: PRINTER OFF-LINE. In case of FP90 and follow the rel. 1.0C the printer automatically recover the error, it is not needed to send this message.
Public Function opXTotFinGior(ByVal CodOpr As Integer) As Integer
Function STAMPA TOTALE FINANZIARIO GIORNALIERO (PRINT A DAILY FINANCIAL REPORT) Code 2 001
Public Function opXTotRepGior(ByVal CodOpr As Integer, ByVal NumReparto As Integer) As Integer
Function STAMPA TOTALE REPARTI GIORNALIERO (PRINT A DAILY DEPARTMENT REPORT) Code 2 003.
Public Function opXTotOreGior(ByVal CodOpr As Integer) As Integer
Function STAMPA TOTALE ORARIO GIORNALIERO (PRINT A DAILY REPORT SPLIT BY HOUR) Code 2 005
Public Function opXTotOprGior(ByVal CodOpr As Integer, ByVal NumeroOperatore As Integer) As Integer
Function STAMPA TOTALE OPERATORI GIORNALIERO (PRINT A DAILY OPERATOR REPORT) Code 2 006
Public Function opXTotFinPer(ByVal CodOpr As Integer) As Integer
Function STAMPA TOTALE FINANZIARIO PERIODICO (PRINT THE PERIODICAL FINANCIAL REPORT) Code 2 007
Public Function opXTotRepPer(ByVal CodOpr As Integer, ByVal NumReparto As Integer) As Integer
Function STAMPA TOTALE REPARTI PERIODICO (PRINT PERIODICAL DEPARTMENT REPORT) Code 2 009
Public Function opXTotPLUGior(ByVal CodOpr As Integer, ByVal CodPLU As Integer) As Integer
Function STAMPA TOTALE PLU GIORNALIERO (PRINT DAILY PLU REPORT) Code 2 004
Public Function opXTotPLUPer(ByVal CodOpr As Integer, ByVal CodPLU As Integer) As Integer
Function STAMPA TOTALE PLU PERIODICO (PRINT PERIODICAL PLU REPORT) Code 2 010
Public Function opXTotOrePer(ByVal CodOpr As Integer) As Integer
Function STAMPA TOTALE ORARIO PERIODICO (PRINT PERIODICAL REPORT SPLIT BY HOURS) Code 2 011
Public Function opXTotOprPer(ByVal CodOpr As Integer, ByVal NumeroOperatore As Integer) As Integer
Function STAMPA TOTALE OPERATORI PERIODICO (PRINT PERIODICAL OPERATOR REPORT) Code 2 012
Public Function opZChiusuraFisc(ByVal CodOpr As Integer) As Integer
Function CHIUSURA FISCALE (DAILY CLOSURE) Code 3 001
Public Function opZTotFinGior(ByVal CodOpr As Integer) As Integer
Function STAMPA/AZZERRAMENTO TOTALE FINANZIARIO GIORNALIERO (PRINT/RESET DAILY FINANCIAL REPORT) Code 3 002
Public Function opZTotPLUGior(ByVal CodOpr As Integer, ByVal CodicePLU As Integer) As Integer
Function STAMPA/AZZERRAMENTO TOTALE PLU GIORNALIERO (PRINT/RESET DAILY PLU REPORT) Code 3 004
Public Function opZTotOreGior(ByVal CodOpr As Integer) As Integer
Function STAMPA/AZZERRAMENTO TOTALE ORARIO GIORNALIERO (PRINT/RESET DAILY REPORT PER HOUR) Code 3 005
Public Function opZTotOprGior(ByVal CodOpr As Integer, ByVal NumeroOperatore As Integer) As Integer
Function STAMPA TOTALE OPERATORI GIORNALIERO (PRINT/RESET DAILY OPERATOR REPORT) Code 3 006
Public Function opZTotFinPer(ByVal CodOpr As Integer) As Integer
Function STAMPA/AZZERRAMENTO TOTALE FINANZIARIO PERIODICO (PRINT/RESET PERIODICAL FINANCIAL REPORT) Code 3 007
Public Function opZTotPLUPer(ByVal CodOpr As Integer, ByVal CodicePLU As Integer) As Integer
Function STAMPA/AZZERRAMENTO TOTALE PLU PERIODICO (PRINT/RESET PERIODICAL PLU REPORT) Code 3 009
Public Function opZTotOrePer(ByVal CodOpr As Integer) As Integer
Function STAMPA/AZZERRAMENTO TOTALE ORARIO PERIODICO (PRINT/RESET PERIODICAL REPORT PER HOUR) Code 3 010
Public Function opZTotOprPer(ByVal CodOpr As Integer, ByVal NumeroOperatore As Integer) As Integer
Function STAMPA/AZZERRAMENTO TOTALE OPERATORI PERIODICO (PRINT/RESET PERIODICAL OPERATOR REPORT) Code 3 011
Public Function opZFNumPro(ByVal CodOpr As Integer, ByVal N1 As Integer, ByVal N2 As Integer) As Integer
Function STORIA FISCALE TRA DUE NUMERI PROGRESSIVI (FISCAL PRINT BETWEEN TWO NUMBER) Code 3 012
Public Function opZFDate(ByVal CodOpr As Integer, ByVal DD1 As Integer, ByVal MM1 As Integer, ByVal YYYY1 As Integer, ByVal DD2 As Integer, ByVal MM2 As Integer, ByVal YYYY2 As Integer) As Integer
Function STORIA FISCALE TRA DUE DATE (FISCAL HISTORY BETWEEN TWO DATES) Code 3 013
Public Function opZSommaSFDate(ByVal CodOpr As Integer, ByVal DD1 As Integer, ByVal MM1 As Integer, ByVal YYYY1 As Integer, ByVal DD2 As Integer, ByVal MM2 As Integer, ByVal YYYY2 As Integer) As Integer
Function SOMMA STORIA FISCALE TRA DUE DATE (ADD FISCAL HISTORY BETWEEN TWO DATES) Code 3 014
Public Function opZFiscMem(ByVal CodOpr As Integer) As Integer
Function STAMPA INTEGRALE MEMORIA FISCALE (FISCAL MEMORY PRINT-OUT) Code 3 015
Public Function opZDGFENumPro(ByVal CodOpr As Integer, ByVal DD As Integer, ByVal MM As Integer, ByVal YYYY As Integer, ByVal N1 As Integer, ByVal N2 As Integer) As Integer
Function STAMPA DGFE PER NUMERO SCONTRINO (PRINT OUT E/j SELECTING FOR THE RECEIPT NUMBER) Code 3 098 Only for FP90
Public Function opZDGFEDate(ByVal CodOpr As Integer, ByVal DD1 As Integer, ByVal MM1 As Integer, ByVal YYYY1 As Integer, ByVal DD2 As Integer, ByVal MM2 As Integer, ByVal YYYY2 As Integer) As Integer
Function STAMPA DGFE PER DATE (PRINT-OUT E/j BETWEEN TWO DATE) Code 3 099 Only for FP90
Public Function opReadDGFENumPro(ByVal CodOpr As Integer, ByVal DD As Integer, ByVal MM As Integer, ByVal YYYY As Integer, ByVal N1 As Integer, ByVal N2 As Integer, ByVal FirstRead As Boolean) As Integer
Function RICHIESTA DATI DGFE PER NUMERI SCONTRINO (E/j READING BETWEEN TWO NUMBER OF FISCAL RECEIPT) Code 3 100 Only for FP90
Public Function opReadDGFEDate(ByVal CodOpr As Integer, ByVal DD1 As Integer, ByVal MM1 As Integer, ByVal YYYY1 As Integer, ByVal DD2 As Integer, ByVal MM2 As Integer, ByVal YYYY2 As Integer, ByVal FirstRead As Boolean) As Integer
Function RICHIESTA DATI DGFE PER DATA (READING E/j BETWEEN TWO DATES) Code 3 101 Only for FP90
Public Function opReadDGFEState(ByVal CodOpr As Integer) As Integer
Function READ THE STATE OF DGFE code 1 077. Only for FP90
Public Function opDGFEFormat(ByVal CodOpr As Integer) As Integer
Function FORMAT DGFE code 3 097. Only for FP90
Public Function opProgRigaInt(ByVal NRigaInt As Integer , ByVal DescInt As String) As Integer
Function INVIO/PROGRAMMAZIONE RIGHE INTESTAZIONE (SEND/PROGRAM HEADER OF THE RECEIPT: COMPANY NAME ETC.) Code 3 016
Public Function opReadRigaInt(ByVal NRigaInt As Integer) As Integer
Function LETTURA RIGHE INTESTAZIONE (READ HEADER OF THE RECEIPT: COMPANY NAME ETC.) Code 3 216
Public Function opAttivazioneEuro(ByVal CodOpr As Integer) As Integer
Function ATTIVAZIONE EURO (EURO ENABLE) Code 3 018
Public Function opReadContDesc(ByVal NContante As Integer) As Integer
Function RICHIESTA CONTANTI CON DESCRIZIONE (READING CASH WITH DESCRIPTION) Code 3 253
Public Function opReadParFatt() As Integer
Function RICHIESTA PARAMETERS FATTURA (READING INVOICE PARAMETERS) Code 3 225
Public Function opReadMatrFisc(ByVal CodOpr As Integer) As Integer
Function RICHIESTA MATRICOLA FISCALE (READING OF FISCAL SERIAL NUMBER) Code 3 217
Public Function opReadGranTotale() As Integer
Function READ GRAN TOTALE code 2 052. Used to Read GranTotale value Only for FP90
Public Function opReadTotaleFinanziarioAnnulliScontrino(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA ANNULLI SCONTRINO (READING OF REQUEST RECEIPT ERASING) Code 2 050/051 Tipo 05
Public Function opReadTotaleFinanziarioApertureCassetto(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA APERTURE CASSETTO (READING OF NUMBER OF OPEN CASH DRAWER COMMANDS) Code 2 050/051 Tipo 21
Public Function opReadTotaleFinanziarioAssegni(ByVal Periodo As Integer, ByVal NumeroValuta As Integer) As Integer
Function RISPOSTA LETTURA ASSEGNI IN CASSA (READING OF CHECKS IN CASH DRAWER) Code 2 050/051 Tipo 17
Public Function opReadTotaleFinanziarioChiusureGiornaliere(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA CHIUSURE GIORNALIERE (READING DAILY CLOSURE) Code 2 050/051 Tipo 27
Public Function opReadTotaleFinanziarioContanti(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA CONTANTI (READING CASH IN CASH DRAWER) Code 2 050/051 Tipo 13
Public Function opReadTotaleFinanziarioContantiConDesc(ByVal Periodo As Integer, ByVal NContante As Integer) As Integer
Function RISPOSTA LETTURA CONTANTI CON DESCRIZIONE (READING CASH WITH DESCRIPTION) Code 2 050/051 Tipo 29
Public Function opReadTotaleFinanziarioContantiVal(ByVal Periodo As Integer, ByVal NumeroValuta As Integer) As Integer
Function RISPOSTA LETTURA CONTANTI IN VALUTA (READING CASH IN DIFFERENT CURRENCY) Code 2 050/051 Tipo 12
Public Function opReadTotaleFinanziarioCorrezioni(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA CORREZIONI (READING RECTIFICATION) Code 2 050/051 Tipo 04
Public Function opReadTotaleFinanziarioCredCC(ByVal Periodo As Integer, ByVal NCartaCC As Integer) As Integer
Function RISPOSTA LETTURA CREDITI/CARTE DI CREDITO (READING CREDIT/CREDIT CARD) Code 2 050/051 Tipo 18
Public Function opReadTotaleFinanziarioEntrateAssegni(ByVal Periodo As Integer, ByVal NumeroValuta As Integer) As Integer
Function RISPOSTA LETTURA ENTRATE IN ASSEGNI (READING CHECK INPUT) Code 2 050/051 Tipo 15
Public Function opReadTotaleFinanziarioEntrateCont(ByVal Periodo As Integer, ByVal NumeroValuta As Integer) As Integer
Function RISPOSTA LETTURA ENTRATE IN CONTANTI (READING CASH INPUT) Code 2 050/051 Tipo 10
Public Function opReadTotaleFinanziarioFatture(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA FATTURE (READING INVOICE) Code 2 050/051 Tipo 22
Public Function opReadTotaleFinanziarioFiscaleGiornaliero(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA TOTALE FISCALE GIORNALIERO (READING DAILY FISCAL AMOUNT) Code 2 050/051 Tipo 28
Public Function opReadTotaleFinanziarioMaggiorazioniPerc(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA MAGGIORAZIONI IN PERCENTUALE (READING PERCENTAGE SURCHARGE) Code 2 050/051 Tipo 08
Public Function opReadTotaleFinanziarioMaggiorazioniVal(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA MAGGIORAZIONI A VALORE (READING SURCHARGE AT FIXED AMOUNT) Code 2 050/051 Tipo 30
Public Function opReadTotaleFinanziarioRecCreditiAssegni(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA RECUPERO CREDITI IN ASSEGNI (READING RECOVERED CREDIT IN CHECK) Code 2 050/051 Tipo 14
Public Function opReadTotaleFinanziarioRecCreditiContanti(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA RECUPERO CREDITI IN CONTANTI (READING RECOVERED CREDIT IN CASH) Code 2 050/051 Tipo 09
Public Function opReadTotaleFinanziarioReparto(ByVal Periodo As Integer, ByVal NReparto As Integer) As Integer
Function RISPOSTA LETTURA REPARTO (READING DEPARTMENT REPORT) Code 2 050/051 Tipo 01
Public Function opReadTotaleFinanziarioResi(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA RESI MERCE (READING RETURNED GOODS) Code 2 050/051 Tipo 02
Public Function opReadTotaleFinanziarioRicevute(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA RICEVUTE (READING RICEVUTE FISCALI) Code 2 050/051 Tipo 23
Public Function opReadTotaleFinanziarioScontiPerc(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA SCONTI IN PERCENTUALE (READING PERCENTAGE DISCOUNT) Code 2 050/051 Tipo 07
Public Function opReadTotaleFinanziarioScontiVal(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA SCONTI IN VALORE (READING FIXED AMOUNT DISCOUNT) Code 2 050/051 Tipo 06
Public Function opReadTotaleFinanziarioScontriniFiscali(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA SCONTRINI FISCALI (READING FISCAL RECEIPT NUMBER) Code 2 050/051 Tipo 24
Public Function opReadTotaleFinanziarioScontriniMemoriaFiscale (ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA SCONTRINI DI LETTURA MEMORIA FISCALE (READING FISCAL MEMORY READING) Code 2 050/051 Tipo 25
Public Function opReadTotaleFinanziarioScontriniNonFiscali(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA SCONTRINI NON FISCALI (NOT FISCAL RECEIPT READING) Code 2 050/051 Tipo 26
Public Function opReadTotaleFinanziarioStorni(ByVal Periodo As Integer) As Integer
Function RISPOSTA LETTURA STORNI (READING NUMBER OF REVERSAL) Code 2 050/051 Tipo 03
Public Function opReadTotaleFinanziarioTasse(ByVal Periodo As Integer, ByVal NTassa As Integer) As Integer
Function RISPOSTA LETTURA TASSE (VAT READING) Code 2 050/051 Tipo 20
Public Function opReadTotaleFinanziarioTicket(ByVal Periodo As Integer, ByVal NTicket As Integer) As Integer
Function RISPOSTA LETTURA TICKET (READING OF TICKET) Code 2 050/051Tipo 19
Public Function opReadTotaleFinanziarioUsciteAssegni(ByVal Periodo As Integer, ByVal NumeroValuta As Integer) As Integer
Function RISPOSTA LETTURA USCITE IN ASSEGNI (READING OF CHECK OUTPUT) Code 2 050/051 Tipo 16
Public Function opReadTotaleFinanziarioUsciteCont(ByVal Periodo As Integer, ByVal NumeroValuta As Integer) As Integer
Function RISPOSTA LETTURA USCITE IN CONTANTI (READING OF CASH OUTPUT) Code 2 050/051 Tipo 11
Public Function opProgDataOra(ByVal Giorno As Integer, ByVal Mese as Integer, ByVal Anno as Integer, ByVal Ore As Integer, ByVal Minuti as Integer) As Integer
Function PROGRAMMAZIONE DATA ORA (DATE & TIME PROGRAMMING) Code 4 001. This method can be used only following a daily closure.
Public Function opProgReparto(ByVal NReparto As Integer, ByVal DescReparto As String, ByVal Prezzo1 As Currency, ByVal Prezzo2 As Currency, ByVal Prezzo3 As Currency, ByVal Item As Integer, ByVal NTassaRep As Integer, ByVal Limite As Currency, ByVal GruppoStampa As Integer, ByVal SuperGruppoMerceologico As Integer, ByVal UMFattura As String) As Integer
Function PROGRAMMAZIONE REPARTO (DEPARTMENT PROGRAMMING) Code 4 002
Public Function opProgTassa(ByVal NTassa As Integer, ByVal Aliquota As Single) As Integer
Function PROGRAMMAZIONE TASSA (VAT SET) Code 4 005
Public Function opProgValuta(ByVal NValuta As Integer, ByVal DescValuta As String, ByVal ValoreValuta As Double) As Integer
Function PROGRAMMAZIONE VALUTA (CURRENCY SET-UP) Code 4 006
Public Function opProgCredCC(ByVal NCartaCC As Integer, ByVal DescCartaCC As String) As Integer
Function PROGRAMMAZIONE CARTA CREDITO (SET UP OF CREDIT CARD) Code 4 007
Public Function opProgContanteConDesc(ByVal NContante As Integer, ByVal DescContante As String) As Integer
Function PROGRAMMAZIONE CONTANTI CON DESCRIZIONE (SET THE CASH DESCRIPTION) Code 4 053
Public Function opProgTicket(ByVal NTipoTicket As Integer, ByVal DescTicket As String, ByVal ValoreTicket As Currency) As Integer
Function PROGRAMMAZIONE TICKET (SET TICKET) Code 4 010
Public Function opProgOpr(ByVal NumeroOperatore As Integer, ByVal DescOpr As String, ByVal CodOprSegr As Integer, ByVal PerOpr As Single) As Integer
Function PROGRAMMAZIONE OPERATORE ( OPERATOR SETTING) Code 4 013
Public Function opProgFlag(ByVal NumFlag As Integer, ByVal Flag As Integer) As Integer
Function PROGRAMMAZIONE FLAG (FLAG SETTING) Code 4 014
Public Function opProgConf(ByVal NumConf As Integer, ByVal Conf As Integer) As Integer
Function PROGRAMMAZIONE CONFIGURAZIONE (CONFIGURATION PARAMETER SETTING) Code 4 015
Public Function opProgTipoRigaInt(ByVal NumRiga As Integer, ByVal TipoStampa As Integer) As Integer
Function PROGRAMMAZIONE TIPO STAMPA RIGHE INTESTAZIONE (SET THE FONT FOR THE HEADER) Code 4 016
Public Function opProgParFatt(ByVal NumFatt As Integer, ByVal NumRigheTot As Integer, ByVal NumRigheInTesta As Integer, ByVal StampaIntestazione As Boolean, ByVal DescEsenzione As String) As Integer
Function PROGRAMMAZIONE PARAMETRI FATTURA (SET THE INVOICE PARAMETERS) Code 4 025
Public Function opReadDataOra() As Integer
Function RICHIESTA DATA ORA (DATE & TIME READING) Code 4 201
Public Function opReadReparto(ByVal NReparto As Integer) as Integer
Function RICHIESTA REPARTO (DEPARTMENT READING) Code 4 202
Public Function opReadTassa(ByVal NTassa As Integer) As Integer
Function RICHIESTA TASSA (VAT READING) Code 4 205
Public Function opReadValuta(ByVal NValuta As Integer) As Integer
Function RICHIESTA VALUTA (READING CURRENCY) Code 4 206
Public Function opReadCredCC(ByVal NCartaCC As Integer) As Integer
Function RICHIESTA CARTA CREDITO (CREDIT CARD READING) Code 4 207
Public Function opReadTicket(ByVal NTipoTicket As Integer) As Integer
Function RICHIESTA TICKET (READING TICKET) Code 4 210
Public Function opReadOpr(ByVal NumeroOperatore As Integer) As Integer
Function RICHIESTA OPERATORE (READING OPERATOR) Code 4 213
Public Function opReadNumeroScontrino(ByVal CodOpr As Integer) As Integer
Function RICHIESTA NUMERO SCONTRINO (RECEIPT NUMBER READING) Code 1 070 Only for FP260/FP90
Public Function opReadStato(ByVal CodOpr As Integer) As Integer
Function RICHIESTA STATO (STATUS READING) Code 1 074 Only for FP260/FP90
Public Function opReadFlag(ByVal NumFlag As Integer) As Integer
Function RICHIESTA FLAG (READING OF THE FLAG) Code 4 214
Public Function opReadConf(ByVal NumConf As Integer) As Integer
Function RICHIESTA CONFIGURAZIONE (CONFIGURATION READING) Code 4 215
Public Function opReadTipoRigaInt(ByVal NumRiga As Integer) As Integer
Function RICHIESTA TIPO STAMPA RIGHE INTESTAZIONE (READING TYPE OF HEADER) Code 4 216
It is possible to check the details of the error reading the following property LastEERR
DESCRIZIONE PROPRIETA'
Settings - String
Sets the serial communication port..
Format of string to use for setting the communication port:
Baud rate & "," & Tipo di Parità & "," & Num bit di dati & "," Num bit di stop
Exp 9600,n,8,1
Default value is 9600,n,8,1
Kind of access: READ/WRITE
COMPort - Integer
Number of communication port
Default value is COM1.
Kind of access: READ/WRITE
EuroSettings - Integer
Define how to manage the amount with different currency
Default value is EPS_EUROSETTINGS_UNKNOWN,
in this way the control does not work .
Value: EPS_EUROSETTINGS_UNKNOWN, EPS_EUROSETTINGS_LIRE, EPS_EUROSETTINGS_EURO
Kind of access: READ/WRITE
Major - Integer
Number Major of the ActiveX version OCX
Kind of access: READ
Minor - Integer
Number Minor of the ActiveX version
Kind of access: READ
Revision - Integer
Version number of ActiveX
Kind of access: READ
LastEERR - Integer
Fiscal printer error code
Kind of access: READ
LastOP (OP) - Integer
Code of operator
Kind of access: READ
LastOPCode - Integer
Number of code relating the command sent to the printer (Header1 + Header2
of the communication protocol)
Kind of access: READ
LastCodProd (COD) - String
Product code
Kind of access: READ
LastQta (QTA) - Single - [0000,001-9999,999]
Quantity (with and w/o decimal)
Kind of access: READ
LastTipoPre (TIPO) - Integer
Kind of price
Kind of access: READ
LastPre (PREZ) - Cost
Price
Kind of access: READ
LastImportoValuta (VAL) - Currency
Currency amount
Kind of access: READ
LastImp (IMP) - Currency
Amount
Kind of access: READ
LastRep (REP) - Integer
Department
Kind of access: READ
LastPercReparto (%) - Single
Percentage of discount/surcharge in the department
Kind of access: READ
LastNettoPrecedente (NETP) - Currency
Net value before applying the percentage (discount/surcharge)
Kind of access: READ
LastSubT (SUBT) - Currency
SubTotal amount
Kind of access: READ
LastPerc (%) - Single
Percentage
Kind of access: READ
LastTotFisc (TF) - Currency
Fiscal amount
Kind of access: READ
LastTotNFisc (TNF) - Currency
Not fiscal amount
Kind of access: READ
LastGG (GG) - Integer [1-31]
Days of the cash register
Kind of access: READ
LastMM (MM) - Integer [1-12]
Month of the cash register
Kind of access: READ
LastAA (AA) - Integer
Year of the cash register
Kind of access: READ
LastHH (HH) - Integer [0-23]
Hours of the cash register
Kind of access: READ
LastMin (Min) - Integer [0-59]
Minutes of the cash register
Kind of access: READ
LastDate () - Date [GG/MM/AA - HH:MM:SS]
Date of the fiscal printer
Kind of access: READ
LastNumSF (N.SF) - Long
Number of fiscal receipt/invoice
Kind of access: READ
LastNumSNF (NSNF) - Long
Number of fiscal receipt
Kind of access: READ
LastRim (RIM) - Currency
Remaining amount to be paid
Kind of access: READ
LastRest (RES) - Currency
Change of the payment
Kind of access: READ
LastCC (CC) - Integer
CreditCard
Kind of access: READ
LastNValuta (N) - Integer
Number of currency
Kind of access: READ
LastNumTick (N) - Integer
Ticket
Kind of access: READ
LastSubTotFisc (SBF) - Currency [from -999999999 to 999999999]
Fiscal
sub total amount
Kind of access: READ
LastSubTotNFisc (SBNF) - Currency [from -999999999 to 999999999]
Not fiscal sub total amount
Kind of access: READ
LastNReparto (REP) - Integer [1-40]
Number of the department
Kind of access: READ
LastDescReparto - (String) [max 20 character]
Description of the department
Kind of access: READ
LastPrezzo1 - (Currency) [0-999999999]
Price number
1
Kind of access: READ
LastPrezzo2 - (Currency) [0-999999999]
Price number
2
Kind of access: READ
LastPrezzo3 - (Currency) [0-999999999]
Price number 3
Kind of access: READ
LastItem
(ITEM) - Integer [0-1]
Item sold
Kind of access: READ
NTassaRep(TAS) - Integer [0-4];
0 = Tax exempt
Department VAT
Kind of access: READ
LastLimite (LIM) - (Currency) [0-999999999]
Range of
price
Kind of access: READ
LastGruppoStampa
(GR) - (Integer) [0-10]
Kind of pritner
Kind of access: READ
LastSuperGruppoMerceologico
(SUP) - (Integer)
[0-10]
A kind of main department
Kind of access: READ
LastUMFattura
(UM) - (String) [MAx two characters]
Unit to be used in the invoice
Kind of access: READ
LastNTassa
(N) - (Integer) [1-4]
Number of VAT
Kind of access: READ
LastAliquota
(VAL) - (Single) [0,00-99,99]
Value of VAT
Kind of access: READ
LastNCartaCC
(N) - (Integer) [1-10]
Number of Credit Card
Kind of access: READ
LastDescCartaCC
(DESC) - (String) [max 20]
Credit Card description
Kind of access: READ
LastNContanteDesc
(N) - (Integer) [1-5]
Number of kind of cash with description
Kind of access: READ
LastNTipoTicket
(N) - (Integer) [1-10]
kind of ticket
Kind of access: READ
LastDescTicket
(DESC) - (String) [max 20 character]
Description of the ticket
Kind of access: READ
LastValoreTicket
(VAL) - (Currency) [0-999999999]
Amount of the Ticket
Kind of access: READ
LastDescValuta
(DESC) - (String) [max 2 character]
Description of the currency
Kind of access: READ
LastValoreValuta
(VAL) - (Currency) [0,000000001-99999,999999999]
Kind of currency ratio
Kind of access: READ
LastNumeroOperatore
(N) - (Integer) [1-12]
Operator number
Kind of access: READ
LastDescOpr
(DESC) - (String) [max 20 character]
Description of the operator
Kind of access: READ
LastCodOprSegr
(COD) - (INTEGER) [0-9999]
Operator keyword
Kind of access: READ
LastPerOpr
(%OP) - (Single) [00,00-99,99]
Operator percentage
Kind of access: READ
LastNumFlag
(N) - (Integer) [1-26]
Flag Id number
Kind of access: READ
FISCAL PRINTER | |||
FLAG | FP90 | FP210/FP285 | FP260 |
1 | TRAINING | TRAINING | TRAINING |
2 | NOT USED | KEYBOARD BUZZER | KEYBOARD BUZZER |
3 | PRINT CASH DRAWER OPENINGS | PRINT CASH DRAWER OPENINGS | PRINT CASH DRAWER OPENINGS |
4 | OPERATORS | OPERATORS | OPERATORS |
5 | SECRET OPERATORS | SECRET OPERATORS | SECRET OPERATORS |
6 | RESET OPERATORS | RESET OPERATORS | RESET OPERATORS |
7 | PRINT OPERATORS | PRINT OPERATORS | PRINT OPERATORS |
8 | PRINT NUMBER OF PIECES | PRINT NUMBER OF PIECES | PRINT NUMBER OF PIECES |
9 | SHORT PRODUCT CODE | SHORT PRODUCT CODE | SHORT PRODUCT CODE |
10 | PC ON LINE | PC ON LINE | PC ON LINE |
11 | NO AUTOM PAPER END INFORMATION | SCALE ITEM | SCALE ITEM |
12 | VIEW PAPER CLOSE TO END | FAT/RF PRICE |
FAT/RF PRICE |
13 |
SUBTOTAL MANDATORY |
SUBTOTAL MANDATORY |
SUBTOTAL MANDATORY |
14 |
RECEIPT REPRINT ALLOWED |
RECEIPT REPRINT ALLOWED |
RECEIPT REPRINT ALLOWED |
15 |
0 = BC 2 CODED. TYPE 1 1 = BC 2 CODED. TYPE 2 |
0 = BC 2 CODED. TYPE 1 1 = BC 2 CODED. TYPE 2 |
0 = BC 2 CODED. TYPE 1 1 = BC 2 CODED. TYPE 2 |
16 |
0 = BC2 WITH INT. CKS 1 = BC2 WITHOUT INT. CKS |
0 = BC2 WITH INT. CKS 1 = BC2 WITHOUT INT. CKS |
0 = BC2 WITH INT. CKS 1 = BC2 WITHOUT INT. CKS |
17 |
0 = BC2 WITH WEIGHT INF. 1 = BC2 WITH QUANT. INF. |
0 = BC2 WITH WEIGHT INF. 1 = BC2 WITH QUANT. INF. |
0 = BC2 WITH WEIGHT INF. 1 = BC2 WITH QUANT. INF. |
18 |
SHIFT KEY ENABLED |
SHIFT KEY ENABLED |
SHIFT KEY ENABLED |
19 |
REVERSAL KEY ENABLED |
REVERSAL KEY ENABLED |
REVERSAL KEY ENABLED |
20 |
RETURN-GOOD KEY ENA. |
RETURN-GOOD KEY ENA. |
RETURN-GOOD KEY ENA. |
21 |
CANCEL KEY ENABLE |
CANCEL KEY ENABLED |
CANCEL KEY ENABLED |
22 |
DISCOUNT KEY ENABLED |
DISCOUNT KEY ENABLED |
DISCOUNT KEY ENABLED |
23 |
FIX DISCOUNT KEY ENA. |
FIX DISCOUNT KEY ENA. |
FIX DISCOUNT KEY ENA. |
24 |
PRINT CURRENCY |
PRINT CURRENCY |
PRINT CURRENCY |
25 |
PRINT TOTAL EURO/LIRE |
PRINT TOTAL EURO/LIRE |
PRINT TOTAL EURO/LIRE |
26 |
AUTOMATIC OPENING OF THE CASH DRAWER |
NOT USED |
AUTOMATIC OPENING OF THE CASH DRAWER |
The table reports the the operating mode the the printer when the flag is TRUE.
LastFlag
(VAL) - (Integer) [0-1]
Value of the programmed flag
Kind of access: READ
LastNumConf
(N) - (Integer) [1-10] ([1-11] For FP260, [1-99]
For FP90)
Number of configuration parameter
Kind of access: READ
ID NUMBER | FP90 | RANGE | DEFAULT VALUE |
1 | IMPUTATION VALUE | 1÷99 | 1 |
2 | ROUNDING AMOUNT | 1÷999 | 1 |
3 | ROUNDING PERCENT | 1÷999 | 1 |
4 | ROUNDING CURRENCY | 1÷999 | 1 |
5 | NUMBER OF RETRIES | 1÷99 | 1 |
6 | TIMEOUT OF RETRY | 1÷99 | 5 |
7 | PRINT DENSITY | 1÷25 | 12 |
8 | DISPLAY BRIGHTNESS | 1÷99 | 6 |
9 | GRAPHIC HEADER | 0÷99* | 0 |
10 | GRAPHIC FOOTER | 0÷99* | 0 |
11 | PRINTER NUMBER | 0÷999 | 0 |
12 | PRINT PAPER 0=80; 1=60; 2=57 mm | 0÷2 | 0 |
13 | STANDBY ON DISPLAY | 1÷99 | 60 |
* Since release 2.0. Previously the range was 0-9.
CONFIGURATION TABLE FOR FP210/FP265
ID NUMBER | FP210/265 | RANGE | DEFAULT VALUE |
1 | IMPUTATION VALUE | 1÷99 | 1 |
2 | ROUNDING AMOUNT | 1÷999 | 1 |
3 | ROUNDING PERCENT | 1÷999 | 1 |
4 | ROUNDING CURRENCY | 1÷999 | 1 |
5 | NUMBER OF RETRIES | 1÷99 | 3 |
6 | TIMEOUT OF RETRY | 1÷99 | 5 |
7 | PRINT DENSITY | 1÷25 | 12 |
8 | DISPLAY BRIGHTNESS | 1÷99 | 6 |
CONFIGURATION TABLE DESCRIPTION FOR FP260
ID NUMBER | FP260 | RANGE | DEFAULT VALUE |
1 | IMPUTATION VALUE | 1÷99 | 1 |
2 | ROUNDING AMOUNT | 1÷999 | 1 |
3 | ROUNDING PERCENT | 1÷999 | 1 |
4 | ROUNDING CURRENCY | 1÷999 | 1 |
5 | NUMBER OF RETRIES | 1÷99 | 3 |
6 | TIMEOUT OF RETRY | 1÷99 | 5 |
7 | PRINT DENSITY | 1÷25 | 12 |
8 | DISPLAY BRIGHTNESS | 1÷99 | 6 |
9 | GRAPHIC HEADER | 0÷9 | 0 |
10 | GRAPHIC FOOTER | 0÷9 | 0 |
11 | PRINTER NUMBER | 0÷999 | 0 |
LastConf
(VAL) - (Integer) [000-999]
Value of the flag during configuration
Kind of access: READ
LastNumRiga
(N) - (Integer)-
[1-6]
Number of the row
Kind of access: READ
LastTipoStampa
(TIPO) - (Integer) [1-4]
Identifies the size and the style of the font (1=Normal; 2=Bold; 3=Double
size; 4=Double size bold)
Kind of access: READ
LastNumFatt
(FAT) - (Integer) [1-9999]
Invoice number
Kind of access: READ
LastNRigheFatt
(N.R.) - (Integer) [20-99]
Number of row in the invoice
Kind of access: READ
LastNRigheBiancheFatt
(NRB) - (Integer) [0-20]
Number of blank row in the invoice (at the beginning)
Kind of access: READ
LastStampaIntestazione
(LOG) - (Boolean) [True-False]
Flag to able the print out of the HEADER (company name)
Kind of access: READ
LastDescEsenzione
(ESEN) - (String) [max 14 character]
Description of VAT TAX exemption
Kind of access: READ
LastDescContante
(DESC) - (String) [max 20 character]
Description of the cash with "description"
Kind of access: READ
LastMastFisc
(NUM) - (Long) [000000-999999]
Fiscal memory serial number
Kind of access: READ
LastModel
(MOD) - (String) [2 character]
Identification number of kind of fiscal printer
Kind of access: READ
LastOEM
(PROD) - (String) [2 character]
Identification number of printer manufacturer
Kind of access: READ
LastMatrFiscExtended
(String) [10 character]
Fiscal memory serial number got from the following property:
LastMatrFisc, LastModel, LastOEM
Kind of access: READ
LastNum
(NUM) - (Long) [1-999999999]
Number to be print-out set to the left side.
Kind of access: READ
LastParametroDaLeggere
(TIPO) - (Integer) [1-29]
Parameter to be read in the request number 2050 e 2051
Kind of access: READ
LastDatoLetto
(NUMERO/NR) - (Integer) [1-40]
Data to be read in the request number 2050 e 2051
Kind of access: READ
LastTotalePezziLetti
(T.P.) - (Long) [0-999999999]
Total number of pieces in the reply to
the requests 2050 and 2051.
Kind of access: READ
LastTotaleImportiLetti
(T.I.) - (Currency) [0-999999999]
Total amount read to the request 2050 e 2051
Kind of access: READ
LastTotaleConteggiLetti
(T.P.) - (Long) [0-999999999]
Total amount relating the value computed from the printer in the request
2 050 and 2 051 for: LETTURA APERTURE CASSETTO (READING NUMBER OF CASH DRAWER
OPENING OPERATIONS); LETTURA SCONTRINI FISCALI (READING OF THE NUMBER OF FISCAL
RECEIPTS); - LETTURA SCONTRINI DI LETTURA MEMORIA FISCALE (READING OF THE
NUMBER OF RECEIPTS ISSUED FOR READING FISCAL MEMORY); - LETTURA SCONTRINI NON FISCALI
(READING OF THE NUMBER OF NOT FISCAL RECEIPTS); - NUMERO CHIUSURE GIORNALIERE
(READING OF THE NUMBER OF DAILY CLOSURES);
Kind of access: READ
LastTotalePezziRepartoLetti
(NR) - (Double) [0-999999999]
Total number of pieces (for department) in the reply to the requests 2050 and
2051 (Reading department);
Kind of access: READ
LastImponibileLetto
(T.P.) - (Currency) [0-999999999]
Total amount relating the reading 2050 and 2051 (VAT reading)
Kind of access: READ
LastTotAC
(TOT A/C) - (Boolean) [True-False]
Gives indication if the property LastNSF is relating to the next
receipt (TRUE) or the current OPENED fiscal receipt (False)
Kind of access: READ
LastCPUsw
(CPU) - (String)
Software release of fiscal board
microcontroller
Kind of access: READ
LastMFsw
(MF) - (String)
Software release of fiscal memory microcontroller
Kind of access: READ
LastState
(STATO) - (String)
Fiscal printer status
Printer FP260:
first byte: 0=Ok, 1=journal paper close to run out, 2=receipt paper close to
run out
second byte: not used
third byte: (status cash drawer) 0=open, 1=close
byte 3 and 4 not used
Printer FP90:
first byte: 0=Ok, 2=paper close to run out; 3=printer off line
second byte (status DGFE) 0=OK, 1= almost full, 2=not formatted, 3=previous
DGFE , 4=DGFE of other printer, 5=DGFE full, 6=DGFE missing
third byte (status cash drawer) 0=open, 1=close
fourth byte (status receipt) 0=Fiscal receipt open, 1=Receipt close, 2=Not fiscal receipt
open, 3=Payment, 4=Error on Last ESC/POS command with receipt closed, 5=Negative Total Amount,
6=Error on Last ESC/POS command with Not fiscal receipt open,
fifth byte: not used.
Kind of access: READ
LastNS
(NS) - (Long) [1-9999]
Number of the row reading from the
Electronic journal
a nd relating to the astNR receipt
Kind of access: READ
LastNR
(NR) - (Long) [1-9999]
Number of the receipt reading from the Electronic journal
Kind of access: READ
LastDGFE
(DGFE) - (String) [40 character]
There is the content of a row (LastNR) read from the electronic journal and
relating to the LastNS receipt.
Kind of access: READ
LastDGFEState DGFE State (Integer) [0-6]
Kind of access: READ
- 0=DGFE ok
- 1=DGFE almost full
- 2=DGFE not formatted
- 3=previous DGFE
- 4=DGFE of other printer
- 5=DGFE FULL
- 6=DGFE RUN-OUT
List of Property
LastDGFEUtil
UTIL - DGFE Percentage of use (Integer) [1-99]
Kind of access: READ
LastDGFENum
Number of DGFE (Integer) [0-99]
Kind of access: READ
Retry
(Boolean)
setting this property TRUE the activeX uses the previous frame counter to
manage a method. In this way it is possible to resend to a printer the
previous request relating to a method not close correctly.
Kind of access: READ/WRITE
OCXBusy
(Boolean)
Provide indication if the Active is free to manage a new method.
True - it means that the ActiveX is busy to manage the new method
False - it means that the control is free to manage a new method
It is suggested to check this property before use a new method.
Kind of access: READ
TimeoutOP
(Integer)
Set or read the value of time-out (in seconds) needed
to end a method. If the application SW does
not set the time out value the default value is used.
Kind of access: READ/WRITE
TimeoutACK
(Integer)
Set or read the value of time-out (in seconds) needed to reply with a ACK to
a request relating a method. If
the application SW does not set the time out value the default value is used.
Kind of access: READ/WRITE
LastTimeoutOP
(Integer)
Provide the value of the time out set from the application SW in
the previous method. This time -out is relating the max time
needed to end a method. If
the application SW does not set the time out value the default value is used.
Kind of access: READ
LastTimeoutACK
(Integer)
Provide the value of the time out set from the application SW in
the previous method. This time -out is relating the max time from the end of
request sent to the fiscal printer and the ACK from the printer. If the
application SW does not set the time out value the default value is used.
Kind of access: READ
LastGranTotale
(Currency)
Amount of Gran Totale
Kind of access: READ
LastNumAzzeramenti
(Long)
Number of reset
Kind of access: READ
LastIsPaymentLightGlobal
TRUE - If the payment amount is enough to complete the payment
(Boolean)
Kind of access: READ
ExtendedLicenseGraphic
(Integer)
Read / Set the license to execute extended graphics methods
Kind of access: READ/WRITE
ExtendedLicenseTicketing
(Integer)
Read / Set the license to execute extended ticketing methods
Kind of access: READ/WRITE
LastDescrRigaIntestazione (String) [27-40]
Row Header Description value
Kind of access: READ
Following is reported a new enumeration of CONSTANT:
OP_OK
Method complete OK
EERR
Errors in the fiscal printer
EERR Definition | Code | Description |
EERR_CARTA_GIORNALE | 01 | Journal paper close to end. |
EERR_CARTA_SCONTRINO | 02 | Receipt paper close to end |
EERR_OFFLINE | 03 | Printer ERROR: Paper end OR Cover open OR ... |
EERR_ERR_04 | 04 | Not used |
EERR_ERR_05 | 05 | Not used |
EERR_ERR_06 | 06 | Not used |
EERR_SLIP_KO | 07 | Slip printer not connected or not working |
EERR_TASTO_ERRATO | 08 | Pushed a wrong key |
EERR_DATA_INFERIORE | 09 | The date sent is before the expected value. It is not allowed to set a date before last daily closure. |
EERR_DATA_ERRATA | 10 | At least a field of the date sent is out of range. |
EERR_SEQUENZA_ERRATA | 11 | Command sequence not allowed. (i.e. an attempt to void a receipt already closed). |
EERR_DATI_INESISTENTI | 12 | Tried to read or write not existing data. |
EERR_VALORE_ERRATO | 13 | Generic error message. A field of the record sent is not allowed |
EERR_PROG_MATRICOLA | 14 | The printer has not been configured with the serial number yet. |
EERR_GIA_ESISTENTE | 15 | Tried to perform an already done operation. |
EERR_NON_PREVISTO | 16 | Generic error message. A index parameter not allowed (i.e.: Tax id = 5 when the number of taxes configured is = 4. |
EERR_IMPOSSIBILE_ORA | 17 | Generic error message. The operation required is not allowed now. (i.e. tried to set up date and time without having performed a closure) |
EERR_NON_POSSIBILE | 18 | Generic error message. The operation required is not allowed |
EERR_SCRITTA_INVALIDA | 19 | The frame sent contains the character sequence "TOTALE" inside. |
EERR_SUPERA_VALORE | 20 | The number of digits of the last input variable (i.e. barcode) is greater than the maximum allowed. |
EERR_SUPERA_LIMITE | 21 | The value sent for a variable is out of the range allowed. |
EERR_NON_PROGRAMMATO | 22 | The command requires that some parameters must be previously configured. |
EERR_CHIUDI_SCONTRINO | 23 | The maximum number of rows allowed for a receipt has been reached. The receipt must be closed performing the payment. |
EERR_CHIUDI_PAGAMENTO | 24 | The maximum number of rows allowed for a receipt and the maximum number of partial payments have been reached. The receipt must be closed performing one global payment. |
EERR_MANCA_OPERATORE | 25 | No operator have been selected while the device has been configured in order to use operators. |
EERR_CASSA_INFERIORE | 26 | The amount in the cash (cash, checks, ...) is not enough for the required operation. |
EERR_OLTRE_PROGRAMMAZ | 27 | The price field is greater than the maximum allowed. |
EERR_PC_NON_COLLEGATO | Locally managed error. Communication time out error | |
EERR_MANCA_MODULO | 29 | Slip printer is without paper. |
EERR_CHECKSUM_ERRATO | 30 | Checksum of the fiscal code is wrong |
EERR_DATI_INESISTENTI_PC | Locally managed error. PC didn't return the required data because they are not existing. |
List of CONSTANT errors:
OP_ERR_NOCOLL
Fiscal cash register is not connected to the serial port.
OP_ERR_TIMEOUT
Expired the timeout to receive the complete reply from the printer (received
ACK + STX. ETX is missing)
OP_ERR_CHKS
Received a frame with wrong checksum
OP_ERR_PORTCLOSE
Communication port is not OPENED
OP_ERR_EUROLOCK
The Property EuroSettings is not
correctly set.
OP_ERR_FILENOTFOUND
Graphic file does not found.
OP_ERR_ACKTIMEOUT
In the communication process, the printer didn't reply
with ACK.
OP_ERR_STXTIMEOUT
In the communication process the printer has replied only with the ACK, the
complete reply is missing.
OP_ERR_OCXBUSY
it has been request a method before the previous one has been completed. In
case of communication error it is needed to wait the reply from the printer.
OP_ERR_EXTENDEDGRAPHICLICENSENOTFOUND
OP_ERR_EXTENDEDGRAPHICLICENSENOTFOUND
If property ExtendedLicenseGraphic is not set to right license value
OP_ERR_EXTENDEDTICKETINGLICENSENOTFOUND
OP_ERR_EXTENDEDTICKETINGLICENSENOTFOUND
If property ExtendedLicenseTicketing is not set to right license value
CONSTANTS DESCRIPTION
Following is reported a new enumeration of CONSTANT:
EPS_EUROSETTINGS_UNKNOWN=0
Default value for the property EuroSettings. Every methods return OP_ERR_EUROLOCK
EPS_EUROSETTINGS_LIRE=1
In this way the activeX provides the currency arguments setting as LIRE
without decimal figure
EPS_EUROSETTINGS_EURO=2
In this way the activeX provides the currency arguments setting as EURO
where the last two digits are decimals.
Following is reported a new enumeration of CONSTANT:
EPS_SCONTRINO=1
Relating to the
receipt
0EPS_GIORNALE=2
Relating to the journal
EPS_SCONTRINO_GIORNALE=3
Relating to the receipt and journal
OP_CODE_ASSEG_REST
This
code is provided in reply to the method opAssegno(Integer,
Currency) giving indication that
the fiscal printer has replied with the change of
payment, time
and the number of fiscal receipt/invoice
following the payment.
OP_CODE_ASSEG_RIM
This
code is provided in reply to the method opAssegno(Integer,
Currency) giving indication that
the fiscal printer has replied with the
remaining
amount
following the payment.
OP_CODE_CONT_REST
This
code is provided in reply to the method opContante(Integer,
Currency) giving in0dication that the fiscal printer
has replied with the change of
payment, time
and the number of fiscal receipt/invoice
following the payment.
OP_CODE_CONT_RIM
This
code is provided in reply to the method opContante(Integer,
Currency) giving indication that the fiscal printer
has replied with the remaining
amount
following the payment.
OP_CODE_CONTDESC_REST
This
code is provided in reply to the method opContanteConDesc(Integer,Integer,Currency) giving indication that the fiscal printer
has replied with the change of
payment, time
and the number of fiscal receipt/invoice
following the
payment.
OP_CODE_CONTDESC_RIM
This
code is provided in reply to the method opContanteConDesc(Integer,Integer,Currency) giving indication that the fiscal printer
has replied with the remaining
amount
following the payment.
OP0_CODE_CONTVAL_REST
This code is
provided in reply to the method opContanteVal(Integer, Integer,
Currency) giving indication that the
fiscal printer has replied with the change of payment, time and the number of fiscal
receipt/invoice.
OP_CODE_CONTVAL_RIM
This
code is provided in reply to the method opContanteVal(Integer, Integer,
Currency) giving indication that the
fiscal printer has replied with the remaining amount.
OP_CODE_ASSEGVAL_REST
This code is
provided in reply to the method opAssegnoVal(Integer, Integer,
Currency) giving indication that the fiscal printer has replied with
the change of payment, time
and the number of fiscal receipt/invoice.
OP_CODE_ASSEGVAL_RIM
This code is
provided in reply to the method opAssegnoVal(Integer, Integer,
Currency) giving indication that
the fiscal printer has replied with the remaining
amount.
0OP_CODE_SUBT
This code is
provided in reply to the method opSubTot(Integer)
giving indication that the fiscal printer has replied with the partial
amount fiscal and not fiscal.
OP_CODE_SUBT_RIM
This code is provided in reply to the
method opSubTot(Integer) giving
indication that the fiscal printer has replied with remaining
amount.
OP_CODE_TICKET_REST
This code is provided in reply to the
method opTicket (Integer, Integer, Currency)
giving indication that the fiscal printer has added during the reply the
change of payment, time and the number of fiscal receipt/invoice.
OP_CODE_TICKET_RIM
This code is provided in reply to the method opTicket (Integer, Integer, Currency)
giving indication that the fiscal printer has added during the reply the remaining amount.
OP_CODE_DGFENUMPRO_VAL
U0sed to provide indication during the E/j
reading. When program want to
go on with the reading during the opReadDGFEXXXXXX used this CONSTANT
OP_CODE_DGFE_END
Used to provide indication during the E/j reading. When finished use
this constant during the opReadDGFEXXXXXX to stop the
reading
Following is reported a new enumeration of CONSTANT:
EPS_GIORNALIERO
Used to provide indication if needed a daily financial
report when used the method for the printout of financial report like opReadTotaliFinanziarioXXXXXX
EPS_PERIODICO
Used to provide indication if needed a periodical finacial report when
used the method for the printout of financial report like opReadTotaliFinanziarioXXXXXX
Following is reported a new enumeration of CONSTANT:
EPS_ALIGN_SX=1
Used to left align
the 25 characters description to the display (one row 20 characters)
EPS_ALIGN_DX=2
Used to right align
the 25 characters description to the display (one row 20 characters)
FPError(ErrorLevel As Integer, ErrorCode As Long)
This event is generated when an error occurs in the management of a method whose name starts with the prefix op
DESCRIPTION OF PARAMETERS
Size: 2 bytes
Type: Integer
Range: 1 -12
Description: used to set the code of the operator
Size: 2 bytes
Type: Integer
Range: 0 -12
Description: used to set one of the operator
Size: 20 bytes
Type: String
Range: alphanumeric
Description: used to provide the description for the product
Size: 9 bytes
Type: Currency
Range: 1-999999999
Description: used to set the price of a product, last two digit are the decimal part of the euro.
Size: 2 bytes
Type: Integer
Range: 1 - 40
Description: provide the description of the department
Size: 2 bytes
Type: Integer
Range: 0 - 40
Description: used to select one of the department
Size: 20 bytes
Type: String
Range: alphanumeric
Description: provide description of the department
Size: 2 byte
Type: Integer
Range: 0 - 10
Description: identifies the printing group of the product
Size: 2 byte
Type: Integer
Range: 0 - 10
Description: select one of the 10 main association of products
Size: 2 byte
Type: String
Range: alphanumeric
Description: provide description of the unit used for q.ty in the invoice)
Size: 2 byte
Type: Integer
Range: 0 - 4
Description: used to provide cross reference between VAT number and department
Size: 2 byte
Type: Integer
Range: 1-4
Description: to select one of the four VAT number
Size: 4 byte
Type: Single
Range: 0,00 - 99,99
Description: provide the description of the VAT used)
Size: 1 o 2 byte
Type: Integer
Range: 1 - 6
Description: Number of the currency
Size: 2 bytes
Type: String
Range: alphanumeric
Description: used to provide the description of the other currency (max 6 )
Size: 1 byte
Type: Integer
Range: 1 - 3
Description: used to set for every department 3 kind of price value)
Size: 9 byte
Type: Currency
Range: 0 - 999999999
Description: used to set the price number 1 of the product
Size: 9 byte
Type: Currency
Range: 0 - 999999999
Description: used to set the price number 2 of the product
Size: 9 byte
Type: Currency
Range: 0 - 999999999
Description: used to set the price number 3 of the product
Size: 9 byte
Type: Currency
Range: 0 - 999999999
Description: used to set the max value of the IMPORTO (amount)
Size: 1 byte
Type: Integer
Range: 0 - 1
Description:
Size: 40
Type: String
Range: alphanumeric
Description: used to provide a code for the product (normally the BAR-CODE value). If not used set the value to ZERO.
Size: 7 bytes
Type: Integer
Range: 1-9999
Description: used to provide the q.ty
Size: 7 bytes
Type: Single
Range: 0000,001-9999,999
Description: used to set the quantity with decimal
Size: 9
Type: Currency
Range: 1-999999999
Description: used for the amount
Size: 9
Type: Currency
Range: 1-999999999
Description: used to set the amount of currency
Size: 9
Type: Currency
Range: 1-999999999
Description: used to set the amount of check)
Size: 4 bytes
Type: Single
Range: 00,01 - 99,99
Description: used to provide information of the percentage for discount/surcharge
Size: 4 byte
Type: Single
Range: 0,01-99,99
Description: use to set the percentage of discount/surcharge
Size: 2 bytes
Type: Integer
Range: 0-10
Description: used to select one of the 10 credit card programmed
Size: 20 bytes
Type: String
Range: alphanumeric
Description: used to put the description of one of 10 credit card
Size: 2 byte
Type: Integer
Range: 1-10
Description: used to select one of the 10 programmable tickets.
Size: 20 byte
Type: String
Range: alphanumeric
Description: used to put the description of the 10 programmable tickets
Size: 2 byte
Type: Currency
Range: 1-10
Description: if ValoreTicket=0 it is used the programmed Ticket otherwise it is used as value the content of ValoreTicket even if it has been set a value
Size: 15 byte
Type: Double
Range: 1-999999,999999999
Description: ratio from the currency NValuta to the
currency of the fiscal printer.
Exp.. 1 L. = 0,0005164 € in case of LIRA for currency and printer in
EURO for currency
Size: 40 byte
Type: String
Range: alphanumeric
Description: used to put the message for the display or for the additional description
Size: 1 byte
Type: Integer
Range: 1-5
Description: used to set the number of additional row in the receipt.
Size: 40 byte
Type: String
Range: alphanumeric
Description: used to put the message for the additional row or the row in the NON fiscal receipt.
Size: 1 byte
Type: Integer
Range: 1-4
Description: set the kind of FONT to be used in the NOT FISCAL receipt
Size: 2 byte
Type: Integer
Range: 1-6 ; 98-99
Description: Header Row number
"98" means print out of the header;
"99" means save the header in memory
Size: 27 byte
Type: String
Range: alphanumeric [max 27 characters]
Description: Header description
Size: 2 byte
Type: Integer
Range: 1-99 [View LastNumFlag ]
Description: Number of Flag
Size: 1 byte
Type: Integer
Range: 0-1 [0=FALSE; 1=TRUE]
Description: Value of the flag
Size: 1 byte
Type: Integer
Range: 1-99 [View LastNumConf ]
Description: Number of the configuration parameter
Size: 3 byte
Type: Integer
Range: 0-999 [View LastNumConf ]
Description: Value of the configuration parameter
Size: 20 byte
Type: String
Range: alphanumeric [max 20 character]
Description: Description of the operator
Size: 5 byte
Type: Integer
Range: 0-9999
Description: Operator Keyword
Size:
Type: Single
Range: 0-99,99
Description: Percentage of the operator
Size: 1 byte
Type: Integer
Range: 1-6
Description: Number of currency
Size: 2 byte
Type: String
Range: alphanumeric [max 2 characters]
Description: Description of the currency
Size:
Type: Double
Range: 0,000000001-99999,999999999
Description: Exchange ratio (rapporto di cambio)
Size:
Type: Currency
Range: [1-999999999
Description: Cash amount ] Default = 0
With Default = 0 the receipt is closed, the fiscal printer
computes automatically the due amount using the currency (NVALUTA)
Size:
Type: Single
Range: 0-99
Description: Surcharge percentage
Size: 1 byte
Type: Integer
Range: EPS_SCONTRINO o EPS_GIORNALE o EPS_SCONTRINO_GIORNALE
Description: releating to Receipt, Journal, Receipt+Journal (MUST use the value used in the following COSTANT: EPS_SCONTRINO o EPS_GIORNALE o EPS_SCONTRINO_GIORNALE)