logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Net::CUPS::PPD - PostScript Printer Definition Object

Author

       Dracken Technology, Inc. (http://www.dracken.com/)

Description

       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.

Methods

getFirstOption
           my $option = $ppd->getFirstOption();

       getNextOption
           my $option = $ppd->getNextOption();

       getOption
           my $option = $ppd->getOption( $keyword );

       getPageLength
           my $length = $ppd->getPageLength();

       getPageSize
           my %size = $ppd->getPageSize();

       getPageWidth
           my $width = $ppd->getPageWidth();

       isMarked
           my $result = $ppd->isMarked( $option, $choice );

       markDefaults
           $ppd->markDefaults();

       markOption
           $ppd->markOption( $option, $choice );

Name

       Net::CUPS::PPD - PostScript Printer Definition Object

See Also

       Net::CUPS, Net::CUPS::Destination, Net::CUPS::IPP

Support

       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.

Synopsis

         use Net::CUPS;
         use Net::CUPS::PPD;

         my $ppd = $cups->getPPD( "lj4200dn" );

See Also