From owner-freebsd-doc Tue Oct 10 11:40: 8 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E943037B66F for ; Tue, 10 Oct 2000 11:40:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA36270; Tue, 10 Oct 2000 11:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from tori.COM (L0004P12.dipool.highway.telekom.at [62.46.64.108]) by hub.freebsd.org (Postfix) with ESMTP id 9782137B502 for ; Tue, 10 Oct 2000 11:35:58 -0700 (PDT) Received: (from philipp@localhost) by tori.COM (8.11.0/8.9.3) id e9AIYX201314; Tue, 10 Oct 2000 20:34:33 +0200 (CEST) (envelope-from philipp) Message-Id: <200010101834.e9AIYX201314@tori.COM> Date: Tue, 10 Oct 2000 20:34:33 +0200 (CEST) From: Philipp Huber Reply-To: uebs@gmx.at To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/21896: Mini-HOWTO for stp driver Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21896 >Category: docs >Synopsis: Mini-HOWTO for stp driver >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 10 11:40:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Philipp Huber >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: using the stp printer driver with freebsd >Description: this is a mini howto on how to use the stp driver with the ghostscript6 port for freebsd. ---------------------------------------------------------------------------- stp printing with FreeBSD Mini-HOWTO ========================= by Philipp Huber (C) 2000 The Ghostcsript6 Port of FreeBSD does not include the stp driver, therefore it's necesseray to do some changes by hand :) First of all, the Ghostscript6 Ports has to be downloaded, extracted and patching must be done. cd /usr/ports/print/ghostscript6 make patch After this, download print-3.1.9 (or another version, i did it with this one) from http://download.sourceforge.net/gimp-print/print-3.1.9.tar.gz Place the file into the workdir of the ghostscript6 port and unzip it: cp print-3.1.9.tar.gz /usr/ports/print/ghostscript6/work/gs6.01 cd /usr/ports/print/ghostscript6/work/gs6.01 tar xzf print-3.1.9.tar.gz Follow the directions as described in "Ghost/README": First, copy all *.c and *.h files into the ghostscript src directory. cd print-3.1.9/Ghost cp *.c ../../src/ cp *.h ../../src/ Edit "contrib.mak" in the src directory of ghosts cript (where the *.c and *.h files where copied to in the previous step). Add the contents of the file "contrib.mak.addon" in the "print-3.1.9/Ghost" directory at the end of the "contrib.mak" file. The next step is to add "$(DD)stp.dev to the line "DEVICE_DEVS6=" in "unix-gcc.mak". After all these changes have been made, do a cd /usr/ports/print/ghostscript6 ; make install All should compile fine, and after that you have ghostscript6 with the stp driver compiled in. Run "gs -h" to be absolutely sure :) Don't forget to update or adjust your filters! See print-3.1.9/Ghost/README for further details and examples. All this should work with NetBSD and OpenBSD as well, but i didn't test it anyway. If you have any questions or comments, please mail me: uebs@gmx.at Good luck and have fun :) ----------------------------------------------------------------------------- >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message