[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: Printing from the command line
- To: geda-user@xxxxxxxx
- Subject: Re: gEDA-user: Printing from the command line
- From: "John Luciani" <jluciani@xxxxxxxxx>
- Date: Fri, 24 Feb 2006 09:43:58 -0500
- Delivered-to: archiver@seul.org
- Delivered-to: geda-user-outgoing@seul.org
- Delivered-to: geda-user@seul.org
- Delivery-date: Fri, 24 Feb 2006 09:44:04 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UjQWhtym7ANkXR49q32lIqI1ssFNtareffxDU+bbKxZskbP1WgBp32JvGG6XIP1+0V1ETlXf/etkv9a9wM0rrfMJi5+BxcrHMEGzIuIp6484bZKHYfubIJOJnQ2KCNhQ2VKPU86V9GMsmd2cPtlr8PBKhCbqgXUcg8V2Txy9V7A=
- In-reply-to: <1140791013.2608.33.camel@scuba.home.net>
- References: <436CDBB5.6070502@optonline.net> <1131225488.3792.3.camel@AMD.mchsi.com> <1140791013.2608.33.camel@scuba.home.net>
- Reply-to: geda-user@xxxxxxxx
- Sender: owner-geda-user@xxxxxxxx
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