HomeSort by relevance Sort by last modified time
    Searched refs:PPD (Results 1 - 25 of 43) sorted by null

1 2

  /sfw/usr/src/cmd/cups/cups-1.4.1/filter/
form-main.c 35 ppd_file_t *PPD; /* PPD file */
hpgl-prolog.c 168 if (PPD != NULL)
170 fputs("DEBUG: hpgltops has a PPD file!\n", stderr);
176 for (i = PPD->num_sizes, size = PPD->sizes; i > 0; i --, size ++)
181 if (i == 0 && PPD->variable_sizes)
183 for (i = PPD->num_sizes, size = PPD->sizes; i > 0; i --, size ++)
194 option = ppdFindOption(PPD, "PageSize");
202 PageLeft = PPD->custom_margins[0];
203 PageRight = width - PPD->custom_margins[2]
    [all...]
form.h 151 extern ppd_file_t *PPD; /* PPD file */
hpgl-main.c 180 PPD = SetCommonOptions(num_options, options, 1);
  /sfw/usr/src/cmd/ghostscript/ghostscript-8.64/cups/
pstopxl 34 if test "x$PPD" != x; then
35 colordevice=`grep '^*ColorDevice:' "$PPD" | awk -F: '{print $2}'`
48 # Apply PPD settings.
55 if test -e "$PPD"; then
56 eval "$(sed -nre 's/^\*DefaultResolution:\s+([0-9.]+(x[0-9.]+)?).*/resolution="${resolution:-\1}"/p' "$PPD")"
65 if test -e "$PPD"; then
66 eval "$(sed -nre 's/^\*DefaultPageSize:\s+(\S+).*/pagesize="${pagesize:-\1}"/p' "$PPD")"
71 if test -n "$pagesize" && test -e "$PPD"; then
72 eval "$(sed -nre 's|^\*PaperDimension\s+'"$pagesize"'/[^:]+:\s+"(\S+)\s+(\S+)".*|width="\1"; height="\2"|p' "$PPD")"
86 if test -n "$pagesize" && test -e "$PPD"; the
    [all...]
pstopxl.in 34 if test "x$PPD" != x; then
35 colordevice=`grep '^*ColorDevice:' "$PPD" | awk -F: '{print $2}'`
48 # Apply PPD settings.
55 if test -e "$PPD"; then
56 eval "$(sed -nre 's/^\*DefaultResolution:\s+([0-9.]+(x[0-9.]+)?).*/resolution="${resolution:-\1}"/p' "$PPD")"
65 if test -e "$PPD"; then
66 eval "$(sed -nre 's/^\*DefaultPageSize:\s+(\S+).*/pagesize="${pagesize:-\1}"/p' "$PPD")"
71 if test -n "$pagesize" && test -e "$PPD"; then
72 eval "$(sed -nre 's|^\*PaperDimension\s+'"$pagesize"'/[^:]+:\s+"(\S+)\s+(\S+)".*|width="\1"; height="\2"|p' "$PPD")"
86 if test -n "$pagesize" && test -e "$PPD"; the
    [all...]
  /sfw/usr/src/cmd/pycups/pycups-1.9.46/
cupsppd.h 24 #include <cups/ppd.h>
37 ppd_file_t *ppd; member in struct:__anon2572
41 } PPD;
43 extern PyObject *PPD_writeFd (PPD *self, PyObject *args);
cupsppd.c 31 PPD *ppd; member in struct:__anon2568
38 PPD *ppd; member in struct:__anon2569
45 PPD *ppd; member in struct:__anon2570
52 PPD *ppd; member in struct:__anon2571
60 ppd_encoding_is_utf8 (PPD *ppd)
    [all...]
test.py 24 print "Getting PPD for %s" % printers[len (printers) - 1]
26 ppd = cups.PPD (f)
27 ppd.markDefaults ()
28 print ppd.conflicts ()
29 groups = ppd.optionGroups
  /sfw/usr/src/pkgdefs/SUNWfoomatic-db/
