NAME
Device::ParallelPort::Printer - Emulate a normal old style printer using Device::ParallelPort
SYNOPSIS
my
$printer
= Device::ParallelPort::Printer->new(
'parport:0'
);
$printer
->sendfile(
'demo.ps'
);
DESCRIPTION
This is a demonstration only and does not have any real practical application. It has been written as a demonstration on how to write drivers for Device::ParallelPort.
Device::ParallelPort provides a raw interface to the parallel port. Printers actually expect a certain way of getting data. That is the Centronix Parallel Port Protocol.
Basically you set a byte you want to send to the printer on the first byte of the parallel device. You then raise and lower a pin on the control byte (3rd I think ???) which tells the printer to retrieve the data you put on the first byte.
COPYRIGHT
Copyright (c) 2002,2004 Scott Penrose. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Scott Penrose scottp@dd.com.au, http://linux.dd.com.au/