[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: Re: printing to a ps or eps file from gschem
On 9/11/05, H.S. <hs.samix@xxxxxxxxx> wrote:
> Apparently, _Charles Lepple_, on 11/09/05 15:40,typed:
> > Makefile rules:
> >
> > %.ps : %.sch diagrams/print.scm
> > cd diagrams; gschem -o $(notdir $@) -s print.scm $(notdir $<)
> >
>
> I seemt to be missing something here. What is "print.scm"? From gschem's
> man page, it is supposed to be a guile script. Where do I get this from?
I thought it was Google-accessible, but it appears that it isn't.
This was for an older version of gschem - there may be a better way to
print from the command line now. In either case, you can always do it
from the menu if you want.
Here it is:
(output-orientation "landscape")
(output-type "limits")
; (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-print "dummyfilename")
(gschem-exit)
--
- Charles Lepple