prototype_com 37 s none usr/share/cups/model/foomatic-db-ppds=../../../../usr/share/foomatic/db/source/PPD
42 d none usr/share/foomatic/db/source/PPD 0755 root bin
43 d none usr/share/foomatic/db/source/PPD/Brother 0755 root bin
44 f none usr/share/foomatic/db/source/PPD/Brother/BR2600CN_GPL.ppd.gz 0444 root bin
45 f none usr/share/foomatic/db/source/PPD/Brother/BR2700_2_GPL.ppd.gz 0444 root bin
46 f none usr/share/foomatic/db/source/PPD/Brother/BR3450CN_GPL.ppd.gz 0444 root bin
47 f none usr/share/foomatic/db/source/PPD/Brother/BR5050_2_GPL.ppd.gz 0444 root bi
    [all...]
  /sfw/usr/src/cmd/foomatic-ppd/
README 27 The printmgr(1M) uses a cache of the foomatic PPD files. This
33 1. ppdunsupported : this is the list of PPD files
36 the printer drivers required by the PPD files.
44 to create the PPD cache. This file is installed and
48 0. Pull down a new version of foomatic-filters-ppd.
50 1. Check licenses on all the PPD files. Any files with
  /sfw/usr/src/cmd/a2ps/a2ps-4.13/lib/
