delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/03/01/17:15:05

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:x-received:in-reply-to:references:date:message-id
:subject:from:to:content-type;
bh=qeuEZgdl7BfYGWln7L9tOxtHLx0d4RQbEMRNe3Xtb08=;
b=TPXxP5B7uFKNdYyauaZvndD0mxQyRolj0D1MjFR81Yu9q8o74Im4PLaFgg1nO6cYVZ
NL8hx8z1vwpwZWJkyP9LATgdCwrFFwNGjqH6JwBwCQWjMCyU4V4pAJWTBGaZSJ+ECbFv
mjwmNihXcQOX6PR5Sd/SMyhfy/OW648iRbRLjBTKF9CaqYHfB8u9m4DaUiDeTJOL2Qmk
JTlKuEi7oXl7M5qTNYQpdf00OZ5h8veiLrmMPerKd+YxYU+gEKl+1Ug5bsd6XI/wKjrs
+o7IS4cnStEuRY/ik+aTNWN+OHNs5fEFTEgas0Fb9Ig32nogTStlxQZvi1lZ2BrvNr91
OqYg==
MIME-Version: 1.0
X-Received: by 10.224.17.68 with SMTP id r4mr22279765qaa.20.1362176087588;
Fri, 01 Mar 2013 14:14:47 -0800 (PST)
In-Reply-To: <ke22kt$m8n$1@ger.gmane.org>
References: <CAFfN_21_rfwKakTF+EjES29G3QTGKt+tgPQLST+PU78zuv=+GA AT mail DOT gmail DOT com>
<ke22kt$m8n$1 AT ger DOT gmane DOT org>
Date: Fri, 1 Mar 2013 19:14:47 -0300
Message-ID: <CAFfN_22N7giB8fH1eBPXOye9ehESFu3vR_ndoV26ODC=PSdVgA@mail.gmail.com>
Subject: Re: [geda-user] Printing at gschem with no margins
From: =?UTF-8?Q?Antonio_Todo_Bom_=E2=9C=88?= <atodobom AT gmail DOT com>
To: geda-user AT delorie DOT com
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

--14dae9399b01d28de204d6e455a8
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Excuse me all,

I just saw this email that was justly an answer for me.
It would be interesting that this command could be an option in the menus
of gschem.

And YES! it works fine.

Thank you.


2013/1/27 Kai-Martin Knaak <kmk AT familieknaak DOT de>

> Antonio Todo Bom =E2=9C=88 wrote:
>
> > How to print B&W, with no margins, as were possible in the older
> > versions?
>
> I too find it irritating, that print from the GUI is always in color
> now. However, there is a new(?) command line tool: gaf
> This tool accepts several sub commands ("export", "config", "shell").
> Use the sub command as the first parameter to gaf. This is very much
> like the commands in git.
> "gaf export" can be used to produce PDF, PS, EPS, PNG, or SVG.
>
> Sidenote: "Currently, export in svg format fails on my destktop:
> ERROR: the surface type is not appropriate for the operation.
>
> But the other formats work fine.
>
> There is a man page for gaf which explains quite a number of options.
>
>
> > I see that there isn't a printing window anymore, where we
> > could choice "Extend no margins".
>
> This command produces a marginless PDF:
> gaf export --margins=3D"0mm;0mm;0mm;0mm" -o foobar.pdf foobar.sch
>
>
> > Is there some string at gschemrc to adjust it?
>
> "gaf config" looks like it is meant to do this job. It reads and
> writes alternatively to several files. None of which are the
> traditional gschemrc or gafrc:
>         $HOME/.config/gEDA/geda-user.config
> or
>         $PWD/geda.conf
> or
>         /etc/xdg/gEDA/geda-system.conf
>
> You'd have to pass the "group" and the "value" of a key to gaf config.
> Unfortunately, the man page does not give an example. I did not
> succeed to guess the necessary group/value for print margins. Peter
> Brett, can you help me out?
>
> ---<)kaimartin(>---
> --
> Kai-Martin Knaak

--14dae9399b01d28de204d6e455a8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Excuse me all,<div><br></div><div style><div>I just saw th=
is email that was justly an answer for me.</div><div>It would be interestin=
g that this command could be an option in the menus of gschem.</div><div><b=
r>
</div><div style>And YES! it works fine.</div><div style><br></div><div sty=
le>Thank you.</div></div><div class=3D"gmail_extra"><br><br><div class=3D"g=
mail_quote">2013/1/27 Kai-Martin Knaak <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:kmk AT familieknaak DOT de" target=3D"_blank">kmk AT familieknaak DOT de</a>&gt;</spa=
n><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">Antonio Todo Bom =E2=9C=88=
 wrote:<br>
<br>
&gt; How to print B&amp;W, with no margins, as were possible in the older<b=
r>
&gt; versions?<br>
<br>
</div>I too find it irritating, that print from the GUI is always in color<=
br>
now. However, there is a new(?) command line tool: gaf<br>
This tool accepts several sub commands (&quot;export&quot;, &quot;config&qu=
ot;, &quot;shell&quot;).<br>
Use the sub command as the first parameter to gaf. This is very much<br>
like the commands in git.<br>
&quot;gaf export&quot; can be used to produce PDF, PS, EPS, PNG, or SVG.<br=
>
<br>
Sidenote: &quot;Currently, export in svg format fails on my destktop:<br>
ERROR: the surface type is not appropriate for the operation.<br>
<br>
But the other formats work fine.<br>
<br>
There is a man page for gaf which explains quite a number of options.<br>
<div class=3D"im"><br>
<br>
&gt; I see that there isn&#39;t a printing window anymore, where we<br>
&gt; could choice &quot;Extend no margins&quot;.<br>
<br>
</div>This command produces a marginless PDF:<br>
gaf export --margins=3D&quot;0mm;0mm;0mm;0mm&quot; -o foobar.pdf foobar.sch=
<br>
<div class=3D"im"><br>
<br>
&gt; Is there some string at gschemrc to adjust it?<br>
<br>
</div>&quot;gaf config&quot; looks like it is meant to do this job. It read=
s and<br>
writes alternatively to several files. None of which are the<br>
traditional gschemrc or gafrc:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $HOME/.config/gEDA/geda-user.config<br>
or<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $PWD/geda.conf<br>
or<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 /etc/xdg/gEDA/geda-system.conf<br>
<br>
You&#39;d have to pass the &quot;group&quot; and the &quot;value&quot; of a=
 key to gaf config.<br>
Unfortunately, the man page does not give an example. I did not<br>
succeed to guess the necessary group/value for print margins. Peter<br>
Brett, can you help me out?<br>
<br>
---&lt;)kaimartin(&gt;---<br>
<span class=3D"HOEnZb"><font color=3D"#888888">--<br>
Kai-Martin Knaak</font></span></blockquote></div>
</div></div>

--14dae9399b01d28de204d6e455a8--

- Raw text -


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