BARCODING, READING AND PRINTING USING FWH
- Slowfinger
- Posts: 10
- Joined: Fri Oct 07, 2005 5:57 pm
- Location: Madrid
- Contact:
I recently incorporate barcode printing and reading using de Cayetano's code. It was quite simple to do and althought not all the codes support by the library was correctly recognise, it was enought for me with the Ean13.
In a few day i'd like to test a OCX control captable to print PDF417 codes (but I don't have a reader for that 2D codes).
In a few day i'd like to test a OCX control captable to print PDF417 codes (but I don't have a reader for that 2D codes).
- jose_murugosa
- Posts: 943
- Joined: Mon Feb 06, 2006 4:28 pm
- Location: Uruguay
- Contact:
Clase BarLib
http://hyperupload.com/download/021bdf8 ... b.rar.html
Aqui encontrarán la clase barlib con ejemplos y la poca documentación existente (pero suficiente) probada con xHarbour 0.99.60 , funcionando muy bien.
Espero esto ayude.
Aqui encontrarán la clase barlib con ejemplos y la poca documentación existente (pero suficiente) probada con xHarbour 0.99.60 , funcionando muy bien.
Espero esto ayude.
Saludos/Regards,
José Murugosa
FWH + Harbour + Bcc7. Una seda!
José Murugosa
FWH + Harbour + Bcc7. Una seda!
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Clase BarLib
I agree that Barlib is a wonderful barcode library and I use it since years. But please notice that it has some resource leakages. As an example, in banner.prg che command RELEASE is incorrectly used:
release ofont
release open
instead of
release font ofont
release pen open
EMG
release ofont
release open
instead of
release font ofont
release pen open
EMG
- reinaldocrespo
- Posts: 918
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- reinaldocrespo
- Posts: 918
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
- Slowfinger
- Posts: 10
- Joined: Fri Oct 07, 2005 5:57 pm
- Location: Madrid
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Slowfinger
- Posts: 10
- Joined: Fri Oct 07, 2005 5:57 pm
- Location: Madrid
- Contact:
thanks santiago, i try this :
run ok but I want write the cCode on the center of the barcode ( HRC center ) or on the left / right (HRC radial) ?
How I can make it ?
And if I want print only 180° of the barcode ?
Regards,
Code: Select all
Function PrintBarCode()
Local oPrn
Local oBc6
printer oPrn preview
page
oBC6 := VRDBarcode():New( oPrn:hDcOut , "12345678", 80, 80, 10, 10,2 )
oBC6:lCircular:=.t.
oBC6:ShowBarcode()
endpage
endprint
return nil
run ok but I want write the cCode on the center of the barcode ( HRC center ) or on the left / right (HRC radial) ?
How I can make it ?
And if I want print only 180° of the barcode ?
Regards,
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
- Slowfinger
- Posts: 10
- Joined: Fri Oct 07, 2005 5:57 pm
- Location: Madrid
- Contact:
Ok, I will implement the banner option also.
Create a 180º barcode could be a problem because I use solid circles to get a good barcode image. The arcs can't be easily fill with a color.
Perhaps a good solution it's to overwrite with a white rectangle the half of the circle to want to hide (top, bottom, left or right). I will do a test.
Create a 180º barcode could be a problem because I use solid circles to get a good barcode image. The arcs can't be easily fill with a color.
Perhaps a good solution it's to overwrite with a white rectangle the half of the circle to want to hide (top, bottom, left or right). I will do a test.
I sent you My test program .
Creating a 180° barcode you can use only black COLOR
YOu must give th epossibility to create option 90°, 180°, 270°, 360°
Yes the solution is good but you must write the code also on the center of barcode
there are many option you can make :
see this picture:
Creating a 180° barcode you can use only black COLOR
YOu must give th epossibility to create option 90°, 180°, 270°, 360°
Yes the solution is good but you must write the code also on the center of barcode
there are many option you can make :
see this picture:
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
- RAMESHBABU
- Posts: 591
- Joined: Fri Oct 21, 2005 5:54 am
- Location: Secunderabad (T.S), India
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: