Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: using Brother QL-570 printer with Perl

by Bruce32903 (Scribe)
on Aug 03, 2011 at 15:37 UTC ( #918309=note: print w/replies, xml ) Need Help??

in reply to Re: using Brother QL-570 printer with Perl
in thread using Brother QL-570 printer with Perl

Thank you for the GD::Barcode suggestion. I'll look into it.

I'm sorry but I forgot to include in my initial posting that I am using Linux. I'm sure your other suggestions are very good but they seem to be Windows oriented.

Thank you,
  • Comment on Re^2: using Brother QL-570 printer with Perl

Replies are listed 'Best First'.
Re^3: using Brother QL-570 printer with Perl
by Corion (Pope) on Aug 03, 2011 at 15:43 UTC

    Is Linux a supported OS for this printer?

    Also note that this is Perlmonks, not Linuxmonks. If your printer has no driver already, it's highly unlikely that somebody will write a printer driver in Perl.

    My suggestion is to either first get the setup working on Windows and then worry about how to make the setup work under Linux (if ever), or to first buy hardware that has vendor support for Linux, and then work from there.

      The printer works very well when printing from Open Office in Linux.

Re^3: using Brother QL-570 printer with Perl
by dasgar (Curate) on Aug 03, 2011 at 16:03 UTC

    When asking for help with communicating with devices, it's usually a good idea to mention which OS you're working with. Since Brother's website was primarily listing Windows stuff for your device, I made the assumption that you were on Windows.

    Doing a quick Google search on "Brother QL-570 linux" yielded this link:

    I'm not very experienced with Linux, but I think that if you're able to manually print to the device from the terminal (lpr command?), it should be easy to issue a system call from Perl to do the same. Also, on that page, one of the links describes how to print from OpenOffice and Gimp. If you can find a way to control those programs from Perl, that should give you another route to go.

      It was a bad error on my part not to include in my initial posting that I am using Ubuntu 9.04 and that the printer has worked well for about a year when printing from Open Office.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://918309]
[Corion]: ambrus: Hurr - yes, that might happen, as Prima will queue lots of stuff (Well, Windows will)
[Corion]: But I'm really amazed that it just took this little code (plus the idle handler I have in mind and something else dk suggested)
[Corion]: ambrus: I wrote the handler so that it stops the timer if it's supposed to be a one-shot
[Discipulus]: are you using Prima Corion? good morning Corion and ambrus, btw

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2016-12-09 09:06 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (150 votes). Check out past polls.