Control Printers In Your Perl Programs

 
Pcap consists of 2 packages: prtctrl.pm and prtcodes.pm.

Together they that allow you to control printers from within reports written in Perl.

By using the NDBM_File package included with Perl 5, you can create a database of printer control codes that are easily called from within Perl.

The database is first created as a text file, then a utility is run to create the NDBM database.

Output type may be of any type of printer in the database. The output may be sent to a printer, file or command line pipe.

prtctrl.pm redirects STDOUT. This makes is possible to use the report formatting available in Perl via the 'write' command, and not require the use of command line redirection to send the output to a printer or file.

Please read the README file for important installation instructions.

pcap source