[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: automated converting .gsch to .png
%.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 mysch.ps -s /path/to/this/file/print.scm mysch.sch
;;
;; The schematic in "mysch.sch" will be printed to the file "mysch.ps"
; light background
(load "/envy/dj/geda/share/gEDA/gschem-lightbg")
(output-orientation "landscape")
(output-type "extents no margins")
(output-color "enabled")
(output-text "ps")
; You need call this after you call any rc file function
(gschem-use-rc-values)
; filename is specified on the command line
(gschem-postscript "dummyfilename")
(gschem-exit)
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user