Anda di halaman 1dari 10

' **************************************************************************

' Propiedad intelectual EPSON ARGENTINA S.A.


' Programador: Gomez Guillermo
' Este software se entrega con fines didcticos y sin garantia alguna.
' EPSON NO ASUME responsabilidad legal alguna. El programador usa esta informacin
' bajo su propio riesgo y responsabilidad.
' **************************************************************************
Dim Funciones() As String
Dim AyudaFunciones() As String
Dim Parametros() As String
Private Sub Command1_Click(Index As Integer)
' **************************************************************************
' Propiedad intelectual EPSON ARGENTINA S.A.
' Programador: Gomez Guillermo
' Este software se entrega con fines didcticos y sin garantia alguna.
' EPSON NO ASUME responsabilidad legal alguna. El programador usa esta informacin
' bajo su propio riesgo y responsabilidad.
' **************************************************************************
Dim respuesta As Boolean
Screen.MousePointer = 11
Select Case Index
Case 0
'Tique
respuesta = Me.IF1.OpenTicket("G")
If respuesta Then respuesta = Me.IF1.SendTicketItem("ARTICULO 1", "1
000", "10", "2100", "M", "0", "0")
If respuesta Then respuesta = Me.IF1.SendTicketItem("ARTICULO 2", "1
000", "20", "2100", "M", "0", "0")
If respuesta Then respuesta = Me.IF1.SendTicketItem("ARTICULO 3", "1
000", "30", "2100", "M", "0", "0")
If respuesta Then respuesta = Me.IF1.GetTicketSubtotal("P", "LINDO S
UB")
If respuesta Then respuesta = Me.IF1.SendTicketPayment("PAGO1", "200
", "T")
If respuesta Then respuesta = Me.IF1.CloseTicket
Case 1
'Tique Factura
respuesta = True
respuesta = Me.IF1.OpenInvoice("T", "C", "A", "1", "P", "12", "I", "
F", "PEPE", "LE BOU", "CUIT", "30614104712", "N", "LA", "PAMPA", "98", "REM 1",
"REM 2", "G")
If respuesta Then respuesta = Me.IF1.SendInvoiceItem("ARTICULO 1", "
1000", "10", "2100", "M", "0", "0", "", "", "", "1050", "0")
If respuesta Then respuesta = Me.IF1.SendInvoiceItem("ARTICULO 2", "
1000", "20", "2100", "M", "0", "0", "", "", "", "1050", "0")
If respuesta Then respuesta = Me.IF1.SendInvoiceItem("ARTICULO 3", "
1000", "30", "2100", "M", "0", "0", "", "", "", "1050", "0")
If respuesta Then respuesta = Me.IF1.SendInvoiceItem("ARTICULO 4", "
1000", "40", "2100", "M", "0", "0", "", "", "", "1050", "0")
If respuesta Then respuesta = Me.IF1.SendInvoiceItem("ARTICULO 5", "
1000", "50", "2100", "M", "0", "0", "", "", "", "1050", "0")
If respuesta Then respuesta = Me.IF1.GetInvoiceSubtotal("P")
If respuesta Then respuesta = Me.IF1.SendInvoicePayment("PAGO1", "1"

, "T")
If respuesta Then respuesta = Me.IF1.CloseInvoice("T", "A", "")
Case 2
'dnf
respuesta = Me.IF1.OpenNoFiscal
If respuesta Then respuesta = Me.IF1.SendNoFiscalText("12345678")
If respuesta Then respuesta = Me.IF1.CloseNoFiscal
Case 3
'DNFH TC Y OS
respuesta = Me.IF1.DNFHCreditCard("VISA", "12", "PEPE", "991231", "2
3", "46", "57", "89", "CONTA", "100", "2", "PESOS", "2", "4", "5", "7", "8", "44
", "P", "P", "P")
If respuesta Then respuesta = Me.IF1.DNFHDrugstore("MEDICUS", "CO 1"
, "CO 2", "CO 3", "123", "PEP", "991030", "ADRESS", "ADDRESS 2", "NADA", "12", "
EXTRA 1", "EXTRA 2", "P", "P", "P", "P", "P")
Case 4
'Hora y Fecha
respuesta = Me.IF1.SetGetDateTime("S", Format(Date, "YYMMDD"), Forma
t(Time, "HHMMSS"))
If respuesta Then respuesta = Me.IF1.SetGetDateTime("G")
If respuesta Then MsgBox "La fecha y la hora actuales de la impresor
a son: " & Me.IF1.AnswerField_3
Case 5
'cajon
respuesta = Me.IF1.OpenCashDrawer("1")
If respuesta Then respuesta = Me.IF1.OpenCashDrawer("2")
Case 6
'header /trailer
respuesta = Me.IF1.SetGetHeaderTrailer("S", "1", "PRUEBA HEADER")
If respuesta Then respuesta = Me.IF1.SetGetHeaderTrailer("G", "1")
If respuesta Then MsgBox "El header obtenido es : " & Me.IF1.AnswerF
ield_4
Case 7
respuesta = Me.IF1.Status
Case 8
'dnf por Slip
respuesta = Me.IF1.SelectSlip
If respuesta Then respuesta = Me.IF1.SetPaperSize(50, 88)
If respuesta Then MsgBox "Inserte una hoja en la entrada de Slip", v
bInformation, "ATENCION"
If respuesta Then respuesta = Me.IF1.PrepareSlip
If respuesta Then MsgBox "Se imprimir un documento no fiscal por slip
", vbInformation, "ATENCION"
If respuesta Then respuesta = Me.IF1.OpenSlipNoFiscal
If respuesta Then respuesta = Me.IF1.SendNoFiscalText("
E J E
M P L O")
If respuesta Then respuesta = Me.IF1.SendNoFiscalText("S L I P N O
F I S C A L")
If respuesta Then respuesta = Me.IF1.SendNoFiscalText(" P O R O C
X F I S C A L")
If respuesta Then respuesta = Me.IF1.CloseNoFiscal
Case 9

'Factura
respuesta = Me.IF1.OpenInvoice("F", "C", "A", "1", "P", "12", "I", "
I", "PEPE", "LE BOU", "CUIT", "30614104712", "N", "LA", "PAMPA", "98", "REM 1",
"REM 2", "C")
If respuesta Then respuesta = Me.IF1.SendInvoiceItem("ARTICULO 1", "
1000", "100", "2100", "M", "0", "0", "EXTRA", "EXTRA", "EXTRA", "1050", "0")
'If respuesta Then respuesta = Me.if1.GetInvoiceSubtotal("P", "LINDO
SUB")
If respuesta Then respuesta = Me.IF1.SendInvoicePayment("PAGO1", "20
0", "T")
If respuesta Then respuesta = Me.IF1.CloseInvoice("F", "A", "HOLA")
Case 10
'
respuesta = Me.IF1.OpenInvoice("F", "C", "A", "1", "P", "12", "I",
"I", "PEPE", "LE BOU", "CUIT", "30614104712", "N", "LA", "PAMPA", "98", "REM 1",
"REM 2", "C")
'
If respuesta Then respuesta = Me.IF1.SendInvoiceItem("ARTICULO 1",
"1000", "100", "2100", "M", "0", "0", "EXTRA", "EXTRA", "EXTRA", "1050", "0")
'
'If respuesta Then respuesta = Me.if1.GetInvoiceSubtotal("P", "LIND
O SUB")
'
If respuesta Then respuesta = Me.IF1.SendInvoicePayment("PAGO1", "2
00", "T")
'
If respuesta Then respuesta = Me.IF1.CloseInvoice("F", "A", "HOLA")
Case 11 'setea diseo de factura
respuesta = SeteoFactura(Me.IF1)
Case 12 'Factura con transporte
respuesta = Me.IF1.OpenInvoice("F", "C", "A", "1", "P", "12", "I", "
I", "PEPE", "LE BOU", "CUIT", "30614104712", "N", "LA", "PAMPA", "98", "REM 1",
"REM 2", "C")
If respuesta Then respuesta = Me.IF1.SendInvoiceItem("ARTICULO 1", "
1000", "100", "2100", "M", "0", "0", "EXTRA", "EXTRA", "EXTRA", "1050", "0")
If respuesta Then respuesta = Me.IF1.SendInvoiceItem("ARTICULO 2", "
1000", "1200", "2100", "M", "0", "0", "", "", "", "1050", "0")
If respuesta Then respuesta = Me.IF1.TransportClose
If respuesta Then MsgBox "Coloque la siguiente hoja"
If respuesta Then respuesta = Me.IF1.TransportOpen
If respuesta Then respuesta = Me.IF1.SendInvoiceItem("ARTICULO 3", "
1000", "1000", "2100", "M", "0", "0", "", "", "", "1050", "0")
'If respuesta Then respuesta = Me.if1.GetInvoiceSubtotal("P", "LINDO
SUB")
If respuesta Then respuesta = Me.IF1.SendInvoicePayment("PAGO1", "30
00", "T")
If respuesta Then respuesta = Me.IF1.CloseInvoice("F", "A", "HOLA")
End Select
Screen.MousePointer = 1
'Las dos lneas que siguen creo que las agregu yo.
MsgBox "respuesta = " & respuesta & Chr$(13) & "FiscalStatus = " & Me.IF1.Fi
scalStatus & Chr$(13) & "PrinterStatus = " & Me.IF1.PrinterStatus
MsgBox "AnswerField_3: " & Me.IF1.AnswerField_3 & vbCrLf & "AnswerField_4: "
& Me.IF1.AnswerField_4 & vbCrLf & "AnswerField_5: " & Me.IF1.AnswerField_5 & vb
CrLf & "AnswerField_6: " & Me.IF1.AnswerField_6 & vbCrLf & "AnswerField_7: " & M
e.IF1.AnswerField_7 & vbCrLf & "AnswerField_8: " & Me.IF1.AnswerField_8 & vbCrLf
& "AnswerField_9: " & Me.IF1.AnswerField_9 & vbCrLf & "AnswerField_10: " & Me.I
F1.AnswerField_10 & vbCrLf & "AnswerField_11: " & Me.IF1.AnswerField_11 & vbCrLf
& "AnswerField_12: " & Me.IF1.AnswerField_12 & vbCrLf & "AnswerField_13: " & Me
.IF1.AnswerField_13 & vbCrLf & "AnswerField_14: " & Me.IF1.AnswerField_14 & vbCr
Lf & "AnswerField_15: " & Me.IF1.AnswerField_15 & vbCrLf & "AnswerField_16: " &

Me.IF1.AnswerField_16 & vbCrLf & "AnswerField_17: " & Me.IF1.AnswerField_17 & vb


CrLf & "AnswerField_18: " & Me.IF1.AnswerField_18
End Sub
Private Sub Command2_Click(Index As Integer)
' **************************************************************************
' Propiedad intelectual EPSON ARGENTINA S.A.
' Programador: Gomez Guillermo
' Este software se entrega con fines didcticos y sin garantia alguna.
' EPSON NO ASUME responsabilidad legal alguna. El programador usa esta informacin
' bajo su propio riesgo y responsabilidad.
' **************************************************************************
Select Case Index
Case 0
respuesta = Me.IF1.CloseJournal("X", "P")
Case 1
respuesta = Me.IF1.CloseJournal("Z")
End Select
MsgBox respuesta & Chr$(13) & Me.IF1.FiscalStatus & Chr$(13) & Me.IF1.Printe
rStatus
End Sub
Private Sub Command3_Click()
If Combo1.ListIndex > 0 Then
IF1.PortNumber = Combo1.ListIndex
End If
If Combo2.ListIndex > 0 Then
IF1.BaudRate = Combo2.Text
End If
End Sub
Private Sub Form_Load()
' **************************************************************************
' Propiedad intelectual EPSON ARGENTINA S.A.
' Programador: Gomez Guillermo
' Este software se entrega con fines didcticos y sin garantia alguna.
' EPSON NO ASUME responsabilidad legal alguna. El programador usa esta informacin
' bajo su propio riesgo y responsabilidad.
' **************************************************************************
Dim i As Integer
Dim Nombre As String
Dim Ayuda As String
ReDim Funciones(1)
ReDim AyudaFunciones(1)
Combo1.Clear
Combo1.AddItem
Combo1.AddItem
Combo1.AddItem
Combo1.AddItem

"Puerto"
"COM 1"
"COM 2"
"COM 3"

Combo1.AddItem "COM 4"


Combo1.AddItem "COM 5"
Combo1.ListIndex = 0
Combo2.Clear
Combo2.AddItem "Velocidad"
Combo2.AddItem "9600"
Combo2.AddItem "19200"
Combo2.AddItem "38400"
Combo2.ListIndex = 0
End Sub
Function AddParam(NewParam As String, Optional Reset = False) As Integer
' **************************************************************************
' Propiedad intelectual EPSON ARGENTINA S.A.
' Programador: Gomez Guillermo
' Este software se entrega con fines didcticos y sin garantia alguna.
' EPSON NO ASUME responsabilidad legal alguna. El programador usa esta informacin
' bajo su propio riesgo y responsabilidad.
' **************************************************************************
'Agrega un parametro a la lista
Dim i As Integer
If Reset Then
i = 0
ReDim Parametros(i)
Parametros(i) = NewParam
Else
i = UBound(Parametros) + 1
ReDim Preserve Parametros(i)
Parametros(i) = NewParam
End If

End Function
Option Explicit
Function SeteoFactura(PrinterOCX As PrinterFiscal) As Boolean
' **************************************************************************
' Propiedad intelectual EPSON ARGENTINA S.A.
' Programador: Gomez Guillermo
' Este software se entrega con fines didcticos y sin garantia alguna.
' EPSON NO ASUME responsabilidad legal alguna. El programador usa esta informacin
' bajo su propio riesgo y responsabilidad.
' **************************************************************************
'Ejemplo de seteo de Zona, Headers y Trailers para una factura
'TAMAO : Form.continuo 12'' x 10''
'IMPRESOR: LX-300 Fiscal, FX-880 Fiscal
'PrinterOCX : es el objeto PrinterFiscal (OCX) a travez del cual
'
se accede a la impresora fiscal
Dim Continuar As Boolean

'** DEFINICION GENERAL DEL FORMULARIO


'** Configura el tamao de la hoja, calculando las lneas para 1/6 de pulgada y
'** las columnas en 12 caracteres por pulgada
Continuar = PrinterOCX.SetPaperSize(90, 72)
'** Esta instruccion configura la estacion para la emision Facturas A por Ma
in Sheet
'** no se debe eliminar
If Continuar Then
Continuar = PrinterOCX.SetPreference("P", "D", "M", "F", "A", "N")
End If
'** Esta instruccion configura la estacion para la emision de documento no f
iscal
'** no debe eliminarse, si es necesario se puede modificar
If Continuar Then
Continuar = PrinterOCX.SetPreference("P", "P", "R", "S", "U", "90", "72"
)
End If
'** DEFINICION DE ZONAS
'
'** ZONA(010) Letra Comprobante
If Continuar Then
Continuar = PrinterOCX.SetZone(10, 43, 4, 44, 4)
End If
'** ZONA(022) Logo
If Continuar Then
Continuar = PrinterOCX.SetZone(22, 1, 4, 40, 4)
End If
'** ZONA(024) Fantasa y Razon social
If Continuar Then
Continuar = PrinterOCX.SetZone(24, 1, 5, 40, 7)
End If
'** ZONA(026) Datos Vendedor
If Continuar Then
Continuar = PrinterOCX.SetZone(26, 1, 9, 40, 14)
End If
'** ZONA(034) Nro Factura y fecha
If Continuar Then
Continuar = PrinterOCX.SetZone(34, 49, 5, 87, 7)
End If
'** ZONA(036) Cuit e impuestos
If Continuar Then
Continuar = PrinterOCX.SetZone(36, 45, 9, 87, 14)
End If
'** ZONA(042) Datos del comprador
If Continuar Then
Continuar = PrinterOCX.SetZone(42, 1, 16, 40, 20)
End If
'** ZONA(044) IVA Comprador
If Continuar Then
Continuar = PrinterOCX.SetZone(44, 1, 21, 40, 22)
End If
'** ZONA(052) CUIT Comprador
If Continuar Then
Continuar = PrinterOCX.SetZone(52, 45, 16, 87, 20)
End If
'** ZONA(054) Nro remitos
If Continuar Then
Continuar = PrinterOCX.SetZone(54, 45, 21, 87, 22)

End If
'** ZONA(060) Zona de detalle de venta
If Continuar Then
Continuar = PrinterOCX.SetZone(60, 1, 23, 87, 42)
End If
'** ZONA(061) Cantidad Item
If Continuar Then
Continuar = PrinterOCX.SetZone(61, 1, 23, 12, 42)
End If
'** ZONA(062) Descripcin Item
If Continuar Then
Continuar = PrinterOCX.SetZone(62, 14, 23, 34, 42)
End If
'** ZONA(063) Precio Unitario Item
If Continuar Then
Continuar = PrinterOCX.SetZone(63, 36, 23, 48, 42)
End If
'** ZONA(064) Tasa de IVA Item
If Continuar Then
Continuar = PrinterOCX.SetZone(64, 50, 23, 59, 42)
End If
'** ZONA(065) Tasa Ajuste Variable Item
If Continuar Then
Continuar = PrinterOCX.SetZone(65, 61, 23, 70, 42)
End If
'** ZONA(066) Precio total Item
If Continuar Then
Continuar = PrinterOCX.SetZone(66, 72, 23, 87, 42)
End If
'** Esta instruccion configura el offset que se usar para imprimir los subtot
ales
'** debe ser menor o igual a las filas de la zona 60, por omisin se toma
'** las filas de la zona 60
If Continuar Then
Continuar = PrinterOCX.SetPreference("P", "C", "O", "901", "0", "20")
End If
'** ZONA(070) Mensajes de advertencia fiscal
If Continuar Then
Continuar = PrinterOCX.SetZone(70, 1, 23, 87, 42)
End If
'** ZONA(081) Descripcin Percepcion de IVA RI
If Continuar Then
Continuar = PrinterOCX.SetZone(81, 33, 23, 41, 49)
End If
'** ZONA(082) Monto Percepcion de IVA RI
If Continuar Then
Continuar = PrinterOCX.SetZone(82, 43, 23, 54, 49)
End If
'** ZONA(083) Tasa de acrecentamiento RNI
If Continuar Then
Continuar = PrinterOCX.SetZone(83, 33, 23, 41, 49)
End If
'** ZONA(084) Monto de acrecentamiento RNI
If Continuar Then
Continuar = PrinterOCX.SetZone(84, 43, 23, 54, 49)
End If
'** ZONA(085) Descr.otras percep.
If Continuar Then
Continuar = PrinterOCX.SetZone(85, 56, 23, 62, 49)
End If

'** ZONA(086) Monto otras percep.


If Continuar Then
Continuar = PrinterOCX.SetZone(86, 64, 23, 75, 49)
End If
'** ZONA(090) Zona de subtotal y cierre
If Continuar Then
Continuar = PrinterOCX.SetZone(90, 1, 23, 87, 49)
End If
'** ZONA(091) Conceptos no gravados
If Continuar Then
Continuar = PrinterOCX.SetZone(91, 1, 23, 10, 49)
End If
'** ZONA(092) Tasa de IVA
If Continuar Then
Continuar = PrinterOCX.SetZone(92, 12, 23, 17, 49)
End If
'** ZONA(093) Monto de IVA
If Continuar Then
Continuar = PrinterOCX.SetZone(93, 19, 23, 31, 49)
End If
'** ZONA(094) Percepciones de IVA
If Continuar Then
Continuar = PrinterOCX.SetZone(94, 33, 23, 54, 49)
End If
'** ZONA(095) Otras percepciones
If Continuar Then
Continuar = PrinterOCX.SetZone(95, 56, 23, 75, 49)
End If
'** ZONA(097) Subtotal
If Continuar Then
Continuar = PrinterOCX.SetZone(97, 77, 23, 87, 49)
End If
'** ZONA(100) Zona de total documento
If Continuar Then
Continuar = PrinterOCX.SetZone(100, 1, 50, 87, 50)
End If
'** ZONA(101) Ttulo de Total documento
If Continuar Then
Continuar = PrinterOCX.SetZone(101, 1, 50, 55, 50)
End If
'** ZONA(102) Monto de Total documento
If Continuar Then
Continuar = PrinterOCX.SetZone(102, 56, 50, 87, 50)
End If
'** ZONA(110) Zona de detalle de pagos
If Continuar Then
Continuar = PrinterOCX.SetZone(110, 1, 51, 87, 55)
End If
'** ZONA(111) Descripcin de Pagos
If Continuar Then
Continuar = PrinterOCX.SetZone(111, 1, 51, 39, 55)
End If
'** ZONA(112) Monto de Pagos
If Continuar Then
Continuar = PrinterOCX.SetZone(112, 41, 51, 87, 55)
End If
'** ZONA(120) Leyendas de Pie de Factura
If Continuar Then
Continuar = PrinterOCX.SetZone(120, 1, 56, 87, 58)
End If

'** ZONA(142) Logo Fiscal


If Continuar Then
Continuar = PrinterOCX.SetZone(142, 1, 59, 40, 63)
End If
'** ZONA(144) Original / Copia
If Continuar Then
Continuar = PrinterOCX.SetZone(144, 45, 59, 87, 63)
End If
'** DEFINICION DE HEADERS y TRAILERS
'
'** HEADER/TRAILER (01) Nombre de Fantasa - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 1, Chr(127))
End If
'** HEADER/TRAILER (02) Nombre de Fantasa - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 2, Chr(127))
End If
'** HEADER/TRAILER (03) Nombre de Fantasa - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 3, Chr(127))
End If
'** HEADER/TRAILER (04) Nombre de Fantasa - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 4, Chr(127))
End If
'** HEADER/TRAILER (05) Nombre de Fantasa - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 5, Chr(127))
End If
'** HEADER/TRAILER (11) Leyenda de pie 11
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 11, "Gracias por su comp
ra")
End If
'** HEADER/TRAILER (12) Leyenda de pie 12 - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 12, Chr(127))
End If
'** HEADER/TRAILER (13) Leyenda de pie 13 - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 13, Chr(127))
End If
'** HEADER/TRAILER (14) Leyenda de pie 14 - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 14, Chr(127))
End If
'** HEADER/TRAILER (50) Domicilio Comercial
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 50, "Dato fijo")
End If
'** HEADER/TRAILER (51) Domicilio Comercial
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 51, "Capital Federal")
End If
'** HEADER/TRAILER (52) Domicilio Comercial - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 52, Chr(127))
End If
'** HEADER/TRAILER (53) Domicilio Fiscal

If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 53,
End If
'** HEADER/TRAILER (54) Domicilio Fiscal
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 54,
End If
'** HEADER/TRAILER (55) Domicilio Fiscal - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 55,
End If
'** HEADER/TRAILER (57) Impuestos Vendedor
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 57,
End If
'** HEADER/TRAILER (58) Impuestos Vendedor - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 58,
End If
'** HEADER/TRAILER (59) Impuestos Vendedor - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 59,
End If
'** HEADER/TRAILER (60) Impuestos Vendedor - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 60,
End If
'** HEADER/TRAILER (61) Impuestos Vendedor - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 61,
End If
'** HEADER/TRAILER (62) Fecha de inicio de actividades
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 62,
es 01/01/2000")
End If
'** HEADER/TRAILER (63) Leyendas Comerciales - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 63,
End If
'** HEADER/TRAILER (64) Leyendas Comerciales - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 64,
End If
'** HEADER/TRAILER (65) Leyendas Comerciales - Vacio
If Continuar Then
Continuar = PrinterOCX.SetGetHeaderTrailer("S", 65,
End If

"Belgrano 951")

"Capital Federal")

Chr(127))

"Ingresos Brutos")

Chr(127))

Chr(127))

Chr(127))

Chr(127))

"Inicio de actividad

Chr(127))

Chr(127))

Chr(127))

SeteoFactura = Continuar
'
'
'
'
'

**************************************************************************
Este software se entrega con fines didcticos y sin garantia alguna.
EPSON NO ASUME responsabilidad legal alguna. El programador usa esta informacin
bajo su propio riesgo y responsabilidad.
**************************************************************************

End Function

Anda mungkin juga menyukai