Gracias bellas almas de Acuellar y Karina, muy agradecido probé los ejemplos, voy a implementar en mi sistema.
Namaste
Gracias bellas almas de Acuellar y Karina, muy agradecido probé los ejemplos, voy a implementar en mi sistema.
Namaste
CUANDO COLOCO ESTA SENTENCIA AL INICIO DE PROGRAMA
REQUEST FWZEBRA
ME DAN ESTOS ERRORES
USO FIVEWIN HARBOUR 25.6
n.hbc hbmzip.hbc hbziparc.hbc
hbmk2: Linking... Fac.exe
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Error: Unresolved external 'HB_FUN_HB_ZEBRA_CREATE_EAN13' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_CREATE_EAN8' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_CREATE_UPCA' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_CREATE_UPCE' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_CREATE_ITF' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_CREATE_MSI' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_CREATE_CODABAR' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_CREATE_CODE11' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_CREATE_CODE39' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_CREATE_CODE93' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_CREATE_CODE128' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_CREATE_PDF417' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_CREATE_DATAMATRIX' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_CREATE_QRCODE' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_GETERROR' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external 'HB_FUN_HB_ZEBRA_DESTROY' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unresolved external '_HB_FUN_HB_ZEBRA_DRAW' referenced from C:\FWH256\LIB\FIVEH.LIB|fwzebra
Error: Unable to perform link
hbmk2[Fac]: Error: Running linker. 2
ilink32.exe @C:\Users\LAB\AppData\Local\Temp\se88wb.lnk
hbmk2: Hint: Add option 'hbzebra.hbc' for missing function(s): hb_zebra_draw(),
hb_zebra_destroy(), hb_zebra_geterror(), hb_zebra_create_qrcode(),
hb_zebra_create_datamatrix(), hb_zebra_create_pdf417(),
hb_zebra_create_code128(), hb_zebra_create_code93(),
hb_zebra_create_code39(), hb_zebra_create_code11(),
hb_zebra_create_codabar(), hb_zebra_create_msi(), hb_zebra_create_itf(),
hb_zebra_create_upce(), hb_zebra_create_upca(), hb_zebra_create_ean8(),
hb_zebra_create_ean13()
You have to add hbzebra.lib to your link script.
Muchas gracias Giordano
My name is Enrico. :)
Para la version FWH 25.6 no requiere que se declare la linea REQUEST FWZEBRA solo requieres que este definido hbzebra.dll en el lnk
hbzebra.lib not .dll.
Gracias Enrico
Pude resolver lo de la impresoras de rollo el codigo QR con
@ 15,0.8 PRINT TO oPrn TEXT oCode AS BARCODE TYPE "QR" SIZE 1.3,1.3 INCHES
Pero necesito en el creador de reportes de FIVEWIN imprimir el CODIGO QR, ACTIVATE REPORT oReport oReport:....
Como podria imprimrlo aqui,
Gracias.....
juan fco. vasquez Mendoza wrote:Pude resolver lo de la impresoras de rollo el codigo QR con
@ 15,0.8 PRINT TO oPrn TEXT oCode AS BARCODE TYPE "QR" SIZE 1.3,1.3 INCHES
Pero necesito en el creador de reportes de FIVEWIN imprimir el CODIGO QR,
ACTIVATE REPORT oReport
oReport:....Como podria imprimrlo aqui,
Gracias.....
Si entiendo bien tu pregunta, creo que es asÃ: En el evento ON INIT del informe, llama a:
STATIC FUNCTION BitMaps( oReport )
// tu gusto personal.
oReport:SayBitmap( 7, 8, "QRCODE.Bmp", 8, 4, 2 )
oReport:SayBitmap( 10, 18, "LOGO.Bmp", 18, 14, 2 )
RETURN NILRegards, saludos.
Muchas gracias Joao Santos, voy a probar
Static Function CREARQRCODE()
Local oCode
oCode:= "https://fc.dgii.gov.do/ecf/ConsultaTimbreFC?,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
QRCode(oCode,"QRFACT.BMP")
DLL32 STATIC FUNCTION QRCode(cStr As STRING, cFile As STRING) AS LONG PASCAL ;
FROM "FastQRCode" LIB "QRCodelib.Dll"
Return .t.
LA FUNCION QRCODE() QUE CREA EL BMP NO SOPORTA MUCHOS CARACTERES, POR LO TANTO NO ME GENERA EL ARCHIVO BMP DEL CODIGO QR, ENTONCES NO ME IMPRIME LA IMAGEN EN EL CREADOR DE REPORTE CON ESTA SENTENCIA.
oReport:Saybitmap(6,0.7,"\FWH256\Fac\QRFACT.BMP",1.0,20)
QUE PUEDO HACER PARA ESTE CASO.
GRACIIIAAAAS
juan fco. vasquez Mendoza wrote:
****************************************Static Function CREARQRCODE()
****************************************Local oCode
oCode:= "https://fc.dgii.gov.do/ecf/ConsultaTimbreFC?,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
QRCode(oCode,"QRFACT.BMP")DLL32 STATIC FUNCTION QRCode(cStr As STRING, cFile As STRING) AS LONG PASCAL ;
FROM "FastQRCode" LIB "QRCodelib.Dll"
Return .t.LA FUNCION QRCODE() QUE CREA EL BMP NO SOPORTA MUCHOS CARACTERES, POR LO TANTO NO ME GENERA EL ARCHIVO BMP DEL CODIGO QR, ENTONCES NO ME IMPRIME LA IMAGEN EN EL CREADOR DE REPORTE CON ESTA SENTENCIA.
oReport:Saybitmap(6,0.7,"\FWH256\Fac\QRFACT.BMP",1.0,20)
QUE PUEDO HACER PARA ESTE CASO.
GRACIIIAAAAS
Publica un ejemplo completo para que pueda probarlo y entender qué quieres hacer. ¿Y por qué usas TREPORT.prg, cuando PRINTER.PRG es más fácil de controlar? Y si no me equivoco, tu versión ya tenÃa FWHARU. Creo.
Gracias, tks.
Regards, saludos.
Juan fco.
Como dice Joao mejor es que utilices PRINT Tendrás mejor control.