~ubuntu-branches/ubuntu/maverick/gutenprint/maverick

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2010-08-11 18:33:53 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100811183353-2fmpeayzydja140t
Tags: 5.2.6-0ubuntu1
* New upstream release
   - Added support for Canon PIXMA MP360, MP370, MP390, MP510, MP970,
     Epson Artisan 50, EP-302, EP-702A, Stylus Photo P50, Stylus Pro 3800
     (experimental), 3880 (experimental), 4800, 4880, 11800, Stylus T59,
     T60, TX659.
   - Added also explicit support for many PCL-4/5/5e-based laser printers
     to have all such printers listed at OpenPrinting also be supported
     by Gutenprint (not that Gutenprint is usually not the best driver for
     these printers).
   - Fix for Epson Stylus S20, S21, T20, and T21 upstream now (LP: #576705).
   - Adjust printer definitions of EPSON Stylus Pro 7800 and 9800 to use
     Ultrachrome K3 inks.
   - Adjust the printer definitions of the Epson Stylus Pro 7880,
     9880, and 11880 to be consistent with new definition of 4880 and
     use Ultrachrome K3 w/Vivid Magenta ink.
   - Correct printing on Epson Stylus Pro printers (x600, x800, and
     x880 series) to position images correctly on the page and to
     correctly cut the print in roll feed mode.
   - Correct printer definitions of some Kyocera laser printers to
     specify tabloid-size (11.7x17) output.
   - Correct printer definition of Canon ImageRunner 330s (large
     format).
   - Add CD Allow Other Media Sizes option to Epson printers to
     permit printing to other media sizes when using third party
     trays.
   - Correct the behavior of scan and page dry times for Epson Stylus
     Pro printers.
   - The Enhanced Print plugin for GIMP now allows printing very
     small images at their correct sizes.
   - A Finnish translation has been added.
* debian/patches/S20-S21-T20-T21-regression.dpatch: Removed backported
  upstream fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * "$Id: print-pcl.c,v 1.157 2010/02/12 01:02:12 rlk Exp $"
 
2
 * "$Id: print-pcl.c,v 1.159 2010/08/07 23:51:20 rlk Exp $"
3
3
 *
4
4
 *   Print plug-in HP PCL driver for the GIMP.
5
5
 *
572
572
  PCL_PAPERSIZE_LETTER,
573
573
  PCL_PAPERSIZE_LEGAL,
574
574
  PCL_PAPERSIZE_TABLOID,
 
575
  PCL_PAPERSIZE_SUPER_B,
 
576
  PCL_PAPERSIZE_A5,
 
577
  PCL_PAPERSIZE_A4,
 
578
  PCL_PAPERSIZE_A3,
 
579
  PCL_PAPERSIZE_JIS_B5,
 
580
  PCL_PAPERSIZE_JIS_B4,                /* Guess */
 
581
  PCL_PAPERSIZE_4x6,
 
582
  PCL_PAPERSIZE_5x8,
 
583
  PCL_PAPERSIZE_MONARCH_ENV,
 
584
  PCL_PAPERSIZE_COMMERCIAL10_ENV,
 
585
  PCL_PAPERSIZE_DL_ENV,
 
586
  PCL_PAPERSIZE_C5_ENV,
 
587
  PCL_PAPERSIZE_C6_ENV,
 
588
  -1,
 
589
};
 
590
 
 
591
static const short ljtabloid_papersizes[] =
 
592
{
 
593
  PCL_PAPERSIZE_EXECUTIVE,
 
594
  PCL_PAPERSIZE_STATEMENT,
 
595
  PCL_PAPERSIZE_LETTER,
 
596
  PCL_PAPERSIZE_LEGAL,
 
597
  PCL_PAPERSIZE_TABLOID,
575
598
  PCL_PAPERSIZE_A5,
576
599
  PCL_PAPERSIZE_A4,
577
600
  PCL_PAPERSIZE_A3,
1132
1155
    emptylist,
1133
1156
    laserjet_papersources,
1134
1157
  },
 
1158
  /* PCL-5 with tabloid paper, no expanded margins */
 
1159
  { 35,
 
1160
    118 * 72 / 10, 17 * 72,
 
1161
    1, 1,                               /* Min paper size */
 
1162
    PCL_RES_150_150 | PCL_RES_300_300,
 
1163
    {12, 12, 18, 18},
 
1164
    {12, 12, 18, 18},   /* Check/Fix */
 
1165
    PCL_COLOR_NONE,
 
1166
    PCL_PRINTER_LJ | PCL_PRINTER_TIFF | PCL_PRINTER_BLANKLINE,
 
1167
    ljtabloid_papersizes,
 
1168
    emptylist,
 
1169
    laserjet_papersources,
 
1170
  },
1135
1171
  /* LaserJet 4L */
1136
1172
  { 4,
1137
1173
    17 * 72 / 2, 14 * 72,
1228
1264
    emptylist,
1229
1265
    laserjet_papersources,
1230
1266
  },
 
1267
  /* PCL-5c/5e/6/XL with tabloid paper, no expanded A4 margins */
 
1268
  { 64,
 
1269
    118 * 72 / 10, 17 * 72,
 
1270
    1, 1,                               /* Min paper size */
 
1271
    PCL_RES_150_150 | PCL_RES_300_300 | PCL_RES_600_600,
 
1272
    {12, 12, 18, 18},
 
1273
    {12, 12, 18, 18},   /* Check/Fix */
 
1274
    PCL_COLOR_NONE,
 
1275
    PCL_PRINTER_LJ | PCL_PRINTER_NEW_ERG | PCL_PRINTER_TIFF | PCL_PRINTER_BLANKLINE |
 
1276
      PCL_PRINTER_DUPLEX,
 
1277
    ljtabloid_papersizes,
 
1278
    emptylist,
 
1279
    laserjet_papersources,
 
1280
  },
1231
1281
  /* LaserJet 5Si */
1232
1282
  { 7,
1233
1283
    13 * 72, 19 * 72,