On Wed, 9 Jul 2008 19:34:57 -0400
DJ Delorie [EMAIL PROTECTED] wrote:
./ps2png -s 1024 768 -o $@ $
DJ,
Could we see your ps2png script?
--
Levente Kovacs
http://logonex.eu
___
geda-user mailing list
geda-user@moria.seul.org
Could we see your ps2png script?
#!/usr/bin/perl
# -*- perl -*-
$res = 100;
$out1 = undef;
while ($ARGV[0] =~ /^-/) {
$opt = shift;
if ($opt eq -r) {
$res = shift;
} elsif ($opt eq -s) {
$xsize = shift;
$ysize = shift;
} elsif ($opt eq -o) {
Hi, I want to write a makefile which takes all my gsch files and generates png
files of them. I know how to manually do it by clicking in gschem, but I want
to do it in a script. Anyone know how?
Thanks,
Sean
___
geda-user mailing list
%.ps : %.sch print.scm
gschem -p -o $@ -s ./print.scm $
%.png : %.ps
./ps2png -s 1024 768 -o $@ $
;; $Id: print.scm,v 1.3 2006/08/30 11:06:16 ahvezda Exp $
;;
;; This file may be used to print gschem schematics from the
;; command line. Typical usage is:
;;
;; gschem -p -o
4 matches
Mail list logo