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 Support for this module and other software developed by Dracken
54 Technology, Inc can be found at http://www.dracken.com/.
55
57 Dracken Technology, Inc. (http://www.dracken.com/)
58
60 Copyright (c) 2003-2005 David Hageman
61
62 Copyright (c) 2006-2009 Dracken Technology, Inc.
63
64 All rights reserved.
65
66 This library is free software; you can redistribute it and/or modify it
67 under the same terms as Perl itself, either Perl version 5.8.8 or, at
68 your option, any later version of Perl 5 you may have available.
69
70 CUPS, the Common UNIX Printing System, the CUPS logo, and ESP Print Pro
71 are the trademark property of Easy Software Products.
72
73
74
75perl v5.12.0 2009-08-19 Net::CUPS::PPD(3)