Net::CUPS::PPD - PostScript Printer Definition Object
use Net::CUPS; use Net::CUPS::PPD; my $ppd = $cups->getPPD( "lj4200dn" );
Net::CUPS is an object oriented interface to the Common Unix Printing System.
Net::CUPS::PPD is an abstraction of methods to deal with PostSript Printer Definition files.
my $option = $ppd->getFirstOption();
my $option = $ppd->getNextOption();
my $option = $ppd->getOption( $keyword );
my $length = $ppd->getPageLength();
my %size = $ppd->getPageSize();
my $width = $ppd->getPageWidth();
my $result = $ppd->isMarked( $option, $choice );
$ppd->markDefaults();
$ppd->markOption( $option, $choice );
Net::CUPS, Net::CUPS::Destination, Net::CUPS::IPP
Net::CUPS is currently maintained by Stefan Seifert <NINE@cpan.org>. The Github repository for this project is at https://github.com/niner/perl-Net-CUPS. Pull requests are welcome.
Dracken Technology, Inc. (http://www.dracken.com/)
Copyright (c) 2003-2005 David Hageman
Copyright (c) 2006-2009 Dracken Technology, Inc.
All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
CUPS, the Common UNIX Printing System, the CUPS logo, and ESP Print Pro are the trademark property of Easy Software Products.
To install Net::CUPS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::CUPS
CPAN shell
perl -MCPAN -e shell install Net::CUPS
For more information on module installation, please visit the detailed CPAN module installation guide.