[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: pcb printing with action script



Not satisfied with the default postscript output of pcb I, tried to whip 
up a bash script with pcb actions an options. I got close, but not quite 
to my goal: Two eps output files of the layout - One with values, the 
other with refdeses. 

For some reason, my action string does not initiate the expected switch 
of displayed names. This is my shell script so far:

/-------------------------------------
#!/bin/bash
# Layout-Ausdruck -<(kmk)>- 2009

PCBFILE="../lasertreiber.pcb"
OUTPDF="lasertreiber_v2.1_layout.pdf"

pcb -x eps \
  --action-string 'DISPLAY(Value)' \
  --element-color '#000000' \
  --pin-color '#cccccc' \
  --layer-color-1 '#ffffff' \
  --as-shown  \
  --layer-stack outline,elements,top \
  --eps-file out.eps \
  $PCBFILE

poster -mA4 -p60x5cm -c12x12mm -o out.ps out.eps

ps2pdf out.ps $OUTPDF

\------------------------------------

The output of the output contains the refdeses rather than values. Any 
hint?

If I start pcb in GUI mode with this action string, pcb does the action 
as expected. My version is pcb-head as downloaded a few weeks ago. 

The GL enabled Version downloaded a few weeks ago segfaults when started 
in GUI mode with the same action string. Is this a known breakage?

---<(kaimartin)>---
-- 
Kai-Martin Knaak                                  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik      fax: +49-511-762-2211	
Welfengarten 1, 30167 Hannover           http://www.iqo.uni-hannover.de
GPG key:    http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user