"Copyright 1993-1999 by Easy Software Products, All Rights Reserved.",
"General",
"Printer",
-"Image Options",
-"HP-GL/2 Options",
+"Image",
+"HP-GL/2",
"Extra",
"Document",
"Other",
"Stopped",
"All",
"Odd",
-"Even Pages",
+"Even",
"Darker Lighter",
"Media Size",
"Media Type",
"Pending",
"Output Mode",
"Resolution",
+"Text",
+"Pretty Print",
+"Margins",
+"Left",
+"Right",
+"Bottom",
+"Top",
+"Filename(s)",
+"Print",
"400 Your browser sent a request that this server could not understand.",
"This server could not verify that you are authorized to access the resource.",
"You must pay to access this server.",
/*
- * "$Id: gdevcups.c,v 1.18 1999/12/16 22:48:25 mike Exp $"
+ * "$Id: gdevcups.c,v 1.19 1999/12/16 23:13:15 mike Exp $"
*
* GNU Ghostscript raster output driver for the Common UNIX Printing
* System (CUPS).
case CUPS_ORDER_BANDED :
if (cups->header.cupsColorSpace == CUPS_CSPACE_KCMYcm &&
cups->header.cupsBitsPerColor == 1)
- cups->header.cupsBytesPerLine = (cups->header.cupsBitsPerPixel *
+ cups->header.cupsBytesPerLine = (cups->header.cupsBitsPerColor *
cups->header.cupsWidth + 7) / 8 * 6;
else
- cups->header.cupsBytesPerLine = (cups->header.cupsBitsPerPixel *
+ cups->header.cupsBytesPerLine = (cups->header.cupsBitsPerColor *
cups->header.cupsWidth + 7) / 8 *
cups->color_info.num_components;
break;
case CUPS_ORDER_PLANAR :
- cups->header.cupsBytesPerLine = (cups->header.cupsBitsPerPixel *
+ cups->header.cupsBytesPerLine = (cups->header.cupsBitsPerColor *
cups->header.cupsWidth + 7) / 8;
break;
}
* to separate each chunked color as needed...
*/
- bandbytes = cups->header.cupsBytesPerLine / pdev->color_info.num_components;
+ bandbytes = (cups->header.cupsWidth * cups->header.cupsBitsPerColor + 7) / 8;
for (y = 0; y < cups->height; y ++)
{
/*
- * End of "$Id: gdevcups.c,v 1.18 1999/12/16 22:48:25 mike Exp $".
+ * End of "$Id: gdevcups.c,v 1.19 1999/12/16 23:13:15 mike Exp $".
*/