[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: Printing schematics
The eps->pdf path is to include the eps in a OO document.
ps->pdf is a scriptable path. I have a "psmerge" script that merges
schematic*.ps into a single *.ps if you need it.
%.pdf: %.ps
ps2pdf $< $@
%.ps : %.sch
gschem -p -o $@ -s ./print.scm $<
-------------------- 8< --------------------
;; $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)
-------------------- 8< --------------------
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user