delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/02/23/14:14:03

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
MIME-Version: 1.0
Date: Sat, 23 Feb 2013 18:50:19 +0000
From: Peter TB Brett <peter AT peter-b DOT co DOT uk>
To: <geda-user AT delorie DOT com>
Subject: Re: [geda-user] Printing at gschem with no margins
Organization: Surrey Space Centre
Message-ID: <3076571b239fea9dad2f2e6edfd4f2ee@mail.theimps.com>
X-Sender: peter AT peter-b DOT co DOT uk
User-Agent: RoundCube Webmail/0.2.2
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r1NJC7VS013406
Reply-To: geda-user AT delorie DOT com

Kai-Martin Knaak <kmk-G3rIa76UAx2M+VuuqaXKaA AT public DOT gmane DOT org> writes:

> Antonio Todo Bom ✈ 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="0mm;0mm;0mm;0mm" -o foobar.pdf foobar.sch

Try this more concise version:

gaf export -m0 ...

>> 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?

gaf config --user export margins 0

Cheers,

Peter


-- 
Peter Brett <peter AT peter-b DOT co DOT uk>
Remote Sensing Research Group
Surrey Space Centre

- Raw text -


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