Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Hints
Perl extension for parsing /etc/printcap

Hints - Perl extension for parsing /etc/printcap


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).

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy