X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=majenko.co.uk; s=key1; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=4S8QUJIYiGnsDupEOQa7V/GAHMn07pqUvbFj2JrHx4o=; b=aoL6LdXF1zdERIEtsLBK4PJFRJe4NHxrTtt54hEOPGa/ZehcoXXLPUvI2BpKUBP3No Gbuu34LU6TSUL4La28JSDz39MGSpoP7SxhYdali5u3ZuQwPg5ZEoyUdTyxGjvp2hqc3o RETDWTbRYC2aQcb93HiDw7gc3iWfKYrA7MUre/LFXu6VmrOViRymRMNAqequvpGxLJ06 l+yV72bFf8k+aQc8B5DIphPbAIMg1AkSbgALGuzgD46KsMFnhLLK705XNgJB9LuZ7N8Q 5yB67aRRB201MVud1Y5vjkW+iONXgtiX0coLBvylqNZRMQowPAmukMP9PA63J+jnGjxJ MemQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=4S8QUJIYiGnsDupEOQa7V/GAHMn07pqUvbFj2JrHx4o=; b=sSJerZxKkmRtiYRKwV7F8cpDE/6+VhRwGGCYRMdSlZAlV28I72D9Z0DB9DVq3lrTq6 2h6pyZkNZQed8jYM1MtpS+J3utdZSwjpES49X1hjr2/6VNEddUN0yB+JCL32pn0nenYs 8CcaBMVh3nPb9sribr4PvhNkHWlfTWqRIzazqv3VCFnNWFXSjdPxmNPn01ZebNmdd+58 csAGFPWwwbA15mrQBgsJ3GT1pcDdyNlOMudyskuVq4rD9Uqfr5rIYNyZsrZ0yaNi81zm HTmb0l+zJhFJeoXhZHPr0MGykNVsePXLUXV5fzV7ATRMm5JFxACc7zlk5VakPiJbZa0x dyEg== X-Gm-Message-State: APjAAAVmFg/eqxVWfZNFM4oGeTCckEAvcxWNcv6FHMND11MTuHPU8inx ffxP7HoebzF412Ep8bKPrbA/eqrYbgl15gDw3jifPr+Q X-Google-Smtp-Source: APXvYqzciB8sypYk4VdmduQhVNcHSik89i8yHLzc2UMFj/345qt33E5cFLUuGBLMKeFXuFiykvMvsafD8ec04bDPRUE= X-Received: by 2002:a5d:526f:: with SMTP id l15mr6865690wrc.169.1573239928091; Fri, 08 Nov 2019 11:05:28 -0800 (PST) MIME-Version: 1.0 References: <8f056dbd-7b36-234f-303c-bbec507251be AT fastmail DOT com> In-Reply-To: <8f056dbd-7b36-234f-303c-bbec507251be@fastmail.com> From: "Majenko Technologies (matt AT majenko DOT co DOT uk) [via geda-user AT delorie DOT com]" Date: Fri, 8 Nov 2019 19:05:17 +0000 Message-ID: Subject: Re: [geda-user] PCB jpg to silkscreen To: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" Content-Type: multipart/alternative; boundary="0000000000000f976c0596da7742" Reply-To: geda-user AT delorie DOT com --0000000000000f976c0596da7742 Content-Type: text/plain; charset="UTF-8" 5.3?! How do you survive? On Fri, Nov 8, 2019 at 7:00 PM Girvin Herr (gherrl AT fastmail DOT com) [via geda-user AT delorie DOT com] wrote: > Beware! pstoedit 3.74 needs a recent gcc version! I have gcc 5.3 and > despite the pstoedit 3.74 readme.txt stating that it will compile with gcc > 3.0 or above, it had fatal compile errors with gcc 5.3. I contacted the > pstoedit author and he suggested updating my gcc. pstoedit 3.70 compiles > fine with gcc 5.3. > > Girvin Herr > > > On 11/8/19 6:12 AM, Majenko Technologies (matt AT majenko DOT co DOT uk) [via > geda-user AT delorie DOT com] wrote: > > The command line I use is: > > pstoedit -q -f "pcb" -ssp file.eps file.pcb > > Make sure it's pstoedit 3.74 which I download from sourceforge and compile > from source. 3.73 which Ubuntu has in its repos is broken. > > > On Fri, Nov 8, 2019 at 1:48 PM Rob Butts (r DOT butts DOT geda AT gmail DOT com) [via > geda-user AT delorie DOT com] wrote: > >> Here's the output when I tried DJ's command: >> >> C:\Program Files\pstoedit>pstoedit -dt -flat 0.1 -pta -f pcb >> "C:\Users\Rob\Documents\Projects\Abate and Empower\Logos\silkscreens\ >> wing-wh-1x1.ps" > "C:\Users\Rob\Documents\Projects\Abate and >> Empower\Logos\silkscreens\wing-wh-1x1.pcb" >> pstoedit: version 3.71 / DLL interface 108 (built: Apr 1 2018 - release >> build - MS VC++ 1912 - 64-bit) : Copyright (C) 1993 - 2018 Wolfgang Glunz >> >> *** WARNING - you have selected SAFER, indicating you want Ghostscript >> to execute in a safer environment, but at the same time >> have selected DELAYBIND. Unless you use this option with >> care (and specifically, remember to call .bindnow) it is >> possible that malicious code may be able to evade the >> limited security offered by the SAFER option. >> >> *** WARNING - you have selected SAFER, indicating you want Ghostscript >> to execute in a safer environment, but at the same time >> have selected WRITESYSTEMDICT. Unless you use this option >> with >> care and specifically, remember to execute code like: >> "systemdict readonly pop" >> it is possible that malicious code may be able to evade the >> limited security offered by the SAFER option. >> Error: /undefined in .makeoperator >> Operand stack: >> false print print --nostringval-- >> Execution stack: >> %interp_exit .runexec2 --nostringval-- --nostringval-- >> --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- >> --nostringval-- false 1 %stopped_push 1989 1 3 %oparray_pop >> 1988 1 3 %oparray_pop 1976 1 3 %oparray_pop 1833 1 3 >> %oparray_pop --nostringval-- %errorexec_pop .runexec2 >> --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push >> --nostringval-- --nostringval-- --nostringval-- >> Dictionary stack: >> --dict:1173/1684(G)-- --dict:0/20(G)-- --dict:135/200(L)-- >> --dict:1173/1684(G)-- >> Current allocation mode is global >> Current file position is 8090 >> GPL Ghostscript 9.50: Unrecoverable error, exit code 1 >> PostScript/PDF Interpreter finished. Return status 1 executed command : >> C:\Program Files\gs\gs9.50\bin\gsdll64.dll -q -dDELAYBIND -dWRITESYSTEMDICT >> -dNODISPLAY -dNOEPS C:/Users/Rob/AppData/Local/Temp/psin2 >> The interpreter seems to have failed, cannot proceed ! >> >> C:\Program Files\pstoedit> >> > > > -- > *Matt Jenkins* > Majenko Technologies > > -- *Matt Jenkins* Majenko Technologies --0000000000000f976c0596da7742 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
5.3?! How do you survive?

