[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gschem command line printing



Hello Chris,

That's sounds great. 
Maybe i can help you, i wrote a script to export pdfs and handbooks for geda/pcb projects. I Attach you the script.
I use Fedora Core 14 with the standart geda-gaf rpms.

And it works perfectly.

you need ghostscript  a project file and the createPCB.sh script

example project:
-
schematics schem1.sch schem2.sch
output-name masterboard
elements-dir ~/gaf/pcb-elements/using
-

change the path in the createPCB.sh for the print.scm to your needs.

Attachment: createPCB.sh
Description: Binary data


run the script ./createPCB.sh pdf
and you get an pdf with all outputs. that you can esaylie share or print.

hopefully i could help you, just write me if you have any questions.

best regards

Michael


On Jul 12, 2011, at 8:11 AM, CoBra wrote:

> 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@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
> 

--
[] this Email is made of 100% Recyclable elektrons 
[] url  : www.smog.at
[] mailto : michael.theurl@xxxxxxx
[] key    : www.smog.at/key




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