Wrong run levels for cups.sh.
Debug mode for RPMs.
Page headers for rasterview
Support all media and output type options in image RIP.
Drop some page device dictionary elements from gdevcups
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@1354
7a7537e8-13f0-0310-91df-
b6672ffda945
#!/bin/sh
#
-# "$Id: cups.sh.in,v 1.4 2000/07/10 19:19:12 mike Exp $"
+# "$Id: cups.sh.in,v 1.5 2000/09/09 22:43:58 mike Exp $"
#
# Startup/shutdown script for the Common UNIX Printing System (CUPS).
#
# Linux chkconfig stuff:
#
-# chkconfig: 02 99 00
+# chkconfig: 0235 99 00
# description: Startup/shutdown script for the Common UNIX \
# Printing System (CUPS).
#
#
-# End of "$Id: cups.sh.in,v 1.4 2000/07/10 19:19:12 mike Exp $".
+# End of "$Id: cups.sh.in,v 1.5 2000/09/09 22:43:58 mike Exp $".
#
/*
- * "$Id: imagetoraster.c,v 1.49 2000/08/01 16:06:00 mike Exp $"
+ * "$Id: imagetoraster.c,v 1.50 2000/09/09 22:43:58 mike Exp $"
*
* Image file to raster filter for the Common UNIX Printing System (CUPS).
*
header.Margins[0] = PageLeft;
header.Margins[1] = PageBottom;
+ fprintf(stderr, "DEBUG: PageSize = [%d %d]\n", header.PageSize[0],
+ header.PageSize[1]);
+
switch (Orientation)
{
case 0 :
else if (strcmp(name, "cupsMediaPosition") == 0 || /* Compatibility */
strcmp(name, "MediaPosition") == 0)
header->MediaPosition = atoi(value);
+ else if (strcmp(name, "MediaClass") == 0)
+ strncpy(header->MediaClass, value, sizeof(header->MediaClass) - 1);
+ else if (strcmp(name, "MediaColor") == 0)
+ strncpy(header->MediaColor, value, sizeof(header->MediaColor) - 1);
else if (strcmp(name, "MediaType") == 0)
strncpy(header->MediaType, value, sizeof(header->MediaType) - 1);
else if (strcmp(name, "OutputType") == 0)
/*
- * End of "$Id: imagetoraster.c,v 1.49 2000/08/01 16:06:00 mike Exp $".
+ * End of "$Id: imagetoraster.c,v 1.50 2000/09/09 22:43:58 mike Exp $".
*/
/*
- * "$Id: gdevcups.c,v 1.32 2000/08/29 21:23:10 mike Exp $"
+ * "$Id: gdevcups.c,v 1.33 2000/09/09 22:44:01 mike Exp $"
*
* GNU Ghostscript raster output driver for the Common UNIX Printing
* System (CUPS).
booloption(Separations, "Separations")
booloption(TraySwitch, "TraySwitch")
booloption(Tumble, "Tumble")
- intoption(cupsWidth, "cupsWidth", unsigned)
- intoption(cupsHeight, "cupsHeight", unsigned)
intoption(cupsMediaType, "cupsMediaType", unsigned)
intoption(cupsBitsPerColor, "cupsBitsPerColor", unsigned)
- intoption(cupsBitsPerPixel, "cupsBitsPerPixel", unsigned)
- intoption(cupsBytesPerLine, "cupsBytesPerLine", unsigned)
intoption(cupsColorOrder, "cupsColorOrder", cups_order_t)
intoption(cupsColorSpace, "cupsColorSpace", cups_cspace_t)
intoption(cupsCompression, "cupsCompression", unsigned)
/*
- * End of "$Id: gdevcups.c,v 1.32 2000/08/29 21:23:10 mike Exp $".
+ * End of "$Id: gdevcups.c,v 1.33 2000/09/09 22:44:01 mike Exp $".
*/