~ubuntu-branches/ubuntu/quantal/gutenprint/quantal

« back to all changes in this revision

Viewing changes to src/main/print-vars.c

  • Committer: Package Import Robot
  • Author(s): Till Kamppeter
  • Date: 2012-06-19 17:12:48 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20120619171248-cbil10m2dqnc71rr
Tags: 5.2.8-0ubuntu1
* New upstream release
   - Added support for Canon PIXMA DS700, DS810, 50i, 80i, 450i, 455i, 470PD,
     475PD, 550i, 560i, 850i, 860i, 865R, 900PD, 950i, 960i, 990i, 6100i,
     6500i, 9100i, 9900i, i450X, i455X, i475D, i550X, i560X, i905D, i965,
     i990, i9950, iP90, iP90v, iP100, iP6320D, MP260, MX320, MX370, MX430,
     MX510, MX710, MX890, E500, E600, PIXUS iP2700, iP3100, iP4100,
     EPSON Stylus NX420, SX420, TX420
   - CD printing on many Canon printers.
   - Non-working Canon's removed.
   - More Japanese models supported.
   - Printer modes for most printer models are now determined by the
     media, based on information from the corresponding Windows
     driver. If an incompatible mode is selected by the user, a
     suitable mode is substituted, based on the other active
     parameters and quality setting. Modes are also substituted
     based on cartridge selection and duplex selection. Inktype is
     then automatically adjusted.
   - Added support for 8-bit inks to Canon backend, and modes using
     them.
   - Adjusted margins and page sizes of Canon printers.
   - Added borderless functionality to most Canon printers.
   - A problem whereby printing did not work at all on some Linux
     distributions has been fixed.
   - Printing on the Epson Stylus NX200, SX200, and SX205 is believed
     to be corrected.
* debian/patches/0002-genppd-don-t-write-color-profile-information-with-br.patch,
  debian/patches/0003-upgrade-getopt.patch,
  debian/patches/0004-no-data-dumper-needed.patch,
  debian/patches/0005-use-dnointerpolate-in-ghostscript-command-lines.patch:
  Removed, change applied upstream.
* debian/rules: Touch ppd-updater file(s) so that they have the time stamp
  of the build of this package The time stamp of the ppd-updater files tells
  CUPS' trigger script whether they come from different package versions or
  not (LP: #932882).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * "$Id: print-vars.c,v 1.93 2011/06/12 00:31:51 rlk Exp $"
 
2
 * "$Id: print-vars.c,v 1.94 2012/01/19 13:26:02 m0m Exp $"
3
3
 *
4
4
 *   Print plug-in driver utility functions for the GIMP.
5
5
 *
1838
1838
stp_parameter_list_param(stp_const_parameter_list_t list, size_t item)
1839
1839
{
1840
1840
  const stp_list_t *ilist = (const stp_list_t *)list;
 
1841
  stp_list_item_t *i = NULL;
1841
1842
  if (item >= stp_list_get_length(ilist))
1842
1843
    return NULL;
1843
1844
  else
1844
 
    return (const stp_parameter_t *)
1845
 
      stp_list_item_get_data(stp_list_get_item_by_index(ilist, item));
 
1845
    {
 
1846
      i = stp_list_get_item_by_index(ilist, item);
 
1847
      if (i == NULL)
 
1848
        return NULL;
 
1849
      return (const stp_parameter_t *) stp_list_item_get_data(i);
 
1850
    }
1846
1851
}
1847
1852
 
1848
1853
void