From philipp@tori.COM  Tue Oct 10 11:36:01 2000
Return-Path: <philipp@tori.COM>
Received: from tori.COM (L0004P12.dipool.highway.telekom.at [62.46.64.108])
	by hub.freebsd.org (Postfix) with ESMTP id 9782137B502
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <uebs@gmx.at>
Sender: philipp@tori.COM
Reply-To: uebs@gmx.at
To: FreeBSD-gnats-submit@freebsd.org
Subject: Mini-HOWTO for stp driver
X-Send-Pr-Version: 3.2

>Number:         21896
>Category:       docs
>Synopsis:       Mini-HOWTO for stp driver
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 10 11:40:01 PDT 2000
>Closed-Date:    Sun Sep 2 13:57:09 PDT 2001
>Last-Modified:  Sun Sep 02 13:58:41 PDT 2001
>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 <uebs@gmx.at> (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:
State-Changed-From-To: open->feedback 
State-Changed-By: murray 
State-Changed-When: Sun Sep 2 05:08:22 PDT 2001 
State-Changed-Why:  
I'd like to see what the originator thinks about adding a Makefile 
knob to the ghostscript port for this. 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=21896 

From: Murray Stokely <murray.stokely@windriver.com>
To: freebsd-gnats-submit@FreeBSD.org, uebs@gmx.at
Cc:  
Subject: Re: docs/21896: Mini-HOWTO for stp driver
Date: Sun, 2 Sep 2001 05:13:11 -0700

   Is there any way that we can add a knob to the Makefile for the
 ghostscript port to include this driver?  Your howto is nice, but it
 seems like the procedure described should be automated with our ports
 infrastructure.  Are you still using ghostscript/stp on FreeBSD?
 
        Thanks,
 	- Murray
State-Changed-From-To: feedback->closed 
State-Changed-By: murray 
State-Changed-When: Sun Sep 2 13:57:09 PDT 2001 
State-Changed-Why:  
The ghostscript and gimp-print ports should (and do) hide the 
complexity from the user.  If you would like to add a small paragraph 
to our printing chapter in the handbook, about how to install these 
ports and what types of printers they benefit, it would be much 
appreciated.  Thanks! 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=21896 
>Unformatted:
