Mail Archives: geda-user/2013/02/23/14:14:03
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 -