delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/04/19/17:12:27

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-18) with nmh-1.3
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] gcode test failures
In-reply-to: <20130419205450.GA1996@visitor2.iram.es>
References: <20130419183132 DOT GE21981 AT malakian DOT lan> <20130419205450 DOT GA1996 AT visitor2 DOT iram DOT es>
Comments: In-reply-to Gabriel Paubert <paubert AT iram DOT es>
message dated "Fri, 19 Apr 2013 22:54:50 +0200."
Mime-Version: 1.0
Message-Id: <20130419211208.F27A183280E3@turkos.aspodata.se>
Date: Fri, 19 Apr 2013 23:12:08 +0200 (CEST)
From: karl AT aspodata DOT se (Karl Hammar)
X-Virus-Scanned: ClamAV using ClamSMTP
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

Gabriel Paubert:
...
> I just found another bug. I wanted to only print the fabrication drawing
> on a PostScripty printer. Of all the PostScript files produced, only the
> .fab.ps one does not have a showpage at the end (actually it has no trailer
> if I am not mistaken), so the printer did not produce anything.

True, and there is some weird thing with documentmedia.
You can work around it by doing something like (assuming you are using
pcb -x ps --multi-file ...):

  for i in *.ps
  do
      mv $i tt
      sed -e 's/^%%DocumentMedia:.*/%%DocumentMedia: A4 595.27559 841.88976 0 "" ""/' < tt > $i
      if ! grep -q ^showpage $i
      then
          echo showpage >> $i
      fi
  done
  rm -f tt

I'm too busy to look into it for the moment.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57


- Raw text -


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