[gs-cvs] rev 7913 - trunk/gs/src
till at ghostscript.com
till at ghostscript.com
Tue May 8 10:16:47 PDT 2007
Author: till
Date: 2007-05-08 10:16:47 -0700 (Tue, 08 May 2007)
New Revision: 7913
Modified:
trunk/gs/src/gdevlbp8.c
Log:
Conditionals to avoid conflicts with the drivers "bjc880j", "lips2p",
"lips4", and "lips4v" in contrib/
DETAILS:
some data structures in src/gdevlbp8.c got extended for the
above-mentioned drivers. To avoid conflicts the original structures
need to be deactivated. This patch adds the needed conditionals for
that.
EXPECTED DIFFERENCES:
None.
Modified: trunk/gs/src/gdevlbp8.c
===================================================================
--- trunk/gs/src/gdevlbp8.c 2007-05-08 16:52:11 UTC (rev 7912)
+++ trunk/gs/src/gdevlbp8.c 2007-05-08 17:16:47 UTC (rev 7913)
@@ -43,7 +43,9 @@
/* The device descriptors */
private dev_proc_print_page(lbp8_print_page);
+#if 0
private dev_proc_print_page(lips3_print_page);
+#endif
const gx_device_printer far_data gs_lbp8_device =
prn_device(prn_std_procs, "lbp8",
@@ -52,6 +54,7 @@
0.16, 0.2, 0.32, 0.21, /* margins: left, bottom, right, top */
1, lbp8_print_page);
+#if 0
const gx_device_printer far_data gs_lips3_device =
prn_device(prn_std_procs, "lips3",
82, /* width_10ths, 8.3" */
@@ -59,6 +62,7 @@
X_DPI, Y_DPI,
0.16, 0.27, 0.23, 0.27, /* margins */
1, lips3_print_page);
+#endif
/* ------ Internal routines ------ */
@@ -78,6 +82,7 @@
static const char *lbp8_end = NULL;
+#if 0
static const char lips3_init[] = {
ESC, '<', /* soft reset */
DCS, '0', 'J', ST, /* JOB END */
@@ -94,6 +99,7 @@
static const char lips3_end[] = {
DCS, '0', 'J', ST /* JOB END */
};
+#endif
/* Send the page to the printer. */
private int
@@ -199,9 +205,11 @@
lbp8_end, sizeof(lbp8_end));
}
+#if 0
/* Print a LIPS III page. */
private int
lips3_print_page(gx_device_printer *pdev, FILE *prn_stream)
{ return can_print_page(pdev, prn_stream, lips3_init, sizeof(lips3_init),
lips3_end, sizeof(lips3_end));
}
+#endif
More information about the gs-cvs
mailing list