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=UnxU1iGzasDBe9o+ZGgfOCSFKzsp6kO7ztTDy6DAwmY=; b=YmB7YPoOYYXfk60zf2eltoTOX+EDsJDavHQ/bi5emIxfigPaitBER/0lmcXIZGBo15 6cMIpuidvJMbRgux4550VGrXsbKoxz1z/XR5kDbTHEyHJwI5s+kAVFiExrflNLWks1J6 /u6nsXPbQenSd8JKVKW1owRd00Vno1QMRBxsH/TequwIyCS0ANO27Xe0RUadcD0Hdp/R itGg3rRfwXkbfQCTKIACmFNZ1P9nYdayUGq0MgPsG60M24n/oVse3heruGrQmluEqVKh RnHfG7i1RN6qoE1XcpWdtL4qipZBPnGaA4GxikgZluhcsWNZKesJanXV3TWRvMH+sZdq Mh/A== 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=UnxU1iGzasDBe9o+ZGgfOCSFKzsp6kO7ztTDy6DAwmY=; b=iodWtS3cDbtBDK1fCsVyaFc79NLiW1tsCGZaxEsik4tQehj7yRvvlovA/7Zu+/ARMc QVb5lcxPvgVhyi7KKeJDH47l6CXz3XGaW1RxXS25wCG6onmZjHTUqnzBwyZM2filCEBp Oe4ndFPy/qrZpUD82tPGlPpjxagNz3QH6S7qWCnNEKRAlrlU0ZoHpzvrpmIr9VqXZxnM 7X0ETnDBSZwi/SKJdJ5tGkjUaEnHtYFB1qxn921SL2SCbb411UZWL+LImaMCFfAZoGys s7+lCsE8MMq0WCTXKBK9lHIkEJwsudqgAaeY5cfNbwttuDo5KePuCoi7SB949Ym+ITHf ORRQ== X-Gm-Message-State: APjAAAWe0UteNZA3dET0SskCkSLStS45bFJPQkSUHNEJtj2Erk8oV2UE GpGkhy1ky1tKDBw20IYLELh9l4XwalH4ztJA1kUuVnQS X-Google-Smtp-Source: APXvYqxoH+b/EvDEOBEZ9MaTE9KmBO48Qd5hGPHhIbKCpCsxc1uFjIvrYHZzHOmESVP4+GgeAH5k80CZpYdlTv6CAio= X-Received: by 2002:a1c:e40b:: with SMTP id b11mr8405407wmh.152.1573222358521; Fri, 08 Nov 2019 06:12:38 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Majenko Technologies (matt AT majenko DOT co DOT uk) [via geda-user AT delorie DOT com]" Date: Fri, 8 Nov 2019 14:12:27 +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="000000000000d53c0f0596d65f51" Reply-To: geda-user AT delorie DOT com --000000000000d53c0f0596d65f51 Content-Type: text/plain; charset="UTF-8" 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 --000000000000d53c0f0596d65f51 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The command=C2=A0line I use is:

pstoedi= t -q -f "pcb" -ssp file.eps file.pcb

Mak= e 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.

<= /div>

Here'= ;s the output when I tried DJ's command:

C:\Pro= gram Files\pstoedit>pstoedit -dt -flat 0.1 -pta -f pcb "C:\Users\Ro= b\Documents\Projects\Abate and Empower\Logos\silkscreens\wing-wh-1x1.ps" > "C:\Us= ers\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 hav= e selected SAFER, indicating 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 speci= fically, 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, indicating you want Ghostscrip= t
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0to execu= te 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: /u= ndefined in .makeoperator
Operand stack:
=C2=A0 =C2=A0f= alse=C2=A0 =C2=A0print=C2=A0 =C2=A0print=C2=A0 =C2=A0--nostringval--
<= div>Execution stack:
=C2=A0 =C2=A0%interp_exit=C2=A0 =C2=A0.runex= ec2=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0--n= ostringval--=C2=A0 =C2=A02=C2=A0 =C2=A0%stopped_push=C2=A0 =C2=A0--nostring= val--=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0f= alse=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%oparray_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%erro= rexec_pop=C2=A0 =C2=A0.runexec2=C2=A0 =C2=A0--nostringval--=C2=A0 =C2=A0--n= ostringval--=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:11= 73/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 glo= bal
Current file position is 8090
GPL Ghostscript 9.50:= Unrecoverable error, exit code 1
PostScript/PDF Interpreter fini= shed. Return status 1 executed command : C:\Program Files\gs\gs9.50\bin\gsd= ll64.dll -q -dDELAYBIND -dWRITESYSTEMDICT -dNODISPLAY -dNOEPS C:/Users/Rob/= AppData/Local/Temp/psin2
The interpreter seems to have failed, ca= nnot proceed !

C:\Program Files\pstoedit>
=


--
Matt Jenkins
Majenko= Technologies

--000000000000d53c0f0596d65f51--