EPS HID: no option --as-shown anymore
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcb |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
The regular print dialogue of pcb does not quite produce the output I need for my archive (black/white, four pages -- top/bottom, refdes/value, all in one PDF). So I whipped up a script to do the job for me. At its heart, pcb gets called along these lines:
$PCB -x eps \
--action-string 'DISPLAY(
--element-color '#000000' \
--pin-color '#cccccc' \
--layer-color-1 '#cccccc' \
--layer-color-2 '#dddddd' \
--layer-color-3 '#eeeeee' \
--as-shown \
--only-visible \
--layer-stack "outline,
--eps-file $TMPDIR/
$PCBFILE
This worked for me since about 2011. However, since I upgraded to pcb 4.02 the application exits immediately with
Apparently this option was removed in some revision. The option is needed to make the --layer-color options apply to the print. Without --as-shown objects are colored like they would on screen.
I see two alternative ways to resolve:
a) reconstitute the option --as-shown
b) let the color options on the command line override the settings loaded from a color file.
---<)kaimartin(>---
Changed in pcb: | |
status: | New → Incomplete |
I think that the color settings on the command line should always override the default color settings. If that's not happening, then it's definitely a bug. You shouldn't have to specify --as-shown for that to happen... I don't think that is the purpose of that option.
The --as-shown option was not removed, it was renamed --screen- layer-order in pcb 4.0.0 in order to clarify what the option is actually supposed to do.