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=fastmail.com; h= reply-to:subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type; s=fm1; bh=QHI/gkx3DFsBXMkQSAwfMwITHn6 6EM4xJTojQ+pJ39g=; b=IWAMffJP3N8vWjqHH2KNhq8efu3HLMRiBHowQJ6kE4y jfNMbDITSjlgDk4hSlAk2QhQxIx+5qC3pUZNAT/cQjYQ7FLZb3g/bfGeTzJ6mGT+ IRsGwOaX8HovEJRtttPGgkulPVP42Q7wrDLM9XWkOr/zo0sNKaiVOsxZOu/hy4zw CjQ+wLVDZx7DhubYnJok3LeJoQLt4Y0n+YVsmcA3srztqql/JZCl+AxspHmTakdo s6O+TQTCzAklNsl3L46NnY1rhGljs4/lpx+LY4iI7bEuuj181aTPA6w/JP+D7/Ya FyYbmy2MOL7sk4QDFeaxLZbCgS3HeIxoIMGy7FSf82A== X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:reply-to:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=QHI/gkx3DFsBXMkQSAwfMwITHn66EM4xJTojQ+pJ39g=; b=j0zK7LYx kXCsEJthBdYALv9F4Ig7iaKyz16wFa1o6hdHCpJF4eCeLRMoiG33AVMRRjHGPUqM l4aL6xkue+keSai7GUwbLGPSuOQZwBoOgC6gCxqPWPpzTodplxF1yAdm0MNc/Huv FkWZB9dak42pNJznxqH2OTs7fcU4hTdcikS+bjbQXvh68NrWLtPo7oIPhPan7ZlT ShD9HxYUBJpzrJ0qSIPxPYEHetzHlwOfsmOD0hs6k+Y1kpfn3nFIJvXRU7qV3JT3 L5aKuVMNF4eZwddMdjmlfSmiMCZGaeGCdMZkTvr+rBaFy0dClf4lp3zPzR8OIuuZ lctUBOh/vZuEkw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedruddvuddgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurheprhfuvfhfhffkffgfgggjtgesrg dtreertdefjeenucfhrhhomhepifhirhhvihhnucfjvghrrhcuoehghhgvrhhrlhesfhgr shhtmhgrihhlrdgtohhmqeenucffohhmrghinhepfihinhhgqdifhhdqudiguddrphhsne cukfhppedutdekrddvudehrdduleehrddvtdehnecurfgrrhgrmhepmhgrihhlfhhrohhm pehghhgvrhhrlhesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Subject: Re: [geda-user] PCB jpg to silkscreen To: geda-user AT delorie DOT com References: From: "Girvin Herr (gherrl AT fastmail DOT com) [via geda-user AT delorie DOT com]" Message-ID: <8f056dbd-7b36-234f-303c-bbec507251be@fastmail.com> Date: Fri, 8 Nov 2019 10:12:39 -0800 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------D6153C64058E867095CB05A5" Content-Language: en-US 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 This is a multi-part message in MIME format. --------------D6153C64058E867095CB05A5 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 > --------------D6153C64058E867095CB05A5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

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.


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

--------------D6153C64058E867095CB05A5--