FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Barcode lib (Cayetano's BarLib)
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Barcode lib (Cayetano's BarLib)
Posted: Thu Aug 05, 2010 01:34 PM

Hello,

If FW 16bit I used a library 'barlib.lib' where I was able tu print barcodes with the command

@ 1,1 EAN13 artikel->barcode of oPrinter

Is there a simular library for FWH?

I saw there is a 'Cayetano's BarLib enhanced by Enrico', but I can't find the link to download
Thanks,

Marc

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 117
Joined: Tue Jan 03, 2006 06:18 PM
Re: Barcode lib (Cayetano's BarLib)
Posted: Fri Aug 06, 2010 09:22 AM

Dear Marc,

give me your email , I have barlib with 32 bit.

regard

kok joek hoa

Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Barcode lib (Cayetano's BarLib)
Posted: Fri Aug 06, 2010 08:00 PM

Dear kok joek hoa,

May I have too?

Thanks,

dutchez4@gmail.com

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 117
Joined: Tue Jan 03, 2006 06:18 PM
Re: Barcode lib (Cayetano's BarLib)
Posted: Sat Aug 07, 2010 12:07 PM

Dear Dutch,

please see your email.

thanks,

regards,

kok joek hoa

Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Barcode lib (Cayetano's BarLib)
Posted: Sat Aug 07, 2010 01:05 PM

Kok joek koa,

Can you sent it to my gmail-acount marc.vanzegbroeck@gmail.com

Thanks,
Marc

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 117
Joined: Tue Jan 03, 2006 06:18 PM
Re: Barcode lib (Cayetano's BarLib)
Posted: Sat Aug 07, 2010 02:03 PM

Dear Marc,

I already sent to your email.

regards,

kok joek hoa

Posts: 1074
Joined: Fri Oct 07, 2005 01:56 PM
Re: Barcode lib (Cayetano's BarLib)
Posted: Sat Aug 07, 2010 02:18 PM

kok joek hoa:

Can you sent it to my gmail-acount patricio.avalos.aguirre@gmail.com

Thanks

Saludos
Patricio

__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Barcode lib (Cayetano's BarLib)
Posted: Sun Aug 08, 2010 02:40 PM

Dear kok joek hoa,

Could you please post an example for Barlib32.lib.

Thanks,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 117
Joined: Tue Jan 03, 2006 06:18 PM
Re: Barcode lib (Cayetano's BarLib)
Posted: Sun Aug 08, 2010 05:53 PM

Dear Dutch,

Barlib32.lib asa same as barlib.lib, except barlib32.lib run on 32 bit.

you can download barlib that provide from Enrico.

regards,

kok joek hoa

Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Barcode lib (Cayetano's BarLib)
Posted: Mon Aug 09, 2010 03:46 AM
Thanks, It will find it.
kok joek hoa wrote:Dear Dutch,

Barlib32.lib asa same as barlib.lib, except barlib32.lib run on 32 bit.

you can download barlib that provide from Enrico.

regards,

kok joek hoa
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Barcode lib (Cayetano's BarLib)
Posted: Wed Aug 11, 2010 06:26 PM
Dutch

If you need the Barlib code .. send me a note .. I have the .prg's you can re-compile .. here is a sample snipit of code I use to print a 3 of 9 barcode :

Rick Lipkin
r1.1955@live.com
Code (fw): Select all Collapse
#INCLUDE "FIVEWIN.CH"
#INCLUDE "BARCODE.CH"

/*  other non related code

...


*/



IF mVIEW = "V"
   PRINTER oPRINT FROM USER                ;
   PREVIEW                                 ;
   NAME "PCAS Form Print"

ELSE

   PRINTER oPRINT from USER                ;
   NAME "PCAS Form Print"

   IF EMPTY( oPRINT:hDC )
      MsgStop ( "Printer not Ready !" )
      oDlg:END()
      RETURN(NIL)
   ENDIF

ENDIF

SysReFresh()



oPRINT:SetLandScape()
oFont1 := TFont():New( "ARIAL", 0, -32, .F.,.t.,90,-2,,,,,,,,,oPRINT )

xStep := oPrint:nVertRes()/100
yStep := oPrint:nHorzRes()/5



pLINE := '  '
   prntline( pLINE )


   oPRINT:SetFont( oFONT1 )
   cBARTEXT := SUBSTR(TRIM(oRs:Fields("lname"):Value)+' ';
              +TRIM(oRs:Fields("fname"):Value)+SPACE(30),1,30)

// uses barcode.lib 
// first line is ssn                 ||||||||    |||    ||||||||||   <- something like this but in 3 of 9 bar code
// second line is pay period
// third line is programid

   @ 100*xStep,yStep/8.0  code3_9 mSSN of oPrint SIZE -1
   @ 100*xStep,yStep*1.17 code3_9 mFYPP of oPrint SIZE -1
   @ 100*xStep,yStep*1.82 code3_9 oRs:Fields("progid"):Value of oPrint SIZE -1

   oPRINT:SetFont( oFONT )




//--------------------------
static FUNC PRNTLINE( pLINE )

LOCAL i,nCOL

nCOL := 0
FOR i = 1 to LEN(pLINE)
    oPRINT:SAY ( LINE, nCOL, SUBSTR(pLINE,i,1) , oFONT )
    nCOL += nColStep
NEXT

Line += nRowStep

RETURN(NIL)
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Barcode lib (Cayetano's BarLib)
Posted: Wed Aug 11, 2010 09:09 PM

Dear Rick,

Thank you so much, I've downloaded from the forum already.

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion