As for generating bar codes in Perl, I've had good success using GD::Barcode to create bar code images. It's very simple and straight forward in my opinion.

As for having Perl print directly to the printer, in less than 5 minutes I found the following link: http://www.brother.com/product/dev/label/bpac/index.htm

That link is for the SDK package from Brother for their devices. With the C++ portion of that package, I think you should be able to use something like one of the inline modules or use Win32::API if they provide a DLL.

Also, it sounds like that SDK package includes stuff to allow you to create a way to print directly from Excel or Access. That leads me to believe that you can set that up and potentially use Win32::OLE to enter data (including bar codes) into Excel or Access and print from there.

Hopefully this information gets you headed down the right path.


In reply to Re: using Brother QL-570 printer with Perl by dasgar
in thread using Brother QL-570 printer with Perl by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.