head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.30 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.28 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.26 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.24 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.22 pkgsrc-2009Q4-base:1.2 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.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.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 @$NetBSD: patch-aw,v 1.1 2005/12/09 20:30:16 wiz Exp $ --- src/gdevlbp8.c.orig Thu Mar 9 03:40:41 2000 +++ src/gdevlbp8.c @@@@ -22,6 +22,8 @@@@ /* Modifications: + 3.10.00 Johnny Lam + Removed LIPS III code, as it's obsoleted by gdevlips driver. 2.2.97 Lauri Paatero Changed CSI command into ESC [. DCS commands may still need to be changed (to ESC P). @@@@ -49,7 +51,6 @@@@ /* The device descriptors */ private dev_proc_print_page(lbp8_print_page); -private dev_proc_print_page(lips3_print_page); gx_device_printer far_data gs_lbp8_device = prn_device(prn_std_procs, "lbp8", @@@@ -58,14 +59,6 @@@@ 0.16, 0.2, 0.32, 0.21, /* margins: left, bottom, right, top */ 1, lbp8_print_page); -gx_device_printer far_data gs_lips3_device = - prn_device(prn_std_procs, "lips3", - 82, /* width_10ths, 8.3" */ - 117, /* height_10ths, 11.7" */ - X_DPI, Y_DPI, - 0.16, 0.27, 0.23, 0.27, /* margins */ - 1, lips3_print_page); - /* ------ Internal routines ------ */ #define ESC 0x1b @@@@ -84,23 +77,6 @@@@ static const char *lbp8_end = NULL; -static const char lips3_init[] = { - ESC, '<', /* soft reset */ - DCS, '0', 'J', ST, /* JOB END */ - DCS, '3', '1', ';', '3', '0', '0', ';', '2', 'J', ST, /* 300dpi, LIPS3 JOB START */ - ESC, '<', /* soft reset */ - DCS, '2', 'y', 'P', 'r', 'i', 'n', 't', 'i', 'n', 'g', '(', 'g', 's', ')', ST, /* Printing (gs) display */ - ESC, '[', '?', '1', 'l', /* auto cr-lf disable */ - ESC, '[', '?', '2', 'h', /* auto ff disable */ - ESC, '[', '1', '1', 'h', /* set mode */ - ESC, '[', '7', ' ', 'I', /* select unit size (300dpi)*/ - ESC, '[', 'f' /* move to home position */ -}; - -static const char lips3_end[] = { - DCS, '0', 'J', ST /* JOB END */ -}; - /* Send the page to the printer. */ private int can_print_page(gx_device_printer *pdev, FILE *prn_stream, @@@@ -203,11 +179,4 @@@@ lbp8_print_page(gx_device_printer *pdev, FILE *prn_stream) { return can_print_page(pdev, prn_stream, lbp8_init, sizeof(lbp8_init), lbp8_end, sizeof(lbp8_end)); -} - -/* 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)); } @ 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-aw,v 1.1 2000/10/04 13:17:08 jlam Exp $ @