Announcement

Collapse
No announcement yet.

Dosprint and Barcodes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dosprint and Barcodes


    Has anyone out in the PB WORLD come up with a barcode suite
    that will work within the GREAT vsn 2.0 DOSPRINT from Lance?
    (I am still using pb 3.0C) waiting for 4.x)

    JG


    ------------------

  • #2
    Hi Jim,

    I answered your email directly, but to recap for the lurkers:
    Code 3 of 9 is dead easy with DOSPRINT... first locate the "BARCODE3OF9" font available all over the 'net, and install it on the PC.

    Next, add an entry in the DOSPRINT.INI file, using the following format:
    Code:
    255=3 Of 9 Barcode
    Note: the name of the font must match the name shown in the \Windows\Fonts folder when examined with Explorer.

    Finally, to use the font, all you need to do is select that font (for best results set it at 22pt or 24pt) and send the font in the format "*123456789*" -- the leading and trailing asterisks are the start and stop markers for the Barcode 39 font format. That should be readable by any barcode scanner.

    Here is the code I use in one of my DOS apps:
    Code:
    print #1, chr$(27,64) chr$(27,107,255) chr$(27,88,66,48,0);
    print #1, "*" Text$ "*"
    I hope that helps!

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      Hi Jim,

      I´ve an old code, it´s EPSON compatible for labels and 24!
      Dot-Printers like LQ 300 etc. It makes EAN13 Barcode( Normaly
      used in shops ).

      I´ve another for HP-Printers but You have to test it for Your
      printer(HP Deskjet 895 cxi and HP Laserjet 4L, 5 works).

      I don´t know what Dos-Print makes with the ESC-and other
      Printer-Codes ?

      What kind of printer do You have ?

      Regards


      Matthias Kuhn



      ------------------

      Comment


      • #4
        With DOSPRINT, the type of printer is basically irrelevent... even non-DOS-compatible printers can be used to print barcodes - in most cases, all you need is a TrueType font for the target barcode. As I noted, code-39 types are often available free and/or freely.

        Regards,
        Lance Edmonds
        www.dosprint.com

        Lance
        mailto:[email protected]

        Comment

        Working...
        X