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: Subject: [geda-help] Print to file (Postscript) problem with gschem 1.8.2 (and a fix)! From: Graham S To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary=047d7bb03ba00dee9e051361a849 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 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
For the present - this is only to the = mailing list, because someone may have already reported this.

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

The status lo= g window gains the last 3 lines which are..
"Unable to open the pro= log file `/usr/share/gEDA/prolog.ps' f= or reading in f_print_header()
Giving up on printing
Cannot print cur= rent schematic to [/home/graham/projects/Andrews_HF_Linear/HF-Linear-Schema= tics/HFLinear-PSU.ps]"
__________

Investigating:<= br>
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 us= ers to maybe add their own tweaks also removed the ability of gschem to gen= erate a .ps file.

gschem needs the presence of the (missing) = prolog.ps 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.
__________

=
The fix
As root, we just invented a prolog.ps, put in the right place ( /usr/share/gEDA/ )
--047d7bb03ba00dee9e051361a849--