Printer::ESCPOS::Roles::Connection - Role for Connection Classes for Printer::ESCPOS
version 1.001
Writes prepared data to the module buffer. This data is dispatched to printer with print() method. The print method takes care of buffer control issues.
If a string is passed then it passes the string to the printer else passes the buffer data to the printer and clears the buffer.
$device->printer->print(); # Prints and clears the Buffer. $device->printer->print($raw); # Prints $raw
Shantanu Bhadoria <shantanu@cpan.org> https://www.shantanubhadoria.com
This software is copyright (c) 2016 by Shantanu Bhadoria.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Printer::ESCPOS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Printer::ESCPOS
CPAN shell
perl -MCPAN -e shell install Printer::ESCPOS
For more information on module installation, please visit the detailed CPAN module installation guide.