delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/12/13/02:28:10

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:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=vzl5f9cr4QWhXXlDybXP65DhwMpDnEMZm1C466dcPG0=;
b=MIowxHWhl/1CMLOFdXjxQcyPGWZ4NSWnjTpVAInReWv0MZes8Hp/Lm/YkqDatU9ojz
8L5593/7kpaWqLPLWYgYN2sxebo5T1HL47avCu5OM8qanoEp9OvCZPmK3Xq5yhjGDqsD
9C+jooOQybBYywz7f+o8vdoAM59bbv55H+WJDle293teYc39+BcD9l/lld5i3mZbD+eG
h6jU79ONe9rcptR/QmtUk/iAhcsc8wlLj4Oao1qBUgV5v1cJjLbKakqlX6Y4RNq7Ia5E
og/J8yd9oTYPAuFBfMP0b4yAmtwuE9bdDbYvg2z26BwzWxqYOkhgjmyYcrKiMsHE90Az
7mdA==
MIME-Version: 1.0
In-Reply-To: <874njrni9a.fsf@harrington.peter-b.co.uk>
References: <CAHdUXzLywRxt-i2xBfK8Z9V299NLzdEOLBmp7+WYKghTiX5h7Q AT mail DOT gmail DOT com>
<874njrni9a DOT fsf AT harrington DOT peter-b DOT co DOT uk>
Date: Thu, 13 Dec 2012 13:26:21 +0600
Message-ID: <CAHdUXzLE5h26X5vLkc5U5ziRApbcVsBBovNCeZWAdzdYTnKq_Q@mail.gmail.com>
Subject: Re: [geda-user] Monochrome PDF
From: Eugene Mikhantiev <mikhantiev 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

--20cf303bfae8f096d404d0b6d476
Content-Type: text/plain; charset=ISO-8859-1

Thank you!
gaf solved my problem.
Also, I have troubles with print-color option, but I'm not completely sure
that this is a bug in gEDA, not a bug in my build. Log:

Backtrace:
In /home/eugene/.gEDA/gschemrc:
   1: 0* [print-color "disabled"]
In /usr/share/gEDA/scheme/geda-deprecated-config.scm:
  80: 1  ((@ (geda config) config-set!) (rc-config) group ...)
  80: 2* (@ (geda config) config-set!)
