Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2000 20:34:33 +0200 (CEST)
From:      Philipp Huber <uebs@gmx.at>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/21896: Mini-HOWTO for stp driver
Message-ID:  <200010101834.e9AIYX201314@tori.COM>

next in thread | raw e-mail | index | archive | help

>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 <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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010101834.e9AIYX201314>