head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.2 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.7.0.2 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.5.0.20 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.18 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.16 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.14 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.12 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.10 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.8 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.6 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.4 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.2 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.4.0.2 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.3.0.8 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.6 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.4 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.2 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.2.0.20 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.18 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.16 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.14 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.12 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.10 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.8 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.6 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.4 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.2 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.1.0.8 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.6 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.4 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.2 pkgsrc-2005Q4-base:1.1; locks; strict; comment @# @; 1.8 date 2013.03.16.23.04.09; author dholland; state dead; branches; next 1.7; 1.7 date 2012.10.10.02.18.25; author mef; state Exp; branches; next 1.6; 1.6 date 2012.10.07.14.19.18; author mef; state Exp; branches; next 1.5; 1.5 date 2010.06.13.22.45.15; author wiz; state Exp; branches; next 1.4; 1.4 date 2010.02.23.20.31.26; author drochner; state Exp; branches; next 1.3; 1.3 date 2009.02.13.15.31.35; author drochner; state Exp; branches; next 1.2; 1.2 date 2006.12.27.18.18.22; author joerg; state dead; branches; next 1.1; 1.1 date 2005.12.09.20.30.16; author wiz; state Exp; branches; next ; desc @@ 1.8 log @Removed print/ghostscript; moved to print/ghostscript-agpl. @ text @$NetBSD: patch-ah,v 1.7 2012/10/10 02:18:25 mef Exp $ (1) First chunk to fix the X11_TYPE=native problem, which freetype2 in /usr/X11R7/ is way old, and work around to use ghostscript-provided freetype2. (2) Second chunk existed from old days, and no idea, sorry (mef@@). --- configure.orig 2012-08-08 17:04:57.000000000 +0900 +++ configure @@@@ -3786,13 +3786,13 @@@@ ;; *BSD) if test $ac_cv_c_compiler_gnu = yes; then - CC_OPT_FLAGS_TO_TRY="-O2" + CC_OPT_FLAGS_TO_TRY="-O2 -I./freetype/include" CC_DBG_FLAGS_TO_TRY="-g -O0" fi ;; Darwin*) if test $ac_cv_c_compiler_gnu = yes; then - CC_OPT_FLAGS_TO_TRY="-O2" + CC_OPT_FLAGS_TO_TRY="-O2 -I./freetype/include" CC_DBG_FLAGS_TO_TRY="-g -O0" fi SET_DT_SONAME="" @@@@ -5331,7 +5331,7 @@@@ fi if test x$with_libpaper != xno; then - LIBS="$LIBS -lpaper" + LIBS="$LIBS -L${LPLIBDIR} -Wl,-R${LPLIBDIR} -lpaper" $as_echo "#define USE_LIBPAPER 1" >>confdefs.h @ 1.7 log @To fix PR pkg/47045 pkg/47047 pkg/47049 Following change pulled up from wip/ghostscript (9.06) (1) patch-ah (configure) Add CPPFLAG to refer ghostscript-included freetype (regardless of X11_TYPE=native or modular). (2) patch-af (base/unix-dll.mk) Adjust to build on Mac OS X. (3) patch-freetype_include_freetype_internal_t1types_h Delete due to (1) patch will take care. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @(1) Bump version 8.71 to 9.05 (importing from wip/ghostscript). For the Changes: See share/ghostscript/9.05/doc/History9.htm Or work/ghostscript-9.05/doc/History9.htm Upstream releases and their date are: Version 9.05 (2012-02-08) Version 9.04 (2011-08-05) Version 9.02 (2011-03-30) Version 9.01 (2011-02-07) Version 9.00 (2010-09-14) (2) Resolve pkg PR/44400. options.mk: - Have new option disable-compile-inits Makefile - rename cidfmap to cidfmap-dist (post-extract:) (3) Have new file Makefile.common to share with fonts/ghostscript-cidfonts fonts/ghostscript-cidfonts-ryumin to set ${GS_VERSION}, and then ${GS_RESOURCEDIR}. (4) options.mk - Add new options, disable-compile-inits - Add following line for non X11 installation CONFIGURE_ARGS+= --disable-freetype - Name change pstorater.convs -> gstoraster.convs (5) PLIST So many changes, but just a note: -share/ghostscript/${PKGVERSION}/doc/README share/ghostscript/${PKGVERSION}/doc/Readme.htm (6) patches directory: Removed, for upstream included. ------ patch-aa 9.00 base/gsnogc.c patch-ab 9.05 base/unixinst.mak patch-ac 9.00 ase/gdevpx.c patch-ad 9.04 lib/pv.sh patch-ae 9.00 psi/zfile.c patch-ag 9.00 cups/cups.mak patch-ak 9.04 -> a part left in patch-base_gdevpng.c patch-am 9.00 lib/pdf2dsc.ps patch-ba 9.00 psi/idosave.h patch-bb 9.00 psi/isave.c (CVS-2010-1628) patch-bc 9.00 psi/ialloc.c (CVS-2010-1628) patch-bd 9.00 (1) bug #691029 and #691108 9.00 (2) arrayoption() macro 9.00 (3) silence compiler warning Modified, or unchanged ------ patch-af (Add comments from former commit log, and adjust) patch-ah (Add comments from former commit log, and adjust) patch-ai (Add comments from former commit log, and adjust) patch-aj (unchanged) patch-al (unchanged) patch-an (Add comments from former commit log, and adjust) Added -------- patch-base_gdevpng.c (a part of previous patch-ak) patch-base_gserrors_h (silence compile warning) patch-configure.ac (For just a record, see patch-ah (configure)) patch-freetype_include_freetype_internal_t1types_h (To avoid redifintion of T1_EncodingType_ ) patch-openjpeg_libopenjpeg_opj_malloc_h (To avoid undefined ref. to memalign) OK'ed by wiz@@, thanks a lot. @ text @d3 25 a27 3 --- configure.orig 2011-08-05 20:12:44.000000000 +0900 +++ configure 2011-08-22 18:54:36.000000000 +0900 @@@@ -5249,7 +5250,7 @@@@ @ 1.5 log @Bump PKGREVISION for libpng shlib name change. Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.4 2010/02/23 20:31:26 drochner Exp $ d3 4 a6 3 --- configure.orig 2010-02-10 20:31:30.000000000 +0000 +++ configure @@@@ -8126,7 +8126,7 @@@@ fi a7 1 fi d12 1 a12 60 cat >>confdefs.h <<\_ACEOF #define USE_LIBPAPER 1 @@@@ -8739,9 +8739,9 @@@@ $as_echo "yes" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } - { $as_echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5 -$as_echo_n "checking for png_check_sig in -lpng... " >&6; } -if test "${ac_cv_lib_png_png_check_sig+set}" = set; then + { $as_echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5 +$as_echo_n "checking for png_sig_cmp in -lpng... " >&6; } +if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@@@ -8759,11 +8759,11 @@@@ cat >>conftest.$ac_ext <<_ACEOF #ifdef __cplusplus extern "C" #endif -char png_check_sig (); +char png_sig_cmp (); int main () { -return png_check_sig (); +return png_sig_cmp (); ; return 0; } @@@@ -8789,12 +8789,12 @@@@ $as_echo "$ac_try_echo") >&5 test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then - ac_cv_lib_png_png_check_sig=yes + ac_cv_lib_png_png_sig_cmp=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_cv_lib_png_png_check_sig=no + ac_cv_lib_png_png_sig_cmp=no fi rm -rf conftest.dSYM @@@@ -8802,9 +8802,9 @@@@ rm -f core conftest.err conftest.$ac_obj conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5 -$as_echo "$ac_cv_lib_png_png_check_sig" >&6; } -if test "x$ac_cv_lib_png_png_check_sig" = x""yes; then +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5 +$as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; } +if test "x$ac_cv_lib_png_png_sig_cmp" = x""yes; then for ac_header in png.h @@@@ -9203,7 +9203,7 @@@@ done fi a13 5 - if test -z $LOCAL_LIBTIFF_VERSION && test "x$HAVE_SYSTEM_LIBTIFF" == x; then + if test -z $LOCAL_LIBTIFF_VERSION && test "x$HAVE_SYSTEM_LIBTIFF" = x; then { $as_echo "$as_me:$LINENO: Could not find a copy of libtiff on your system. Disabling tiff output devices." >&5 $as_echo "$as_me: Could not find a copy of libtiff on your system. @ 1.4 log @update to 8.71 This is the second release in the stable 8.7x series. It features improved handling of fonts, nesting and color fixes with transparency objects, reduced memory footprint for the halftone cache, as well as improvements to the pxl output devices, and the usual number of bug and robustness fixes. @ text @d1 1 a1 1 $NetBSD$ d14 55 @ 1.3 log @fix a build problem with native xorg reported by Matthias Scheler, being here, quell a printf format compiler warning @ text @d3 1 a3 1 --- configure.orig 2009-02-13 12:06:58.000000000 +0100 d5 1 a5 1 @@@@ -7749,7 +7749,7 @@@@ fi d14 9 @ 1.2 log @Update to gpl ghostscript-8.54 aka print/ghostscript-afpl relaunched under GPL with options.mk. This was discussed on tech-pkg@@. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.1 2005/12/09 20:30:16 wiz Exp $ d3 8 a10 226 --- src/gdevcd8.c.orig Thu Mar 9 03:40:40 2000 +++ src/gdevcd8.c @@@@ -31,7 +31,7 @@@@ /* A printer driver for the HP670, HP690, HP850, HP855 - HP870, HP890, HP1100 and HP1600 color printers. + HP870, HP880, HP890, HP1100 and HP1600 color printers. To be used with the Ghostscript printing system. Please report all problems to uliw@@erdw.ethz.ch @@@@ -43,6 +43,16 @@@@ and hp1600 was added by Martin Gerbershagen. */ +/* Merge code by Matthew J. Gelhaus to add support for the HP DeskJet + 880 series color printers. The code has the following copyright: + + DeskJet 880C/882C/895C Ghostscript Driver + (c) Copyright 2000 Matthew J. Gelhaus + All rights reserved. + + The code is publicly available at http://www.gelhaus.net/index.html. + */ + /* Note: Depending on how you transfered the files, you might need to remove some CR-codes used on intel-based machines: @@@@ -303,6 +313,107 @@@@ 166, 169, 174, 177, 182, 187, 194, 203, 215, 255} }; +private const Gamma gammat880 = +{ + /* Lookup values for cyan */ + {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, + 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, + 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, + 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, + 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, + 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, + 142, 143, + 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, + 158, 159, + 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, + 174, 175, + 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, + 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, + 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, + 222, 223, + 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, + 238, 239, + 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, + 254, 255}, + /* Lookup values for magenta */ + {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, + 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, + 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, + 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, + 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, + 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, + 142, 143, + 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, + 158, 159, + 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, + 174, 175, + 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, + 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, + 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, + 222, 223, + 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, + 238, 239, + 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, + 254, 255}, + /* Lookup values for yellow */ + {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, + 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, + 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, + 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, + 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, + 126, 127, + 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, + 142, 143, + 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, + 158, 159, + 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, + 174, 175, + 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, + 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, + 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, + 222, 223, + 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, + 238, 239, + 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, + 254, 255}, + /* Lookup values for black */ + {0, 0, 0, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, 2, 4, + 3, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, + 6, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 9, 9, 8, 8, 8, + 9, 9, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 12, 12, 12, 13, + 13, 12, 12, 12, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 15, 15, + 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 19, 19, 20, 20, 20, 20, + 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 22, 23, 23, 24, 24, 24, + 24, 25, 25, 26, 26, 26, 26, 27, 27, 28, 28, 28, 28, 29, 29, 30, + 30, 31, 31, 31, 32, 32, 33, 33, 34, 34, 35, 36, 36, 36, 37, 37, + 37, 38, 38, 40, 40, 40, 41, 41, 42, 43, 43, 43, 43, 44, 45, 45, + 46, 47, 47, 48, 49, 49, 50, 52, 52, 53, 54, 54, 56, 56, 57, 58, + 59, 60, 60, 61, 62, 63, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, + 72, 73, 75, 75, 76, 77, 78, 80, 81, 82, 82, 83, 84, 85, 86, 88, + 89, 90, 91, 94, 95, 96, 98, 99, 100, 101, 103, 105, 106, 107, 110, 111, + 112, 115, 116, 118, 120, 121, 124, 126, 127, 131, 133, 134, 138, 140, + 141, 146, + 148, 151, 154, 156, 160, 163, 166, 169, 174, 177, 182, 187, 194, 203, + 215, 255} +}; + private const Gamma gammat890 = { /* Lookup values for cyan */ @@@@ -408,6 +519,7 @@@@ { &gammat850, /* CDJ670 */ &gammat850, /* CDJ850 */ + &gammat880, /* CDJ880 */ &gammat890, /* CDJ890 */ &gammat850 /* CDJ1600 */ }; @@@@ -464,7 +576,7 @@@@ /* Printer types */ typedef enum { - DJ670C, DJ850C, DJ890C, DJ1600C + DJ670C, DJ850C, DJ880C, DJ890C, DJ1600C } cdj_printer_type_t; /* No. of ink jets (used to minimise head movements) */ @@@@ -586,7 +698,7 @@@@ int intensities; /* intensity values per pixel [2,4] */ int xscal; /* boolean to indicate x scaling by 2 */ int yscal; /* boolean to indicate y scaling by 2 */ - int /*cdj_printer_type_t*/ ptype; /* printer type, one of DJ670C, DJ850C, DJ890C, DJ1600C */ + int /*cdj_printer_type_t*/ ptype; /* printer type, one of DJ670C, DJ850C, DJ880C, DJ890C, DJ1600C */ int compression; /* compression level */ float mastergamma; /* Gammavalue applied to all colors */ float gammavalc; /* range to which gamma-correction is @@@@ -705,6 +817,10 @@@@ cdj850_terminate_page(P2(gx_device_printer * pdev, FILE * prn_stream)); private void + cdj880_start_raster_mode(P3(gx_device_printer * pdev, + int papersize, FILE * prn_stream)); + +private void cdj1600_start_raster_mode(P3(gx_device_printer * pdev, int papersize, FILE * prn_stream)); private void @@@@ -727,6 +843,10 @@@@ cmyk_colour_procs(hp_colour_open, cdj850_get_params, cdj850_put_params, NULL, gdev_cmyk_map_color_rgb, gdev_cmyk_map_cmyk_color); +private const gx_device_procs cdj880_procs = +cmyk_colour_procs(hp_colour_open, cdj850_get_params, cdj850_put_params, + NULL, gdev_cmyk_map_color_rgb, gdev_cmyk_map_cmyk_color); + private const gx_device_procs cdj890_procs = cmyk_colour_procs(hp_colour_open, cdj850_get_params, cdj850_put_params, NULL, gdev_cmyk_map_color_rgb, gdev_cmyk_map_cmyk_color); @@@@ -749,6 +869,13 @@@@ cdj850_start_raster_mode, cdj850_print_non_blank_lines, cdj850_terminate_page); +const gx_device_cdj850 gs_cdj880_device = +cdj_850_device(cdj880_procs, "cdj880", 600, 600, 32, cdj850_print_page, 0, + PRESENTATION, PLAIN_PAPER, 2, DJ880C, 9, + 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, + cdj880_start_raster_mode, cdj850_print_non_blank_lines, + cdj1600_terminate_page); + const gx_device_cdj850 gs_cdj890_device = cdj_850_device(cdj890_procs, "cdj890", 600, 600, 32, cdj850_print_page, 0, PRESENTATION, PLAIN_PAPER, 4, DJ890C, 9, @@@@ -823,6 +950,7 @@@@ m = (gdev_pcl_paper_size(pdev) == PAPER_SIZE_A4 ? dj_a4 : dj_letter); break; case DJ850C: + case DJ880C: case DJ890C: if (cdj850->quality == DRAFT) { gx_device_set_resolution(pdev, 300.0, 300.0); @@@@ -2722,6 +2850,20 @@@@ * } * end of unused code */ +/************************ the routines for the cdj880 printer ****************/ + +/* Configure the printer and start Raster mode */ +private void +cdj880_start_raster_mode(gx_device_printer * pdev, int paper_size, + FILE * prn_stream) +{ + /* switch to PCL control language */ + fputs("\033%-12345X@@PJL enter language = PCL\n", prn_stream); + + cdj850_start_raster_mode(pdev, paper_size, prn_stream); + + return; +} /************************ the routines for the cdj1600 printer ***************/ d12 2 @ 1.1 log @Add x11 option to the various ghostscript packages, and get rid of the separate ghostscript*x11* packages. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.2 2001/12/20 22:31:10 jlam Exp $ @