Hi,

This is my first time contributing something to gEDA/PCB, so please
let me know if I'm doing anything wrong.

I added a patch to sourceforge.net which creates a
command-line-interface (CLI) for printing PCB files:

This patch will (1) add a SuperPrint action to PCB and
(2) provide a command line interface, "pcb-print," to
allow a high level of printing control from the command
line (i.e. bash, etc.).

Rationale: When doing a release of PCB drawings, I need
to generate several prints. Up till now, this has been
a manual process of clicking through the GUI. With
this patch, this work can be automated through
Makefiles or shell scripts.

The only outputs implemented are eps and gerber.  The patch doesn't
handle page postscript and media selection.  I was hesitant to add
postscript printing because there would be some redundant code (e.g.
page centering functions copied from printdialog.c) and a little more
complexity with the media selection.  I also figured that it was
simple enough to transform eps to ps.

Also, this patch brings up the full fledged PCB GUI.  I tried not
doing this so as to not have any X server dependency, but kept running
into problems.

Is this something that can be incorporated into PCB?

Sincerely,
David

Reply via email to