On Tue, 2008-12-09 at 16:35 +0200, Duncan Drennan wrote:
> > Can you email me a .ps print of an empty title block, printed from
> > within gschem, and using the command-line technique.
> 
> I figured out what is happening here. I use a Makefile with the
> following to print multiple page schematics:
> 
> printps2: $(SHEETS)
>       rm -f ONEPAGE.ps
>       rm -f $(PROJNAME).ps
>       for S in $(SHEETS); \
>       do \
>       gschem -q -o ONEPAGE.ps -s "d:\Program
> files\gEDA\share\gEDA\scheme\print.scm" $$S; \
>       cat ONEPAGE.ps; done > $(PROJNAME).ps
>       rm -f ONEPAGE.ps
> 
> If I directly call the gschem ...etc. line from the command prompt,
> then everything works perfectly. If I call it via the Makefile the
> first line of the .ps file is this:
> 
> Your Guile installation doesn't provide the regex module.

Hmm, that message is send via gschem's stdout (IIRC). I suspect the way
you're wrapping the > redirect with the do \ ... done section means that
all stdout ends up in ONEPAGE.ps.

You might like to use a different method to concatenate the postscript
output, or redirect gschem's stdout to /dev/null, or some other
location.

What is your Posix environment on Win32.. Cygwin, msys?

Best wishes,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



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

Reply via email to