lexppd.l 3 * Lexer for PPD files.
35 #include "ppd.h"
42 /* File currently parsed, and the path where to find PPD files. */
55 /* Stack to handle included PPD files. */
64 %option prefix="ppd"
206 <STATE_INCLUDE>{ /* Including another PPD file. */
234 message (msg_file, (stderr, "End of PPD file `%s'.\n", ppdfilename));
  /sfw/usr/src/cmd/foomatic-db/foomatic-db-20080903/debian/
rules 71 # Link PPD files into /usr/share/ppd/postscript/Mfr/blah.ppd.gz
72 rm -f $(CURDIR)/debian/foomatic-db/usr/share/foomatic/db/source/PPD/PPD
73 (cd $(CURDIR)/debian/foomatic-db/usr/share/foomatic/db/source/PPD; mfrs=`echo *`; for mfr in $$mfrs; do mkdir $(CURDIR)/debian/foomatic-db/usr/share/ppd/postscript/$$mfr; ln `find $$mfr -name '*.ppd.gz'` $(CURDIR)/debian/foomatic-db/usr/share/ppd/postscript/$$mfr; done)
76 mv $(CURDIR)/debian/foomatic-db/usr/share/ppd $(CURDIR)/debian/openprinting-ppds/usr/shar
    [all...]
  /sfw/usr/src/cmd/gutenprint/gutenprint-5.2.4/src/cups/
test-rastertogutenprint.in 139 elif [ -r "ppd/C/$f" ] ; then
140 echo "ppd/C/$f"
141 elif [ -f "ppd/C/${f}.ppd" ] ; then
142 echo "ppd/C/${f}.ppd"
143 elif [ -f "ppd/C/${f}.ppd.gz" ] ; then
144 echo "ppd/C/${f}.ppd.gz
    [all...]
cups-genppdupdate.in 28 sub update_ppd ($); # Original PPD filename
29 sub get_ppd_fh ($$$$$); # Return contents of desired PPD
32 sub get_ppd_data (*$$$$$); # Source PPD FH
38 our $opt_s; # Source PPD location
39 our $opt_p; # New PPD location
40 our $opt_P; # PPD generator location
42 our $opt_N; # Don't update PPD file options
60 my $ppd_dir = "@cups_conf_serverroot@/ppd"; # Location of in-use CUPS PPDs
83 my @ppd_files; # A list of in-use Gutenprint PPD files
119 # Find all in-use Gutenprint PPD files..
    [all...]
Makefile.am 54 PPD = ppd-global
56 PPD = $(PPD_NLS_1)
61 PPD = ppd-nonls
122 INSTALL_DATA_LOCAL_DEPS = ppd-stamp
126 PPD_NLS_1 = ppd-nls
133 cd ppd ; \
137 cd ppd/$$language; \
139 (cd ../..; $(INSTALL_DATA) ppd/$$language/$$ppdfile $(DESTDIR)$(cups_modeldir)/$$language) ;
    [all...]
  /sfw/usr/src/cmd/foomatic-db-engine/foomatic-db-engine-3.0-20080903/
foomatic-ppdfile.in 4 # Foomatic PPD file generator for manual PPD generation (via "-p",
6 # on-the-fly PPD generation by CUPS 1.2 or newer (via "cat" and "list"
17 # Use program name as the first part of the PPD URI for CUPS (should be
24 # List only the PPD file with the reconmmended driver for each printer
30 # The Foomatic database does not only generate PPD files from Foomatic
33 # the directories in which CUPS links directly to PPD files, duplicate
50 # List all available PPD files (format for cups-driverd)
53 # Generate and return the selected PPD file (cups-driverd command line)
56 # List all PPD files or files matching regexp (manual operation
    [all...]
foomatic-ppd-options.in 4 # This is foomatic-ppd-options, a program which will print out the
5 # options specified by a PPD file.
7 # foomatic-ppd-options [file*]
8 # reads one or more PPD files from the specified file or
9 # standard input. If present, PPD information is separated by
11 # the LPRng 'lpc ppd' command:
12 # lpc ppd | foomatic-ppd-options
25 reads one or more PPD files from the specified file or
26 standard input. If present, PPD information is separated b
    [all...]
foomatic-extract-text.in 33 if ($file =~ /ppd\.gz$/) {
149 open(PPDS, "find $path -name \*.ppd\*|");
160 foreach my $ppd (@{$ppds->{$makemodel}}) {
161 if ($ppd->{'dat'}{'language'} eq 'English') {
162 $en_ppd = $ppd;
166 foreach my $ppd (@{$ppds->{$makemodel}}) {
167 my $lang = $ppd->{'dat'}{'language'};
173 get_translated_messages($en_ppd, $ppd, $messages->{$lang});
175 extract_ppd($ppd, $messages->{$lang});
185 extract_ppds("$libdir/db/source/PPD/", $messages)
    [all...]
  /sfw/usr/src/cmd/ghostscript/ghostscript-8.64/contrib/pcl3/lib/
cups-pcl3 17 # Required entries in PPD files
19 # The PPD files distributed with pcl3 are by default already configured for
23 # If you want to use another PPD file or ghostscript driver, add or modify the
24 # following two statements in the PPD file:
31 # is "pcl3". From the point of view of the PPD specification, the
42 # If you've not yet installed the necessary PPD files, do it now. After that
181 # Find the command line options from the PPD file. We need not bother about
183 if [ ! -f "${PPD:-}" ]; then
184 printf 'ERROR: %s: No PPD file %s.\n' "$name" "${PPD:-}" >&
    [all...]
  /sfw/usr/src/cmd/perl510/perl-5.10.0/lib/ExtUtils/t/
basic.t 90 my $ppd_out = run("$make ppd");
92 ok( open(PPD, 'Big-Dummy.ppd'), ' .ppd file generated' );
94 { local $/; $ppd_html = <PPD> }
95 close PPD;
116 END { unlink 'Big-Dummy.ppd' }
  /sfw/usr/src/cmd/vim/vim72/runtime/syntax/
ppd.vim 2 " Language: PPD (PostScript printer description) file
46 let b:current_syntax = "ppd"
  /sfw/usr/src/cmd/foomatic-db-engine/foomatic-db-engine-3.0-20080903/lib/Foomatic/
PPD.pm 2 package Foomatic::PPD;
17 open PPD, "$filename" or die;
19 my %ppd;
21 $ppd{'filename'} = $filename;
25 for $l (<PPD>) {
43 push(@{$ppd{'options'}}, $opt);
65 $ppd{'NickName'} = $1;
67 $ppd{'ModelName'} = $1;
69 $ppd{'Manufacturer'} = $1;
85 close PPD;
    [all...]
  /sfw/usr/src/cmd/cups/cups-1.4.1/ppdc/
Makefile 4 # Makefile for the CUPS PPD Compiler.
105 $(RM) -r ppd ppd2
139 echo Installing PPD compiler programs...
219 --title "PPD Compiler API" \
230 --title "PPD Compiler API" \
251 # ppdc, the PPD compiler.
264 echo Testing PPD compiler...
270 # ppdhtml, the PPD to HTML utility.
279 # ppdi, import PPD files.
292 echo Testing PPD importer..
    [all...]
  /sfw/usr/src/cmd/webmin/webmin-1.340/lpadmin/
lpadmin-lib.pl 526 # Converts a CUPS-style .ppd file into a hash of names and values
529 local %ppd;
531 open(PPD, "gunzip -c '$_[0]' |");
534 open(PPD, $_[0]);
536 while(<PPD>) {
538 $ppd{$1} = $2;
541 $ppd{$1}->{$2} = $3 if (!defined($ppd{$1}->{$2}));
544 close(PPD);
545 return \%ppd;
    [all...]

Completed in 5579 milliseconds

1 2