| 252 |
jelle |
1 |
;; This file may be used to print gschem schematics from the
|
|
|
2 |
;; command line. Typical usage is:
|
|
|
3 |
;;
|
|
|
4 |
;; gschem -p -o mysch.ps -s /path/to/this/file/print.scm mysch.sch
|
|
|
5 |
;;
|
|
|
6 |
;; The schematic in "mysch.sch" will be printed to the file "mysch.ps"
|
|
|
7 |
;;
|
| 253 |
jelle |
8 |
;; documentation: less /etc/gEDA/system-gschemrc
|
| 252 |
jelle |
9 |
;; documentation: less /user/share/gEDA/scheme/print.scm
|
|
|
10 |
;;
|
|
|
11 |
|
|
|
12 |
(log-window "later")
|
|
|
13 |
|
|
|
14 |
(output-type "limits")
|
|
|
15 |
(paper-size 16.54 11.69)
|
|
|
16 |
(output-text "ps")
|
|
|
17 |
(output-type "extents")
|
|
|
18 |
(output-orientation "landscape")
|
|
|
19 |
(output-color "enabled")
|
|
|
20 |
|
|
|
21 |
; You need call this after you call any rc file function
|
|
|
22 |
(gschem-use-rc-values)
|
|
|
23 |
|
|
|
24 |
; filename is specified on the command line
|
|
|
25 |
(gschem-postscript "dummyfilename")
|
|
|
26 |
|
|
|
27 |
(gschem-exit)
|