Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1 Setup this system without Code 128 fonts

closed
Adam Ellis
5
2004-04-14
2004-03-12
klsh
No

I don't have the code 128 font you used in the PDF file.
Can I use code 39, and if so what are the values?

It looks like it starts with a $ for employee numbers,
but I'm not sure about that. If I had the values I
could test this with it would help a lot.

If I knew what the format was exactly I would be able
to test this functionality.

Copying the text out of the PDF I get :
Ě2|s$,Î Clock In / Select Yourself
Which doesn't seem to work.

Discussion

  • Adam Ellis
    Adam Ellis
    2004-03-12

    • assigned_to: nobody --> saberlogic_ae
    • status: open --> pending
     
  • Adam Ellis
    Adam Ellis
    2004-03-12

    Logged In: YES
    user_id=643906

    The output you are seeing for the "Clock In / Select
    Yourself" barcode is actually generated from a Crystal UFL /
    font distributed by ID Automation (www.bizfonts.com). To
    elaborate on Brian's explanation...

    $ 2 | s $ ,

    The first and last characters of this statement are stop and
    start characters as defined in the Code 128 specification
    (http://www.adams1.com/pub/russadam/128code.html). The comma
    is a checksum also derived from this specification. The rest
    of the text is just regular text.

    To use Code 39, all you need is the font (you can get a
    GPL'ed one from here: http://user.it.uu.se/~jan/barfonts/\)
    and redo the formula in Crystal to have an * for the start /
    stop characters. You do not need any checksum. i.e. (added
    additional spaces so the SourceForge would not mangle the
    message up)

    " * $ " + {employees.emp_id} + " | s $ * "

     
  • klsh
    klsh
    2004-03-12

    Logged In: YES
    user_id=995737

    Thanks for the info on Crystal, I'll take a look at it.
    Yeah I found free 39 fonts too.
    See:
    Bar code TrueType font files
    <a
    href="http://www.adams1.com/pub/russadam/fonts.html">http
    ://www.adams1.com/pub/russadam/fonts.html</a>
    free 3of9 font
    <a
    href="http://www.squaregear.net/fonts/free3of9.shtml">http:/
    /www.squaregear.net/fonts/free3of9.shtml</a>
    Free 128 Fonts
    <a
    href="http://user.it.uu.se/~jan/barfonts/">http://user.it.uu.se
    /~jan/barfonts/</a>
    needs adobe type manager (free download)

     
  • klsh
    klsh
    2004-03-12

    • status: pending --> open
     
  • Adam Ellis
    Adam Ellis
    2004-04-14

    • status: open --> closed
     
  • Adam Ellis
    Adam Ellis
    2004-04-14

    Logged In: YES
    user_id=643906

    klsh,

    Finally got this hammered out in R1.1. It now uses the OSS
    Code 128 font. You will need to install the UFL we created
    (BarFontsUFL.zip) in order to use the fonts in Crystal.
    Just copy the DLL from this zip file into your System32
    directory and register it:

    regsvr32 PATH_TO\CRUFLBarFonts.dll

    Let me know how these work out for you. You're probably our
    first tester of the UFL.

    AE