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

Re: gEDA-user: Printing from the command line



George,

The script below (which I name gschem-print) prints schematic
files from the command line. Replace the string GEDA_SCHEME_DIR
with the name of your gEDA scheme directory.

#!/bin/bash
for name in $*
do
  base="${name%.*}"
  gschem -o$base.ps -sGEDA_SCHEME_DIR/gschem-print.scm $base.sch
  lpr -P$PRINTER $base.ps
done

(* jcl *)

On 2/24/06, George M. Gallant, Jr. <ggallant571@xxxxxxxxxxx> wrote:
>  I would like to be able to print a set of schematics from within a
> Makefile.
>  There are a few references alluding to doing such. Is there any available
>  info or scripts?
>
>  Regards,
>      George


--
http://www.luciani.org