On Fri, Nov 8, 2019 at 7:00 PM Gi= rvin Herr (gherrl AT fastmail DOT com) = [via geda-user AT delorie DOT com] &l= t;geda-user AT delorie DOT com> wr= ote:
=20 =20 =20

Beware! pstoedit 3.74 needs a recent gcc version! I have gcc 5.3 and despite the pstoedit 3.74 readme.txt stating that it will compile with gcc 3.0 or above, it had fatal compile errors with gcc 5.3. I contacted the pstoedit author and he suggested updating my gcc. pstoedit 3.70 compiles fine with gcc 5.3.

Girvin Herr


On 11/8/19 6:12 AM, Majenko Technologies (matt AT majenko DOT co DOT uk) [via geda-user AT delorie DOT com] wrote:
=20
The command=C2=A0line I use is:

pstoedit -q -f "pcb" -ssp file.eps file.pcb

Make sure it's pstoedit 3.74 which I download from sourceforge and compile from source. 3.73 which Ubuntu has in its repos is broken.


Here's the output when I tried DJ's co= mmand:

C:\Program Files\pstoedit>pstoedit -dt -flat 0.1 -pta -f pcb "C:\Users\Rob\Documents\Projects\Abate a= nd Empower\Logos\silkscreens\wing-wh-1x1.ps" > "C:\Users\Rob\Documents\Projects\Abate and Empower\Logos\silkscreens\wing-wh-1x1.pcb"
pstoedit: version 3.71 / DLL interface 108 (built: Apr=C2=A0 1 2018 - release build - MS VC++ 1912 - 64-bit)= : Copyright (C) 1993 - 2018 Wolfgang Glunz