In unknown file:
   ?: 3* [copy-tree ...
   ?: 4*  [apply #<procedure #f (mod-name var-name)> ((geda config)
config-set!)]
   ?: 5   [#<procedure #f (mod-name var-name)> (geda config) config-set!]
   ?: 6   (let* ((var #)) (if (not var) (error "no such public variable"
#)) var)
   ?: 7*  (if (not var) (error "no such public variable" (list # mod-name
var-name)))
   ?: 8   [error "no such public variable" (@ (geda config) config-set!)]
    ...
   ?: 9   [scm-error misc-error #f ...]

<unnamed port>: In procedure scm-error in expression (scm-error (quote
misc-error) #f ...):
<unnamed port>: no such public variable (@ (geda config) config-set!)
ERROR: Failed to load RC file [/home/eugene/.gEDA/gschemrc]: no such public
variable (@ (geda config) config-set!)


2012/12/13 Peter TB Brett <peter AT peter-b DOT co DOT uk>

>
> Eugene Mikhantiev <mikhantiev AT gmail DOT com>
> writes:
>
> > Hi, all!
> >
> > I have a question about the new print dialog.
> > Old versions of gschem generates monochrome output when printing to
> > pdf. Output generated by current stable version is colored.
> > Is there any possibility to make gschem generate monochrome pdf? Or by
> > now monochrome PDFs can be done only by PDF postprocessing?
>
> The following applies only to people running gEDA/gaf 1.9.x.
>
> 1) To generate a monochrome PDF file, you don't need to bother with
> gschem at all; just run:
>
>   gaf export -o foo.pdf foo.sch
>
> Or to get a colour PDF:
>
>   gaf export -co foo.pdf foo.sch
>
> 2) To force gschem to print in monochrome, add:
>
>   (print-color "disabled")
>
> to your ~/.gEDA/gschemrc file.  In theory, gschem should detect if
> you're printing to a BW printer and just Do The Right Thing, but I
> haven't actually tested that.
>
>                         Peter
>
> --
> Peter Brett <peter AT peter-b DOT co DOT uk>
> Remote Sensing Research Group
> Surrey Space Centre
>
>

--20cf303bfae8f096d404d0b6d476
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thank you!<br><span id=3D"result_box" class=3D"short_text" lang=3D"en"><spa=
n class=3D"hps">gaf</span> </span><span id=3D"result_box" class=3D"short_te=
xt" lang=3D"en"><span class=3D"hps">solved</span> <span class=3D"hps">my pr=
oblem</span></span>.<br>
Also, I have troubles with print-color option, <span id=3D"result_box" clas=
s=3D"" lang=3D"en"><span class=3D"hps"><span id=3D"result_box" class=3D"" l=
ang=3D"en"><span class=3D"hps">but I&#39;m</span> <span class=3D"hps">not c=
ompletely</span> <span class=3D"hps">sure that</span> <span class=3D"hps">t=
his is a bug</span> <span class=3D"hps">in gEDA</span><span class=3D"hps">,=
</span> <span class=3D"hps">not a bug in</span> <span class=3D"hps">my </sp=
an></span></span><span class=3D"hps">build.</span></span> Log:<br>
<br>Backtrace:<br>In /home/eugene/.gEDA/gschemrc:<br>=A0=A0 1: 0* [print-co=
lor &quot;disabled&quot;]<br>In /usr/share/gEDA/scheme/geda-deprecated-conf=
ig.scm:<br>=A0 80: 1=A0 ((@ (geda config) config-set!) (rc-config) group ..=
.)<br>
=A0 80: 2* (@ (geda config) config-set!)<br>In unknown file:<br>=A0=A0 ?: 3=
* [copy-tree ...<br>=A0=A0 ?: 4*=A0 [apply #&lt;procedure #f (mod-name var-=
name)&gt; ((geda config) config-set!)]<br>=A0=A0 ?: 5=A0=A0 [#&lt;procedure=
 #f (mod-name var-name)&gt; (geda config) config-set!]<br>
=A0=A0 ?: 6=A0=A0 (let* ((var #)) (if (not var) (error &quot;no such public=
 variable&quot; #)) var)<br>=A0=A0 ?: 7*=A0 (if (not var) (error &quot;no s=
uch public variable&quot; (list # mod-name var-name)))<br>=A0=A0 ?: 8=A0=A0=
 [error &quot;no such public variable&quot; (@ (geda config) config-set!)]<=
br>
=A0=A0=A0 ...<br>=A0=A0 ?: 9=A0=A0 [scm-error misc-error #f ...]<br><br>&lt=
;unnamed port&gt;: In procedure scm-error in expression (scm-error (quote m=
isc-error) #f ...):<br>&lt;unnamed port&gt;: no such public variable (@ (ge=
da config) config-set!)<br>
ERROR: Failed to load RC file [/home/eugene/.gEDA/gschemrc]: no such public=
 variable (@ (geda config) config-set!)<br><br><br><div class=3D"gmail_quot=
e">2012/12/13 Peter TB Brett <span dir=3D"ltr">&lt;<a href=3D"mailto:peter@=
peter-b.co.uk" target=3D"_blank">peter AT peter-b DOT co DOT uk</a>&gt;</span><br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>
Eugene Mikhantiev &lt;<a href=3D"mailto:mikhantiev AT gmail DOT com" target=3D"_bl=
ank">mikhantiev AT gmail DOT com</a>&gt;<br>
writes:<br>
<br>
&gt; Hi, all!<br>
&gt;<br>
&gt; I have a question about the new print dialog.<br>
&gt; Old versions of gschem generates monochrome output when printing to<br=
>
&gt; pdf. Output generated by current stable version is colored.<br>
&gt; Is there any possibility to make gschem generate monochrome pdf? Or by=
<br>
&gt; now monochrome PDFs can be done only by PDF postprocessing?<br>
<br>
The following applies only to people running gEDA/gaf 1.9.x.<br>
<br>
1) To generate a monochrome PDF file, you don&#39;t need to bother with<br>
gschem at all; just run:<br>
<br>
=A0 gaf export -o foo.pdf foo.sch<br>
<br>
Or to get a colour PDF:<br>
<br>
=A0 gaf export -co foo.pdf foo.sch<br>
<br>
2) To force gschem to print in monochrome, add:<br>
<br>
=A0 (print-color &quot;disabled&quot;)<br>
<br>
to your ~/.gEDA/gschemrc file. =A0In theory, gschem should detect if<br>
you&#39;re printing to a BW printer and just Do The Right Thing, but I<br>
haven&#39;t actually tested that.<br>
<span><font color=3D"#888888"><br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Peter<br>
<br>
--<br>
Peter Brett &lt;<a href=3D"mailto:peter AT peter-b DOT co DOT uk" target=3D"_blank">pe=
ter AT peter-b DOT co DOT uk</a>&gt;<br>
Remote Sensing Research Group<br>
Surrey Space Centre<br>
<br>
</font></span></blockquote></div>

--20cf303bfae8f096d404d0b6d476--

- Raw text -


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