diff options
author | Till Kamppeter <till.kamppeter@gmail.com> | 2007-05-08 17:16:47 +0000 |
---|---|---|
committer | Till Kamppeter <till.kamppeter@gmail.com> | 2007-05-08 17:16:47 +0000 |
commit | 63e8e9ff4367dee8ab21a43ee89b41fd94a56235 (patch) | |
tree | d2b5cc429cd8a7a522b00c51e18e1f385b3241e8 | |
parent | 33e99334f940910f7a485005f21917cd9ae8315c (diff) | |
download | ghostpdl-63e8e9ff4367dee8ab21a43ee89b41fd94a56235.tar.gz |
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.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@7913 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r-- | gs/src/gdevlbp8.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gs/src/gdevlbp8.c b/gs/src/gdevlbp8.c index 534b40a8e..ae458f59c 100644 --- a/gs/src/gdevlbp8.c +++ b/gs/src/gdevlbp8.c @@ -43,7 +43,9 @@ problems /* 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 @@ const gx_device_printer far_data gs_lbp8_device = 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 @@ const gx_device_printer far_data gs_lips3_device = 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_init[] = { 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_init[] = { 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_print_page(gx_device_printer *pdev, FILE *prn_stream) 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 |