Development Guide
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 | |
2.00.65 | S |
*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 2005 | CG | |
*For methods opDescrAgg, parameters Descr:
| 22 July 2005 | CG | |||
*For method opReadMatrFisc:
| 28 Sep 2005 | CG | |||
2.00.67 | T |
Extended the management of method "opValMinusLight" also for surcharge
Added management of Credit Notes Added description/management of forbidden words Added method "opReadTotaleFinanziarioNoteDiCredito" Added management of international settings (decimal separator) | 17 Oct 2005 | CG | |
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.
Sample of Fiscal Receipt printed by FP90
|
|
LOGO: 384Kyte, reserved for images to be printed at the beginning and/or at the end of the receipt. |
|
|
|
HEADER: Printed automatically using - opApriScontrinoFiscale - opIniSNoFisc - opAddRowDesc when TipoRiga=4 - any selling command |
|
|
|
ADDITIONAL HEADER ROWS: They must be loaded in advance, before opening the receipt with the method:- opAddRowDesc: using TipoRiga=1 |
|
|
|
opRepartoResoLight: good return to be refunded |
|
|
|
opRepartoLight: sale of an item |
|
|
|
opValMinusLight: to perform discount on the last item sold or on the subtotal |
|
|
|
opAddRowDesc: using TipoRiga=4 |
|
opStampaVisSubtotale: to print and show on the display the subtotal amount |
|
|
|
opRepartoStornoLight: to cancel the last sale operation |
|
|
|
opPagamentoLight: to perform payment and close the receipt |
|
|
|
CHANGE: Automatically computed by the printer |
|
|
|
NUMBER OF ITEMS: optional, automatically added to the receipt |
|
opAddRowDesc: using TipoRiga=2 |
|
|
|
Cash Id Number: Automatically printed on the receipt |
|
|
|
Fiscal Receipt Number: Automatically printed on the receipt |
|
Printer Serial Number: printed automatically on the receipt |
|
|
|
opAddRowDesc: using TipoRiga=3 |
|
|
|
opPrintBarcodeExtended: to print bar codes on the receipt |
|
|
Credit Note Receipt
Starting from Rel. 3.00 EPSON fiscal printers FP90 is able to manage "Credit Note" receipt. In other words it allows to refund the amount paid to the customer in the case that he returns to the shop items bought.
The operation requires to release a "Credit note" receipt.
Credit note receipts have the following characteristics:
The receipt must be open as "Credit note"
Allows only "good return" operations
Doesn't allow mixed operations (sales, returns, substitutions...)
Allows to apply discounts/surcharges as done in sale operations
Payment command closes the "Credit note" receipt
Opening a Credit Note Receipt
A credit note receipt can be started using the method "opAddRowDesc " with the following parameters:
TipoRiga = 4
RowDesc = "PRATICA DI RESO xxxxxxxxxxxxxxxxx"
The sentence "PRATICA DI RESO" represents the keyword to open a credit note:
It must be written using capital characters
It must be used one black character to separate the words
The part indicated with "xxxxxxxxxxxxxxxxx" represent a free text that can be added for further description. It is composed by 17 characters.
Methods allowed inside a credit note receipt
Once the credit note is open, only a subset of the methods described in this guide can be used. They are presented in the following list;
The following method performs the closure of the credit note if the fiscal printer is not configured for JAVAPOS mode (Flag JavaPos = 0).
Fiscal Printer Modes
EPSON fiscal printers offer additional functions beyond the requirements of the Italian tax authority. Fiscal Printer Modes, mandatory and options, are described in the International standard: “UnifiedPOS Retail Peripheral Architecture”.
EPSON FP family manages all the modes described in the standard:
o Fiscal: This is the only required mode for a Fiscal Printer. In this mode the application has access to all the methods needed to manage a sale transaction and to print a fiscal receipt. It is assumed that any lines printed to the receipt station while in fiscal mode are also printed on the journal station.
o Training: In this mode, the Fiscal Printer is used for training purposes (such as cashier training). In this mode, the Fiscal Printer will accept fiscal commands but the Fiscal Printer will indicate on each receipt or document that the transaction is not an actual fiscal transaction. The Fiscal Printer will not update any of its internal fiscal registers while in training mode. Such printed receipts are usually marked as “training” receipts by Fiscal Printers.
o Non Fiscal: In this mode the Fiscal Printer can be used to print simple text on the receipt station (echoed on the journal station) or the slip station. The Fiscal Printer will print some additional lines along with the application requested output to indicate that this output is not of a fiscal nature. Such printed receipts are usually marked as “non-fiscal” receipts by Fiscal Printers
Fiscal Printer States
As previously described, a Fiscal Printer is characterized by different printing
modes. Moreover, the set of commands that can be executed at a particular
moment depends upon the current state of the Fiscal Printer.
The Fiscal Printer has the following states:
• Monitor:
This is a neutral state. From this state, it is possible to move to most of the other Fiscal Printer states.
• Fiscal Receipt:
The Fiscal Printer is processing a fiscal receipt.
• Fiscal Receipt Total:
The Fiscal Printer has already accepted at least one payment method, but the receipt’s total amount has not yet been tendered.
• Fiscal Receipt Ending:
The Fiscal Printer has completed the receipt up to the Total line.
• Monitor and TrainingModeActive are true:
The Fiscal Printer is being used for training purposes. All fiscal receipt and
document commands are available.
• Fiscal Receipt and TrainingModeActive are true:
The Fiscal Printer is being used for training purposes and a receipt is currently opened. To each line of the receipt, special text will be added in order to differentiate it from a fiscal receipt.
• Fiscal Total and TrainingModeActive are true:
The Fiscal Printer is in training mode and receipt total is being handled.
• Fiscal ReceiptEnding and TrainingModeActive are true:
The Fiscal Printer is being used for training is in the receipt ending phase.
• NonFiscal:
The Fiscal Printer is printing non-fiscal output on either the receipt (echoed on the journal) or the slip.
• Report:
The Fiscal Printer is currently printing one of the supported types of reports.
The following table reports all the states described. It reports also all the possible state-transactions.
The state “Fiscal Receipt Ending” operates only when the printer is configured in "JavaPOS" mode. Inside the table, the transactions marked with "a" are possible only when the printer operates in JavaPOS mode while, on the contrary, the transactions marked with "b" are possible only when the printer is not configured in JavaPOS mode.
Forbidden words inside Fiscal Receipt
Inside fiscal receipt, text row and descriptions, can not use some words defined as "forbidden words".
The set of "forbidden words" is described in the following list:
Totale
Sconto
Importo
Contante
The printer cannot accept the above words regardless the case-letter (Cap., lower or mixed).
The word are refused also if the letters are separated by space or any other kind of not alphabetical character.
As example the character sequence "t O-t+a#L,e" will not be accepted by the printer because removing all the not alphabetic characters the remaining word is tOtaLe.
When the printer, inside a fiscal receipt, receives a message that includes a text field, and inside the text field there is a forbidden sequence, the printer doesn't accept the message and returns the error code "EERR_SCRITTA_INVALIDA".
These limitations are not applied inside Not Fiscal Receipt
Fiscal printers FP90 starting from release 3.00 don't manages the forbidden words in a different way. Before printing a forbidden word in a fiscal receipt, it
replies the last character with the "*" character so "totale" will be written "total*", "sconto" becames "scont*", "importo" becames "import*" and "contante" becames "contant*".
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 PROPERTIES
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 becames 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()
Opens the COM port COMPort
Public Sub PortClose()
Closes the COM port COMPort
Public Function PortIsOpen() As Boolean
Checks if the COMPort is open
Public Sub SocketOpen()
Opens the Socket for TCP-IP Communication RemotePrinterIPAddress RemotePrinterIPPortNumber
Public Sub SocketClose()
Closes the Socket for TCP-IP Communication RemotePrinterIPAddress RemotePrinterIPPortNumber
Public Function SocketIsOpen(ByRef handleSocket As Long) As Boolean
Checks if the Socket for TCP-IP Communication RemotePrinterIPAddress RemotePrinterIPPortNumber 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/SURCHARGE 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 opApriScontrinoFiscale(ByVal CodOpr As Integer) As Integer
Function : INVIO COMANDO APERTURA SCONTRINO FISCALE (OPEN A FISCAL RECEIPT) Code 1 085. Only for FP90 since Rel. 2.01. It starts a new fiscal receipt printing the header and the word "EURO"
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 opStampaVisSubtotale(ByVal CodOpr As Integer, ByVal TipoRichiesta As Integer, ByVal SpareWord As String) As Integer
Function Request, Print and Display of subtotal - Code 1 086. It is used to require, present and print the subtotal amount. Only for FP90 since Rel.2.01
OP_OK Result OK
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 (SENDS DATA TO BE PRINTED ON A NOT FISCAL RECEIPT) Code 1 064
Public Function opEndSNoFisc(ByVal CodOpr As Integer) as Variant
Function : INVIO COMANDO FINE SCONTRINO NON FISCALE (CLOSES 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
TABLE 1
Type |
System |
Data Field |
Maximum value of width (Wmax) |
|
Length |
Admitted chars |
|||
0 |
UPC-A |
12 |
0 ÷ 9 |
5 |
1 |
UPC-E |
12 |
0 ÷ 9 (First char must be = 0) |
8 |
2 |
JAN 13 EAN 13 |
13 |
0 ÷ 9 |
5 |
3 |
JAN 8 EAN 8 |
8 |
0 ÷ 9 |
8 |
4 |
CODE39 |
1 ÷ 30 |
0 ÷ 9, A ÷ Z, space, $, %, *, +, -, ., / |
Up to 4 chars Wmax = 8; From 5 to 6 chars Wmax = 4; From 7 to 9 chars Wmax = 3 From 10 to 15 chars Wmax = 2 From 16 to 30 chars Wmax = 1 |
5 |
ITF |
2 ÷ 54 (number of chars must be even) |
0 ÷ 9 |
Up to 10 chars Wmax = 8 From 12 to 14 chars Wmax = 4 From 16 to 18 chars Wmax = 3 From 20 to 30 chars Wmax = 2 From 32 to 54 chars Wmax = 1 |
6 |
CODABAR (NW7) |
1 ÷ 43 |
0 ÷ 9, A ÷ D, a ÷ d, $, +, -, ., / |
Up to 7 chars Wmax = 8 From 8 to 9 chars Wmax = 5 From 10 to 11 chars Wmax = 4 From 12 to 15 chars Wmax = 3 From 16 to 23 chars Wmax = 2 From 24 to 43 chars Wmax = 1 |
72 * |
CODE93 |
1 ÷ 52 |
00h ÷ 07Fh Excluding 07Ch ("|") that it is not allowed |
Up to 5 chars Wmax = 8 From 6 to 7 chars Wmax = 5 From 8 to 10 chars Wmax = 4 From 11 to 14 chars Wmax = 3 From 15 to 24 chars Wmax = 2 From 25 to 52 chars Wmax = 1 |
73 * |
CODE128 |
3 ÷ 45**
|
00h ÷ 07Fh Depending upon the character set used. See Table 2 and 3 |
Up to 4 chars Wmax = 8 From 5 to 6 chars Wmax = 5 From 7 to 8 chars Wmax = 4 From 9 to 12 chars Wmax = 3 From 13 to 20 chars Wmax = 2 From 21 to 43 chars Wmax = 1 *** |
* Managed only since Release 3.00.
** The first two characters are not printed but are used to identify the character set to use (CODE A, CODE B o CODE C) as shown in Table 2
*** Considering only the printed chars. Due to the control char the data string is longer.
Note for Code93 and CODE128(Code B): Enabling HRI and Using HRI font = 0, the characters "{" and "}" will be printed on the HRI row. Anyway they are present in the BarCode
TABLE 2
Special Character |
Sequence to send |
Admitted Character Set |
|
CODE A |
{A |
Printout characters |
From 20h (space) to 5Fh ( _ ) |
Control Characters |
From 00h to 1Fh |
||
Special Characters |
FNC 1; FNC 2; FNC 3; FNC 4; SHIFT; CODE B; CODE C. Require to send two characters: “{” ed the character to identify the function. |
||
CODE B |
{B |
Printout characters |
From 20h to 7Fh; To get “{” it's required to send “{{” Excluding 07Ch ("|") that it is not allowed |
Special Characters |
FNC 1; FNC 2; FNC 3; FNC 4; SHIFT; CODE A; CODE C. |
||
CODE C |
{C |
Numerical data |
Each two digit group is represented by one ASCII code (one byte). Example: The numeric data “01234567” is composed by the following 4 bytes 01h, 17h, 2Dh, 43h. (in decimal mode 1, 23, 45, 67). |
Special Characters |
FNC 1; CODE A; CODE B. |
TABLE 3
Special Character |
Sequence to send |
Special Character |
Sequence to send |
FNC 1 |
{1 |
FNC 2 |
{2 |
FNC 3 |
{3 |
FNC 4 |
{4 |
{ |
{{ |
|
|
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
Starting from Rel. 3.00 FP90 manages Credit Notes. The method opAddRowDesc allows to begin a Credit Note.
- Tipo Riga must be = 4
- RowDesc must be "PRATICA DI RESO xxxxxxxxxxxxxxx" where:
- "PRATICA DI RESO" represent the keyword to start the Credit Note
- "xxxxxxxxxxxxxxx" represents a free text that can be added.
CFunction 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 opProgSalesPromotionTable(ByVal
NumPromotion As Integer, ByVal TypePromotion As enumEPS_PROMO_TYPE, ByVal
CodTastiera As Integer,
ByVal BarCode As String, ByVal DescrPromo As String,
ByVal Price As Currency, ByVal NRep As Integer,
ByVal CodPLU As Integer, ByVal DummyBytes As String) As Integer
Function INVIO/PROGRAMMAZIONE TABELLA PROMOZIONI INTESTAZIONE (SEND AND PROGRAM PROMOTION TABLE FOR CONVENTIONS, EMPLOYERS .) Code 4 060. Only for FP90 since Rel. 2.01
Public Function
opReadSalesPromotionTable(ByVal NumPromotion As Integer) As Integer
Function LETTURA DATI TABELLA PROMOZIONI (READ PROMOTION TABLE FOR CONVENTIONS, EMPLOYERS .) Code 4 060 Only for FP90 since Rel. 2.01
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 opReadTotItemAmountPLU(ByVal CodPLU) As Integer
Function READ TOTAL AMOUNT AND ITEM FOR PLU code 2 015. Used to Read the number and amount related to the selected PLU since last Reset.
Public Function opResetTotItemAmountPLU(ByVal CodPLU) As Integer
Function RESET TOTAL AMOUNT AND ITEM FOR PLU code 3 019. Used to Clear the number and amount related to the selected PLU.
Public Function opReadTotaleFinanziarioAnnulliScontrino(ByVal Periodo As enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA ANNULLI SCONTRINO (READING OF REQUEST RECEIPT ERASING) Code 2 050/051 Tipo 05
Public Function opReadTotaleFinanziarioApertureCassetto(ByVal Periodo As enumEPS_Periodo) 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 enumEPS_Periodo, 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 enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA CHIUSURE GIORNALIERE (READING DAILY CLOSURE) Code 2 050/051 Tipo 27
Public Function opReadTotaleFinanziarioContanti(ByVal Periodo As enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA CONTANTI (READING CASH IN CASH DRAWER) Code 2 050/051 Tipo 13
Public Function opReadTotaleFinanziarioContantiConDesc(ByVal Periodo As enumEPS_Periodo, 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 enumEPS_Periodo, 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 enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA CORREZIONI (READING RECTIFICATION) Code 2 050/051 Tipo 04
Public Function opReadTotaleFinanziarioCredCC(ByVal Periodo As enumEPS_Periodo, 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 enumEPS_Periodo, 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 enumEPS_Periodo, 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 enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA FATTURE (READING INVOICE) Code 2 050/051 Tipo 22
Public Function opReadTotaleFinanziarioFiscaleGiornaliero(ByVal Periodo As enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA TOTALE FISCALE GIORNALIERO (READING DAILY FISCAL AMOUNT) Code 2 050/051 Tipo 28
Public Function opReadTotaleFinanziarioMaggiorazioniPerc(ByVal Periodo As enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA MAGGIORAZIONI IN PERCENTUALE (READING PERCENTAGE SURCHARGE) Code 2 050/051 Tipo 08
Public Function opReadTotaleFinanziarioMaggiorazioniVal(ByVal Periodo As enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA MAGGIORAZIONI A VALORE (READING SURCHARGE AT FIXED AMOUNT) Code 2 050/051 Tipo 30
Public Function opReadTotaleFinanziarioNoteDiCredito(ByVal Periodo As enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA NOTE DI CREDITO (READING OF CREDIT NOTES AMOUNT) Code 2 050/051 Tipo 31
Public Function opReadTotaleFinanziarioRecCreditiAssegni(ByVal Periodo As enumEPS_Periodo) 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 enumEPS_Periodo) 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 enumEPS_Periodo, 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 enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA RESI MERCE (READING RETURNED GOODS) Code 2 050/051 Tipo 02
Public Function opReadTotaleFinanziarioRicevute(ByVal Periodo As enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA RICEVUTE (READING RICEVUTE FISCALI) Code 2 050/051 Tipo 23
Public Function opReadTotaleFinanziarioScontiPerc(ByVal Periodo As enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA SCONTI IN PERCENTUALE (READING PERCENTAGE DISCOUNT) Code 2 050/051 Tipo 07
Public Function opReadTotaleFinanziarioScontiVal(ByVal Periodo As enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA SCONTI IN VALORE (READING FIXED AMOUNT DISCOUNT) Code 2 050/051 Tipo 06
Public Function opReadTotaleFinanziarioScontriniFiscali(ByVal Periodo As enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA SCONTRINI FISCALI (READING FISCAL RECEIPT NUMBER) Code 2 050/051 Tipo 24
Public Function opReadTotaleFinanziarioScontriniMemoriaFiscale (ByVal Periodo As enumEPS_Periodo) 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 enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA SCONTRINI NON FISCALI (NOT FISCAL RECEIPT READING) Code 2 050/051 Tipo 26
Public Function opReadTotaleFinanziarioStorni(ByVal Periodo As enumEPS_Periodo) As Integer
Function RISPOSTA LETTURA STORNI (READING NUMBER OF REVERSAL) Code 2 050/051 Tipo 03
Public Function opReadTotaleFinanziarioTasse(ByVal Periodo As enumEPS_Periodo, ByVal NTassa As Integer) As Integer
Function RISPOSTA LETTURA TASSE (VAT READING) Code 2 050/051 Tipo 20
Public Function opReadTotaleFinanziarioTicket(ByVal Periodo As enumEPS_Periodo, ByVal NTicket As Integer) As Integer
Function RISPOSTA LETTURA TICKET (READING OF TICKET) Code 2 050/051Tipo 19
Public Function opReadTotaleFinanziarioUsciteAssegni(ByVal Periodo As enumEPS_Periodo, 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 enumEPS_Periodo, 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 opProgPLUTable(ByVal CodePLU As Integer, ByVal DescPLU As String, ByVal Price1 As Currency, ByVal Price2 As Currency, ByVal Price3 As Currency, ByVal NRep As Integer, ByVal BarCode As String) As Integer
Function PROGRAMMAZIONE PARAMETRI PLU (SET THE PLU PARAMETERS) Code 4 003
Public Function opProgDirectPLUKey(ByVal NKey As Integer, ByVal CodPLU) As Integer
Function PROGRAMMAZIONE TASTI PLU DIRETTI (SET THE PLU DIRECT KEY CONFIGURATION) Code 4 012
Public Function opProgPS2Key(ByVal PS2Key As Integer,
_
ByVal PS2Function As Integer) As Integer
Function PROGRAMMAZIONE TASTIERA PS2 (SET THE FUNCTION ASSIGNED TO A KEY ) Code 4 029
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 opReadPLUTable(ByVal CodPLU As Integer) as Integer
Function RICHIESTA PARAMETRI PLU (PLU PARAMETER READING) Code 4 203
Public Function opReadDirectPLUKey(ByVal NKey As Integer) as Integer
Function RICHIESTA TASTO DIRETTO PLU (PLU DIRECT KEY READING) Code 4 212
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 opReadSalesPromotionTableAmount (ByVal TypePromotion As enumEPS_PROMO_TYPE, ByVal NumPromotion As Integer) As Integer
FFunction LETTURA TOTALI PROMOZIONI (READING PROMOTIONS AMOUNT) Code 2 060 Only for FP90 since Rel. 2.01
Function RESET TOTALI TABELLE PROMOZIONIPROMOTION (RESET AMOUNT OF PROMOTION TABLE) Code 3 060 Only for FP90 since Rel. 2.01
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 opReadPS2Key(ByVal PS2Key As Integer)
As Integer
Function RICHIESTA TASTOPS2 (READING OF THE FUNCTION LINKED TO A KEY) Code 4 229
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
PROPERTY DESCRIPTION
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
COMM_Modality - Integer
Defines the communication Modality (Serial port, TCP/IP communication)
Value: EPS_SERIAL_COMM,
EPS_TCP_COMM.
Kind of access: READ/WRITE
COMPort - Integer
Number of communication port
Default value is COM1.
Kind of access: READ/WRITE
RemotePrinterIPAddress - String
TCP/IP Address of the printer
Example: 123.456.78.9.
Kind of access: READ/WRITE
RemotePrinterIPPortNumber - Long
Port number of the printer
Example: 4567.
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
LastTipoRichiestaSubTotal (TRST) - Integer
Kind of LastSubRim data. 1=LastSubRim is Subtotal; 2=LastSubRim is Remainder
Kind of access: READ
LastSubRim (SUBRIM) - Currency
SubTotal or Remainder 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
LastCodPLU (PLU) - Integer [1-1000]
Number of the PLU
Kind of access: READ
LastDescPLU - (String) [max 20 character]
Description of the PLU
Kind of access: READ
LastPrice1PLU - (Currency) [0-999999999]
Price number
1
Kind of access: READ
LastPrice2PLU - (Currency) [0-999999999]
Price number
2
Kind of access: READ
LastPrice3PLU - (Currency) [0-999999999]
Price number 3
Kind of access: READ
LastNKey (Key) - Integer [1-70]
Number of Direct key related to the PLU
Kind of access: READ
LastNRepPLU (RepPLU) - Integer [1-40]
Number of Department related to the PLU
Kind of access: READ
LastBarcodePLU - (String) [max 40 character]
Barcode related to the PLU
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 |
27 |
TX/RX ACK |
NOT USED | NOT USED |
28 | PRINT PRODUCT CODE | NOT USED | NOT USED |
29 | JAVAPOS | NOT USED | NOT USED |
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 COMM. RETRIES | 1÷99 | 1 |
6 | TIMEOUT OF COMM. 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 | CASH ID NUMBER | 0÷999 | 0 |
12 | PRINT PAPER 0=80; 1=60; 2=57 (mm) | 0÷2 | 0 |
13 | STANDBY ON DISPLAY (minutes) | 1÷99 | 60 |
14** | PAY IN ADVANCE | 0÷2 | 0 |
* Since release 2.00. Previously the range was 0-9.
** Since release 2.013. 0 = Function disabled; 1 = Enabled for all the items; 2 = Enabled for the items with price > 0.
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 | CASH ID 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
Code: {EI = FP285; EN = FP90; EP = FP210; ES = FP260}
LastOEM
(PROD) - (String) [2 character]
Identification number of printer manufacturer
Kind of access: READ
Code: {99 = EPSON}
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
LastTotItemPLU
(T.I.) - (Double) [0-999999,999]
Total number of Items related to a PLU.
Kind of access: READ
LastTotAmountPLU
(T.A.) - (Currency) [0-999999999]
Total amount related to a PLU
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
LastNumPromo (Integer) [1-999]
Promo identifier Number
Kind of access: READ
LastTypePromo (enumEPS_PROMO_TYPE) [EPS_PROMO_EMPLOYEE, EPS_PROMO_MENU, EPS_PROMO_TICKET_SURPLUS]
Type of promotion
Kind of access: READ
LastCodKeyPromo (integer) [1-999]
Keyboard number to recall the promotion
Kind of access: READ
LastBarcodePromo (string) [40 characters maximum]
Barcode to recall the promotion
Kind of access: READ
LastDescPromo (string) [40 characters maximum]
Description of the promotion
Kind of access: READ
LastPricePromo (currency) [0-9999999,99]
Value of the promotion
Kind of access: READ
LastPricePromo (integer) [1-40]
Sale department number related to the promotion
Kind of access: READ
LastCodPLUPromo (integer) [1-9999]
PLU number related to the promotion
Kind of access: READ
LastTotOp1 (integer) [0-9999]
Promo - Number of operations 1
Kind of access: READ
LastTotImp1 (Currency) [-9999999,99 - +999999,99]
Promo - Total Amount related to operations 1
Kind of access: READ
LastTotOp2 (integer) [0-9999]
Promo - Number of operations 2
Kind of access: READ
LastTotImp2 (Currency) [-9999999,99 - +999999,99]
Promo - Total Amount related to operations 2
Kind of access: READ
LastPS2Key (Integer) [0-255]
Number of the key in the keyboard
Kind of access: READ
LastPS2Fun (Integer) [1 - 999]
Promo - Total Amount related to operations 2
Kind of access: READ
Following is reported a new enumeration of CONSTANT related to enumEPS_OP_RETVALUE:
OP_OK = 0
Method complete OK
List of CONSTANT errors:
OP_ERR_NOCOLL = 1
Fiscal cash register is not connected to the serial port.
OP_ERR_TIMEOUT = 2
Expired the timeout to receive the complete reply from the printer (received
ACK + STX. ETX is missing)
OP_ERR_CHKS = 3
Received a frame with wrong checksum
OP_ERR_PORTCLOSE = 4
Communication port is not OPENED
OP_ERR_EUROLOCK = 5
The Property EuroSettings is not
correctly set.
OP_ERR_FILENOTFOUND = 6
Graphic file does not found.
OP_ERR_ACKTIMEOUT = 7
In the communication process, the printer didn't reply
with ACK.
OP_ERR_STXTIMEOUT = 8
In the communication process the printer has replied only with the ACK, the
complete reply is missing.
OP_ERR_OCXBUSY = 9
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 = 10
If property ExtendedLicenseGraphic is not set to right license value
OP_ERR_EXTENDEDTICKETINGLICENSENOTFOUND
OP_ERR_EXTENDEDTICKETINGLICENSENOTFOUND = 11
If property ExtendedLicenseTicketing is not set to right license value
OP_ERR_CREATESOCKETFAILED = 12
If has been required to create a TCP-IP socket but the method has not been
completed.
OP_ERR_TCPCONNFAILED = 13
An attempt to get a TCP-IP connection failed
OP_ERR_RECEIVE_TIMEOUT = 14
Timeout in receiving procedure
OP_ERR_RECEIVE_NODATA = 15
No data has been received
EERR = -1
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" or other forbidden word 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.
CONSTANTS DESCRIPTION
Following is reported a new enumeration of CONSTANT related to "enumEPS_EUROSETTINGS":
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 related to "enumEPS_PAPER":
EPS_SCONTRINO=1
Relating to the
receipt
EPS_GIORNALE=2
Relating to the journal
EPS_SCONTRINO_GIORNALE=3
Relating to the receipt and journal
Following is reported a new enumeration of CONSTANT related to "enumEPS_COMM_MODALITY":
EPS_SERIAL_COMM=1
Relating to the communication modality
EPS_TCP_COMM=2
Relating to the communication modality
Following is reported a new enumeration of CONSTANT related to "enumTipoStampaVisSubTotale":
PRINT_AND_VIEW=0
Relating to Subtotal presentation
PRINT_ONLY=1
Relating to Subtotal presentation
VIEW_ONLY=2
Relating to Subtotal presentation.
GET_ONLY=3
Relating to Subtotal presentation
Following is reported a new enumeration of CONSTANT related to "enumSubRim":
SUBTOTAL=1
Relating to Subtotal presentation
RIM=2
Relating to Subtotal presentation
Following is reported a new enumeration of CONSTANT related to "enumEPS_OPCODE":
OP_CODE_ASSEG_REST=1176
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=1175
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=1172
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=1171
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=1183
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=1182
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=1174
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=1173
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=1178
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=1177
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.
OP_CODE_SUBT=1051
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=1181
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=1180
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=1179
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=3100
Used to provide indication during the E/j
reading. When program wants to
go on with the reading during the opReadDGFEXXXXXX it
uses this CONSTANT
OP_CODE_DGFEDATE_VAL=3101
Used to provide indication during the E/j
reading. When program wants to
go on with the reading during the opReadDGFEXXXXXX it
uses this CONSTANT
OP_CODE_DGFE_END=3102
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 related to "enumEPS_PERIODO":
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 related to "enumEPS_ALIGNLIGHT":
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)
Following is reported a new enumeration of CONSTANT related to "enumPAYMENT_TYPE":
PAY_CASH=0
Used for Cash payments
PAY_CHECK=1
Used for payments performed by check
PAY_CC=2
Used for payments performed using Credit Cards
PAY_TICKET=3
Used for payments performed using Tickets
Enum Definition | Constant name | Value | Comments |
enum_EPS_EUROSETTINGS | EPS_EUROSETTINGS_UNKNOWN | 0 | |
EPS_EUROSETTINGS_LIRE | 1 | ||
EPS_EUROSETTINGS_EURO | 2 | ||
enumEPS_PAPER | EPS_SCONTRINO | 1 | |
EPS_GIORNALE | 2 | ||
EPS_SCONTRINO_GIORNALE | 3 | ||
enum_EPS_COMM_MODALITY | EPS_SERIAL_COMM | 1 | |
EPS_TCP_COMM | 2 | ||
enumEPS_PROMO_TYPE | EPS_PROMO_EMPLOYEE | 1 | |
EPS_PROMO_MENU | 2 | ||
EPS_PROMO_TICKET_SURPLUS | 3 | ||
enumEPS_PERIODO | EPS_GIORNALIERO | 1 | |
EPS_PERIODICO | 2 | ||
enumEPS_ALIGNLIGHT | EPS_ALIGN_SX | 1 | |
EPS_ALIGN_DX | 2 | ||
enumEPS_OPCODE | OP_CODE_ASSEG_REST | 1176 | |
OP_CODE_ASSEG_RIM | 1175 | ||
OP_CODE_CONT_REST | 1172 | ||
OP_CODE_CONT_RIM | 1171 | ||
OP_CODE_CONTDESC_REST | 1183 | ||
OP_CODE_CONTDESC_RIM | 1182 | ||
OP_CODE_CONTVAL_REST | 1174 | ||
OP_CODE_CONTVAL_RIM | 1173 | ||
OP_CODE_ASSEGVAL_REST | 1178 | ||
OP_CODE_ASSEGVAL_RIM | 1177 | ||
OP_CODE_SUBT | 1051 | ||
OP_CODE_SUBT_RIM | 1181 | ||
OP_CODE_TICKET_REST | 1180 | ||
OP_CODE_TICKET_RIM | 1179 | ||
OP_CODE_DGFENUMPRO_VAL | 3100 | ||
OP_CODE_DGFEDATE_VAL | 3101 | ||
OP_CODE_DGFE_END | 3102 | ||
enumTipoStampaVisSubtotale | PRINT_AND_VIEW | 0 | |
PRINT_ONLY | 1 | ||
VIEW_ONLY | 2 | ||
GET_ONLY | 3 | ||
enumSubRim | SUBTOTAL | 1 | |
RIM | 2 | ||
enumPAYMENT_TYPE | PAY_CASH | 0 | |
PAY_CHECK | 1 | ||
PAY_CC | 2 | ||
PAY_TICKET | 3 | ||
enumEPS_OP_RETVALUE | OP_OK | 0 | |
OP_ERR_NOCOLL | 1 | ||
OP_ERR_PORTCLOSE | 2 | ||
OP_ERR_TIMEOUT | 3 | ||
OP_ERR_CHKS | 4 | ||
OP_ERR_EUROLOCK | 5 | ||
OP_ERR_FILENOTFOUND | 6 | ||
OP_ERR_ACKTIMEOUT | 7 | ||
OP_ERR_STXTIMEOUT | 8 | ||
OP_ERR_OCXBUSY | 9 | ||
OP_ERR_EXTENDEDGRAPHICLICENSENOTFOUND | 10 | ||
OP_ERR_EXTENDEDTICKETINGLICENSENOTFOUND | 11 | ||
OP_ERR_CREATESOCKETFAILED | 12 | ||
OP_ERR_TCPCONNFAILED | 13 | ||
OP_ERR_RECEIVE_TIMEOUT | 14 | ||
OP_ERR_RECEIVE_NODATA | 15 |
Fiscal printer manages a limited character set when required to print text rows. The character set managed depends upon the printer model and, in case of FP90 upon the firmware release.
Printers P210, FP260, FP285 and FP90 (until release 1.00F)
The character set recognised by the above printers is the subset included between the characters 20h (32, 0010 0000B) and 7Fh (127, 0010 1111B ) with the exclusion of the characters “{”, “|” e “}”.
The following table shows the set of character managed.
If a text sent to the fiscal printer includes characters that are different the than the ones admitted, the characters themselves will not be printed and replaced by spaces.
Printer FP90 (since release 2.00)
Since release 2.00 FP90
Fiscal Printer is able to manage also the characters included in the range 80h – 9Fh.
It must be considered that these characters are related to page 0 (PC437 USA) so it's required that the PC must be compliant with this requirement. Otherwise it's possible to send the ASCII code (es.: chr$(138) to get the "è" character to be printed).
If a text sent to the fiscal printer includes characters that are different the than the ones admitted, the characters themselves will not be printed and replaced by spaces.
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)