Author image Milan Šorm
and 1 contributors

NAME

Hints - Perl extension for parsing /etc/printcap

SYNOPSIS

        use Print::Printcap;

        my $printcap = new Print::Printcap;

        print join ',',$printcap->printers();

DESCRIPTION

Simple parser for /etc/printcap.

THE PRINT::PRINTCAP CLASS

new

Constructor create instance of Print::Printcap class and parse /etc/printcap. Optional argument is -file => 'filename' for specifying alternate printcap file.

        my $printcap = new Print::Printcap;

printers

Return list of printers from /etc/printcap.

        my @printers = $printcap->printers();

VERSION

0.01

AUTHOR

(c) 2001 Milan Sorm, sorm@pef.mendelu.cz at Faculty of Economics, Mendel University of Agriculture and Forestry in Brno, Czech Republic.

This module was needed for making SchemaView Plus (svplus).

SEE ALSO

perl(1), svplus(1), printcap(5).