=C2=A0*** WARNING - you have selected SAFER, indicatin= g you want Ghostscript
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0to execute in a safer environment, but at the same time
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0have selected DELAYBIND. Unless you use this option with
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0care (and specifically, remember to call .bindnow) it is
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0possible that malicious code may be able to evade the
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0limited security offered by the SAFER option.

=C2=A0*** WARNING - you have selected SAFER, indicatin= g you want Ghostscript
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0to execute in a safer environment, but at the same time
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0have selected WRITESYSTEMDICT. Unless you use this option with
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0care and specifically, remember to execute code like:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 "systemdict readonly pop"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0it is possible that malicious code may be able to evade the
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0limited security offered by the SAFER option.
Error: /undefined in .makeoperator
Operand stack:
=C2=A0 =C2=A0false=C2=A0 =C2=A0print=C2=A0 =C2=A0print= =C2=A0 =C2=A0--nostringval--
Execution stack:
=C2=A0 =C2=A0%interp_exit=C2=A0 =C2=A0.runexec2=C2=A0 = =C2=A0--nostringval--=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0--nostringval--=C2=A0 = =C2=A02=C2=A0 =C2=A0%stopped_push=C2=A0 =C2=A0--nostringval--=C2=A0 =C2= =A0--nostringval--=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0false=C2=A0 =C2=A01=C2= =A0 =C2=A0%stopped_push=C2=A0 =C2=A01989=C2=A0 =C2=A01=C2=A0 =C2=A03=C2=A0 =C2=A0%oparray_pop=C2=A0 =C2= =A01988=C2=A0 =C2=A01=C2=A0 =C2=A03=C2=A0 =C2=A0%oparray_pop=C2=A0 =C2=A01976=C2=A0 =C2=A01=C2=A0 =C2=A03=C2=A0 =C2=A0%oparr= ay_pop=C2=A0 =C2=A01833=C2=A0 =C2=A01=C2=A0 =C2=A03=C2=A0 =C2=A0%oparray_pop=C2=A0 =C2=A0--nostringval--=C2=A0 =C2= =A0%errorexec_pop=C2=A0 =C2=A0.runexec2=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0-= -nostringval--=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A02=C2=A0 =C2=A0%stopped_= push=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0--nostringval--=C2=A0 = =C2=A0--nostringval--
Dictionary stack:
=C2=A0 =C2=A0--dict:1173/1684(G)--=C2=A0 =C2=A0--dict:= 0/20(G)--=C2=A0 =C2=A0--dict:135/200(L)--=C2=A0 =C2=A0--dict:1173/1684(G)= --
Current allocation mode is global
Current file position is 8090
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
PostScript/PDF Interpreter finished. Return status 1 executed command : C:\Program Files\gs\gs9.50\bin\gsdll64.dll -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS C:/Users/Rob/AppData/Local/Temp/psin2
The interpreter seems to have failed, cannot proceed !

C:\Program Files\pstoedit>


--
Matt Jenkins
Majenko Technologies



--
Matt Jenkins
Majenko= Technologies

--0000000000000f976c0596da7742--