delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2015/04/10/12:57:48

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:date:message-id:subject:from:to:content-type;
bh=nJ7Wp5ANBa996ThX8/bjwwN2M2rpUzPzAwx9qyyzTVs=;
b=sJVwVO9IqYbfmWZRXn3ti0J1yIufkFJoj03S31wTNatQHLBxz6j8COatPtV5j2DL0C
81IGCSmEc6y3DRAEItYKwmc2VeiB2wed0sKQv+FgCZ2DQDnKRity59TPDWgX5L3jbPBY
P6iHb6GL9pTlWK9OE8/cemoInK6lNW4RW7Ur0aTiD5OUFSBR/wP+8LHUFaWibtz6GKBq
RlftOu6LoZUkM851T6SK/buz6+/Ht+MCKgzqOQ9LlLkE6hnWaUe3mSCc70N5zprx74tr
qPaCDGtRXRL+JPqhvYWI7tm///53ooL+sTWJsgzFRV7cLkKZ71bPEDeAn7cxXJoNQ6CL
uuUg==
MIME-Version: 1.0
X-Received: by 10.50.61.239 with SMTP id t15mr25127423igr.7.1428685035792;
Fri, 10 Apr 2015 09:57:15 -0700 (PDT)
Date: Fri, 10 Apr 2015 17:57:15 +0100
Message-ID: <CAHsNvaCQ2poGuRxNEHghUPo9WDkXcXAdueXmDNAP7U-agqJ5ag@mail.gmail.com>
Subject: [geda-help] Print to file (Postscript) problem with gschem 1.8.2 (and a fix)!
From: Graham S <graham DOT seale AT gmail DOT com>
To: geda-help AT delorie DOT com
Reply-To: geda-help AT delorie DOT com

--047d7bb03ba00dee9e051361a849
Content-Type: text/plain; charset=UTF-8

For the present - this is only to the mailing list, because someone may
have already reported this.

For the current stable version as in Linux Mint 17 Qiana (Trusty Tahr)
which installs gEDA version 1.8.2 ..
Attempting to print to a file <filename.ps> fails, bringing up the " Error
printing to file.."   pop-up message.

The status log window gains the last 3 lines which are..
"Unable to open the prolog file `/usr/share/gEDA/prolog.ps' for reading in
f_print_header()
Giving up on printing
Cannot print current schematic to
[/home/graham/projects/Andrews_HF_Linear/HF-Linear-Schematics/HFLinear-PSU.ps]"
__________

Investigating:
The earlier gEDA Version 1.6.2 has no problem in making .ps files, so we
took a look at why now there was no /usr/share/gEDA/prolog.ps

It seems that between versions, an attempt to make prolog.ps available for
users to maybe add their own tweaks also removed the ability of gschem to
generate a .ps file.

gschem needs the presence of the (missing) prolog.ps file, which contains
all the functions needed to render the postscript content. All this code
would be placed between the %%BeginProlog and %%EndProlog markers.
__________

The fix
As root, we just invented a prolog.ps, put in the right place (
/usr/share/gEDA/ )
Then, copied the content of prolog.ps from the earlier version 1.6.2 into
it.
At which point, the "Print --> To File feature of gschem now works again.

Admittedly,  the "fix" was a bit desperate, and may even be called "quick
and dirty", and there may be folk in this community who may have newer
knowledge about this, but it worked for us.

My regards
 to all

--047d7bb03ba00dee9e051361a849
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div>For the present - this is only to the =
mailing list, because someone may have already reported this.<br><br>For th=
e current stable version as in Linux Mint 17 Qiana (Trusty Tahr) which inst=
alls gEDA version 1.8.2 ..<br>Attempting to print to a file &lt;<a href=3D"=
http://filename.ps">filename.ps</a>&gt; fails, bringing up the &quot; Error=
 printing to file..&quot; =C2=A0 pop-up message.<br><br></div>The status lo=
g window gains the last 3 lines which are..<br>&quot;Unable to open the pro=
log file `/usr/share/gEDA/<a href=3D"http://prolog.ps">prolog.ps</a>&#39; f=
or reading in f_print_header()<br>Giving up on printing<br>Cannot print cur=
rent schematic to [/home/graham/projects/Andrews_HF_Linear/HF-Linear-Schema=
tics/HFLinear-PSU.ps]&quot;<br>__________<br><br></div><div>Investigating:<=
br></div>The earlier gEDA Version 1.6.2 has no problem in making .ps files,=
 so we took a look at why now there was no /usr/share/gEDA/<a href=3D"http:=
//prolog.ps">prolog.ps</a><br><br></div>It seems that between versions, an =
attempt to make <a href=3D"http://prolog.ps">prolog.ps</a> available for us=
ers to maybe add their own tweaks also removed the ability of gschem to gen=
erate a .ps file. <br><br></div>gschem needs the presence of the (missing) =
<a href=3D"http://prolog.ps">prolog.ps</a> file, which contains all the fun=
ctions needed to render the postscript content. All this code would be plac=
ed between the %%BeginProlog and %%EndProlog markers.<br>__________<br><br>=
<div>The fix<br></div><div>As root, we just invented a <a href=3D"http://pr=
olog.ps">prolog.ps</a>, put in the right place ( /usr/share/gEDA/ )<br></di=
v><div>Then, copied the content of <a href=3D"http://prolog.ps">prolog.ps</=
a> from the earlier version 1.6.2 into it.<br></div><div>At which point, th=
e &quot;Print --&gt; To File feature of gschem now works again.<br><br></di=
v><div>Admittedly,=C2=A0 the &quot;fix&quot; was a bit desperate, and may e=
ven be called &quot;quick and dirty&quot;, and there may be folk in this co=
mmunity who may have newer knowledge about this, but it worked for us.<br><=
br></div><div>My regards<br></div><div>=C2=A0to all<br></div></div>

--047d7bb03ba00dee9e051361a849--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019