delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/03/22/15:59:28

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=
messagingengine.com; h=content-type:date:from:message-id
:mime-version:reply-to:subject:to:x-me-proxy:x-me-proxy
:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=5Fs5/a2wlOFhJUlru
hMGvRscv263DRDQpEVvVoDT0lQ=; b=UZUYq2XOu8YAeYIOPKFPdQmqRSp23WQYq
i6gWykSs76qrzEm6bLGNNwMXz76ZUGzG27ieTp084yLytpw8mq+VekBTxarXsOPq
FSLZM/DgBuyMVSkGAzmLUNuCwmU8Lh6Oji7sxtPjii/YLrxPHQUHoAltXJjIb7+t
O3FZtTNkuqjAArQK8/NDCXbaF7u19OWydThoi26DavCJcir2xyoRCNRDxDiNK7jN
yfm3RDDM1dtjInNYWkgWqiII71/rs48jLOsdDJ7SDGsAElhxFApaIXyX9Sh/sBOC
TMOv0GcLmSjjj5Tq2kvdeW5kbxyiUqfraU7ivdY3FWaE0lNFuqKcQ==
X-ME-Sender: <xms:tfZYYFVPixiUq86qycQxiCEMWAnHIDpK91q_3LrZ1-XudL0IcFTVwQ>
<xme:tfZYYFimaN3ztTHjHGHrbnG4b34UXcyLMpZT49RsyIIca-d3BLBarqVtHLip-MqtO
s2ooHmQNDLq5bDUAg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeggedgudefudcutefuodetggdotefrod
ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
enucfjughrpehrhffuvffkffgfgggtsegrtderredtfeejnecuhfhrohhmpefiihhrvhhi
nhcujfgvrhhruceoghhhvghrrhhlsehfrghsthhmrghilhdrtghomheqnecuggftrfgrth
htvghrnhepveehhfehffeujeevudekfedtjeduvddtkeffueeufeekvddthfffvdehhfet
keelnecukfhppedutdekrddvudehrdduleehrddvtdehnecuvehluhhsthgvrhfuihiivg
eptdenucfrrghrrghmpehmrghilhhfrhhomhepghhhvghrrhhlsehfrghsthhmrghilhdr
tghomh
X-ME-Proxy: <xmx:tfZYYOTYRpXNsqv5Uqs2S-sIHLKKvrqm4c6e-jG4DhDtxLGSus4lrA>
<xmx:tfZYYAEe4qFNJV5DLZn9KIAKLmTp6buirNeR8QfQoDj1Se-SK90PXA>
<xmx:tfZYYOm1JqrmjWNkLLXmxRSQwaKXxyTUgF1zw60GgFJ1Y_mx4FJ2Mg>
<xmx:tfZYYPb7ZUKtTORppN7zmdrDM4GuKEwbhtgsMD_u0IbCgROY1LcVcOoxgJE>
From: "Girvin Herr (gherrl AT fastmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: [geda-user] gaf export --layout does not allow an argument
To: gEDA User Mailing List <geda-user AT delorie DOT com>
Message-ID: <fd1877c7-62c0-d644-5fe2-8a87ce0179f7@fastmail.com>
Date: Mon, 22 Mar 2021 12:58:42 -0700
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101
Thunderbird/68.12.0
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com

This is a multi-part message in MIME format.
--------------CC6E40954F8C218F3ACB741A
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

Greetings,

gaf version 1.10.2 (g5a69d90) under Slackware Linux 14.2 (32-bit k4.4.240).

I am using "gaf export" as one step to convert some of my .sch files to 
dxf for qcad. The B-size (11x17) option in my script produces a portrait 
output when I need landscape, so I tried using
"--layout=landscape" as an argument to "gaf export" but it responds with 
an error:

    export: option '--layout' doesn't allow an argument

The help ("gaf export --help") says:

       -l, --layout=ORIENT    page orientation

The gaf manpage says:

        -l, --layout=(auto | landscape | portrait)
                When  using  a paper size, set the orientation of the 
output.  If `auto' layout is
                used, the orientation that best fits the drawing will be 
used.

Bug? Is this argument position dependent? I have it at the end of the 
arguments, just before the input file spec. Here is my script line for gaf:

PSIZE="na_ledger"

PLAYOUT="--layout=landscape"

gaf export -o ${TEMPFILE} -f ps --paper=${PSIZE} --no-color ${PLAYOUT} 
${INFILE} || exit

To be complete, gaf is converting to PostScript and that file is 
subsequently input to pstoedit to convert the PostScript file to dxf.

Thanks.
Girvin




--------------CC6E40954F8C218F3ACB741A
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Greetings,</p>
    <p>gaf version 1.10.2 (g5a69d90) under Slackware Linux 14.2 (32-bit
      k4.4.240).<br>
    </p>
    <p>I am using "gaf export" as one step to convert some of my .sch
      files to dxf for qcad. The B-size (11x17) option in my script
      produces a portrait output when I need landscape, so I tried using
      <br>
      "--layout=landscape" as an argument to "gaf export" but it
      responds with an error:</p>
    <blockquote>
      <p>export: option '--layout' doesn't allow an argument<br>
      </p>
    </blockquote>
    <p>The help ("gaf export --help") says:</p>
    <blockquote>
      <p>  -l, --layout=ORIENT    page orientation<br>
      </p>
    </blockquote>
    <p>The gaf manpage says:</p>
    <p>       -l, --layout=(auto | landscape | portrait)<br>
                     When  using  a paper size, set the orientation of
      the output.  If `auto' layout is<br>
                     used, the orientation that best fits the drawing
      will be used.<br>
    </p>
    <p>Bug? Is this argument position dependent? I have it at the end of
      the arguments, just before the input file spec. Here is my script
      line for gaf:<br>
    </p>
    PSIZE="na_ledger"
    <p>PLAYOUT="--layout=landscape"</p>
    <p>gaf export -o ${TEMPFILE} -f ps --paper=${PSIZE} --no-color
      ${PLAYOUT} ${INFILE} || exit</p>
    <p>
    </p>
    <p>To be complete, gaf is converting to PostScript and that file is
      subsequently input to pstoedit to convert the PostScript file to
      dxf.<br>
    </p>
    <p>Thanks.<br>
      Girvin</p>
    <p><br>
    </p>
    <p><br>
    </p>
  </body>
</html>

--------------CC6E40954F8C218F3ACB741A--

- Raw text -


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