~ubuntu-branches/ubuntu/jaunty/cups/jaunty

« back to all changes in this revision

Viewing changes to cups/testppd.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt, Till Kamppeter, Martin Pitt
  • Date: 2009-02-15 18:39:03 UTC
  • mfrom: (6.1.30 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090215183903-i0nhvqyqj4vyn52a
Tags: 1.3.9-13
[ Till Kamppeter ]
* debian/local/filters/pdf-filters/filter/imagetopdf.c: Added support for
  the new "fit-to-page" option (new, more intuitive name for "fitplot").
* debian/filters/pstopdf: Only apply paper size if the "fitplot" or the
  "fit-to-page" option is set.
* debian/local/filters/cpdftocps: Only the last digit of the number of
  copies was used (LP: #309314).
* debian/local/filters/pdf-filters/pdftopdf/pdftopdf.cxx: Do not preceed the
  PDF output with a newline (LP: #303691). Only impose the page size from
  the PPD file to all pages if the "fitplot" or the "fit-to-page" option is 
  set. This prevented from automatic paper tray switching to the correct paper
  sizes when a multiple-page-size document is printed (partial fix for
  LP: #310575).
* debian/patches/pdftops-cups-1.4.dpatch: Updated from CUPS 1.4 SVN. Contains
  fixes for multiple-page-size document printing (partial fix for
  LP: #310575).
* debian/patches/pdftops-dont_fail_on_cancel.dpatch: Removed, should be
  fixed in the new upstream version of pdftops.

[ Martin Pitt ]
* debian/patches/pdftops-cups-1.4.dpatch: Add definition of
  HAVE_PDFTOPS and CUPS_PDFTOPS, so that the filter actually gets
  again built with pdftops support. (Fixes Till's change from above).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * "$Id: testppd.c 6799 2007-08-15 19:33:36Z mike $"
 
2
 * "$Id: testppd.c 7820 2008-08-01 00:28:44Z mike $"
3
3
 *
4
4
 *   PPD test program for the Common UNIX Printing System (CUPS).
5
5
 *
81
81
                        "%%EndFeature\n"
82
82
                        "} stopped cleartomark\n"
83
83
                        "[{\n"
84
 
                        "%%BeginFeature: *StringOption None\n"
 
84
                        "%%BeginFeature: *CustomStringOption True\n"
 
85
                        "(value\\0502\\051)\n"
 
86
                        "(value 1)\n"
 
87
                        "StringOption=Custom\n"
85
88
                        "%%EndFeature\n"
86
89
                        "} stopped cleartomark\n";
87
90
 
149
152
    if (s)
150
153
      free(s);
151
154
 
152
 
    fputs("ppdEmitString (custom size): ", stdout);
 
155
    fputs("ppdEmitString (custom size and string): ", stdout);
153
156
    ppdMarkOption(ppd, "PageSize", "Custom.400x500");
 
157
    ppdMarkOption(ppd, "StringOption", "{String1=\"value 1\" String2=value(2)}");
154
158
 
155
159
    if ((s = ppdEmitString(ppd, PPD_ORDER_ANY, 0.0)) != NULL &&
156
160
        !strcmp(s, custom_code))
372
376
 
373
377
 
374
378
/*
375
 
 * End of "$Id: testppd.c 6799 2007-08-15 19:33:36Z mike $".
 
379
 * End of "$Id: testppd.c 7820 2008-08-01 00:28:44Z mike $".
376
380
 */