Hints - Perl extension for parsing /etc/printcap |
Hints - Perl extension for parsing /etc/printcap
use Print::Printcap;
my $printcap = new Print::Printcap;
print join ',',$printcap->printers();
Simple parser for /etc/printcap.
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;
Return list of printers from /etc/printcap.
my @printers = $printcap->printers();
0.01
(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
).
perl(1), svplus(1), printcap(5).
Hints - Perl extension for parsing /etc/printcap |