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

Re: gEDA-user: gschem command line printing



here is my print.scm

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

;; Uncomment these to override defaults when printing from the command line
;(output-orientation "portrait")
;(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-postscript "dummyfilename")

(gschem-exit)
-


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