Protocol::Star::Linemode - Generates a formatted byte string for Star POS printers
use Protocol::Star::Linemode; my $p = Protocol::Star::Linemode->new; $p->set_emphasized_printing; $p->text("Hello world"); $p->cancel_emphasized_printing; my $formatted_output = $p->result; # Send $formatted_output to printer
Create a Protocol::Star::Linemode object instead of the Protocol::Star::Linemode::Generated object
Peter Stuifzand <peter@stuifzand.eu>
Copyright 2013 - Peter Stuifzand
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Protocol::Star::Linemode, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Protocol::Star::Linemode
CPAN shell
perl -MCPAN -e shell install Protocol::Star::Linemode
For more information on module installation, please visit the detailed CPAN module installation guide.