Re: gEDA-user: gschem command line printing

2011-07-16 Thread CoBra
Sorry for the delay, I've been out of space for a week.
I would like to give an answer to those who replied to my message.

For Michael Theurl:

Thank you for your script. It's quite long, and it's actually just one
line in it that caught my interest:

gschem -p -o$i.ps -s/usr/share/gEDA/scheme/print.scm $i


You see, my question was rather technical: I had tried the same command
in my Linux and it did not work, because I took for granted the
way it's presented in the actual print.scm file:


;; 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"


Well, it looks like "print.scm" is wrong about that, isn't it?
There must be no space between "-o" and its option value, as well
as between "-s" and its option value.
Basically the FAQ contradicts the comment in "print.scm".

Nobody here could tell me this, but luckily for me I read your script
and I realized the gschem FAQ actually had the same syntax, only
I thought it was some typing mistake. But after reading your script
I ran the command with that syntax and to my surprise it worked.

So my case is basically solved, thanks to your script reminding me about the 
FAQ.

For Kai-Martin Knaak:

Are you working on a Spectrum compatible too?
What kind is that? Mine is a computer designed
and manufactured in the communist Romania and
built in private as a hobby by students in Bucharest
for a few years after 1990. Unfortunately the project
and the documentation got lost in time like tears in rain
and I've decided it's time to give this computer a place
in history by publishing all information about it in
an organized manner and more than that, by manufacturing
100 pieces of this computer.
 The name of the computer is CoBra (COmputer BRAsov).
So what is it that you are working on?



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


gEDA-user: gschem command line printing

2011-07-12 Thread CoBra
Hi everybody

I'm working on a pretty big project which is essentially a Spectrum compatible 
computer, which will be published as open source when I finish it. The project 
is being drawn using gschem and pcb. There are 15 different schematics, each on 
one A4 page.
Until recently I got away with printing from the menu in gschem.
But now, with 3 different revisions of the computer, which will be developed 
separately into more versions, the printing seems to take just too much time.

Eventually I tried the command line printing as described in the gschem FAQ, 
but the problem is that there is no output at all, no .PS files are generated 
whatsoever. The gschem window pops up for a very short milisecond and 
disappears (I'm using Linux and KDE) but there is no postscript output.

I have 9 different gEDA versions installed in my system (1.0.1, 1.0.2, 1.2.1, 
1.3.1, 1.4.0, 1.5.0, geda CD Suite (0.0.2), geda-cvs (2008-07-29) and a version 
installed with Linux (2005-03-13).

I used 1.5.0 for my project. When I saw that command line printing is not 
working in 1.5.0 I tried with 1.4.0 but it still did nothing.

my print.scm file is in /opt/geda-1.5.0/share/gEDA/scheme

Among other lines, it contains the following:

; filename is specified on the command line
(gschem-postscript "dummyfilename")

As far as I've seen, in all the other geda versions I have, these two lines are 
identical.
But googling for a solution I came across people saying that supposedly there 
should be another file, "gschem-print.scm", which is missing but possibly 
replaceable by "print.scm", and that the 2 lines above should actually be like 
this:

; filename is specified on the command line
(gschem-print "dummyfilename")


Can anyone point me to a solution here, am I missing an .scm file, am I having 
the wrong content in "print.scm" or what seems to be the problem?

>From gschem I can print either color or b/w with no problem at all, I use 
>customized gschemrc files in each project folder and it's great, the only 
>annoying thing is the command line printing not working.

Thank you all in advance

Chris


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user