1Net::CUPS::PPD(3) User Contributed Perl Documentation Net::CUPS::PPD(3)
2
3
4
6 Net::CUPS::PPD - PostScript Printer Definition Object
7
9 use Net::CUPS;
10 use Net::CUPS::PPD;
11
12 my $ppd = $cups->getPPD( "lj4200dn" );
13
15 Net::CUPS is an object oriented interface to the Common Unix Printing
16 System.
17
18 Net::CUPS::PPD is an abstraction of methods to deal with PostSript
19 Printer Definition files.
20
22 getFirstOption
23 my $option = $ppd->getFirstOption();
24
25 getNextOption
26 my $option = $ppd->getNextOption();
27
28 getOption
29 my $option = $ppd->getOption( $keyword );
30
31 getPageLength
32 my $length = $ppd->getPageLength();
33
34 getPageSize
35 my %size = $ppd->getPageSize();
36
37 getPageWidth
38 my $width = $ppd->getPageWidth();
39
40 isMarked
41 my $result = $ppd->isMarked( $option, $choice );
42
43 markDefaults
44 $ppd->markDefaults();
45
46 markOption
47 $ppd->markOption( $option, $choice );
48
50 Net::CUPS, Net::CUPS::Destination, Net::CUPS::IPP
51
53 Net::CUPS is currently maintained by Stefan Seifert <NINE@cpan.org>.
54 The Github repository for this project is at
55 <https://github.com/niner/perl-Net-CUPS>. Pull requests are welcome.
56
58 Dracken Technology, Inc. (http://www.dracken.com/)
59
61 Copyright (c) 2003-2005 David Hageman
62
63 Copyright (c) 2006-2009 Dracken Technology, Inc.
64
65 All rights reserved.
66
67 This library is free software; you can redistribute it and/or modify it
68 under the same terms as Perl itself, either Perl version 5.8.8 or, at
69 your option, any later version of Perl 5 you may have available.
70
71 CUPS, the Common UNIX Printing System, the CUPS logo, and ESP Print Pro
72 are the trademark property of Easy Software Products.
73
74
75
76perl v5.32.0 2020-07-28 Net::CUPS::PPD(3)