X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <51725F59.1080607@xs4all.nl> Date: Sat, 20 Apr 2013 11:26:49 +0200 From: Bert Timmerman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.19) Gecko/20110429 Fedora/2.0.14-1.fc13 SeaMonkey/2.0.14 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] gcode test failures References: <20130419183132 DOT GE21981 AT malakian DOT lan> <20130419205450 DOT GA1996 AT visitor2 DOT iram DOT es> <20130419211208 DOT F27A183280E3 AT turkos DOT aspodata DOT se> <51725C2D DOT 2050803 AT xs4all DOT nl> In-Reply-To: <51725C2D.2050803@xs4all.nl> Content-Type: text/plain; charset=UTF-8; format=flowed X-Virus-Scanned: by XS4ALL Virus Scanner X-MIME-Autoconverted: from 8bit to quoted-printable by smtp-vbr4.xs4all.nl id r3K9QoA0078826 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r3K9Qwh4004087 Reply-To: geda-user AT delorie DOT com Bert Timmerman wrote: > Karl Hammar wrote: >> 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 >> >> >> > Hi, > > I just looked into this and confirm that the *.fab.ps file is > incomplete and truncated. > > Looks like the trailing end of the file isn't flushed properly. > > Will make a bug report and could try to find some spare cycles to look > into the cause. > > Kind regards, Bert Timmerman > > > https://bugs.launchpad.net/pcb/+bug/1170912