[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: batch printing



On Mon, Sep 03, 2007 at 09:56:23AM +0200, Duncan Drennan wrote:
> 
> Is it possible to do batch printing?

Here's a snippet of a makefile I use:

SHEETS != awk '/^schematics / { $$1=""; print;}' project

schem.pdf: schem.ps
	ps2pdf $>

schem.ps: $(SHEETS)
	rm -f ONEPAGE.ps
	for S in $(SHEETS) ; \
	do \
	gschem -q -p -oONEPAGE.ps -s/usr/local/geda/share/gEDA/scheme/print.scm
$$S ; \
	cat ONEPAGE.ps ;\
	done > schem.ps
	rm -f ONEPAGE.ps

-- 
Ben Jackson AD7GD
<ben@xxxxxxx>
http://www.ben.com/


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user