X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Envelope-From: paubert AT iram DOT es Date: Sun, 16 Sep 2012 17:28:15 +0200 From: Gabriel Paubert To: geda-user AT delorie DOT com Subject: Re: [geda-user] [PATCH] fix PostScript headers (was: gschem command line printing) Message-ID: <20120916152815.GA8955@visitor2.iram.es> References: <1310451080 DOT 87097 DOT YahooMailClassic AT web39503 DOT mail DOT mud DOT yahoo DOT com> <20120915105144 DOT GA19447 AT visitor2 DOT iram DOT es> <20120916014156 DOT 105129f3 AT akka> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120916014156.105129f3@akka> User-Agent: Mutt/1.5.20 (2009-06-14) X-SPF-Received: 2 X-Spamina-Bogosity: Unsure X-Spam-Score: -1.4 (-) X-Spam-Report: Content analysis details: (-1.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, Sep 16, 2012 at 01:41:56AM +0200, Kai-Martin Knaak wrote: > Gabriel Paubert schrieb am 15. September 2012: > > > On Wed, Jul 13, 2011 at 01:31:20AM +0200, Kai-Martin Knaak wrote: > > > I attached a shellscript for command line printing. It usess the > > > print.scm distributed by geda to output all sheets of a hierarchical > > > design. Output format is a single multi page PDF document. The > > > current date is appended to the file name. > > > > The mailing list has moved in the meantime, but I started using this > > script a few days ago. Thank you very much for the script, > > :-) > > > > Instead of psmerge (which forgot the orientation in the process), > > Yes, orientation of schematics in portrait format is a known weakness of > my version of the script. > > > >I tried to use psjoin and hit a bug. > > If I remember correctly, I also had issues with psjoin before I turned > to psmerge. It was probably the same problem that you fixed. At least psjoin conserves the orientation. The other potentially useful thing I added to your script is that I parse the file to find a page= attribute (but that's just my own convention) that I put in the title block. I use this to generate the scratch files as page# so that the final output is properly sorted. For now it will break if there are more than 9 pages or if two different files have the same page number of if there is no page number in a file. So it is too fragile to publish... Gabriel