X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=nZzIaksbnzxbfguSldZu9gugKu4dA2UyH7uA3aBt1jI=; b=HRqLqZRO0OxFmnIAfTwO+6kawHsexNZmvXpPadEasiFxJfBTvymSmhCv/DZ4HRT/7s a9qJVaVLBnYs1dqADdhT9VTgkN9KmVdHGeqlQ23BhLp/mSEstZNwG9iWWPGjqwdaQYtg mfvcjqpEg9RcEsYIVappUX8Turi6bTVSsKGseYdVIiPU6dZpTn81M32a80FHP5bW4615 o/zrmXTysP15aRbZUrE4PFqb6HkYAeYZECpwHyzHGdOlysFxStzgE8NcvRNSfd0IOOtE zCgz+ZGU3fO4OA0GYmj1R1SbzhvTqaQxV4Nx+39h/VBXs4BSeA1Yd8EFpkuG0HfNGUef YNbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=nZzIaksbnzxbfguSldZu9gugKu4dA2UyH7uA3aBt1jI=; b=fi5OQ+vpz75y3PHeqiQ4uOq5FmWSLKeFMlOjoUpwFrZAhGRWkNHW30gRV5hJh9jw/S 966d6MQscIRta+OZX/KGbmGnCAZI3w1++iLxiOTcDpZKv9kgtMXZlCVj6GymMA+PZzMW p+OW1/LL48B3olFw0xcJUHMkOcYj9eXzPNIw8VZNQ7YWFvQ1B+50XCnvvyGrFaB4SaZy NsXtd+6XST5GM5XDt+BSURh9nq1O37yHJVv+qDWAiHJA1ujUU/Z2F7N30mClarnjG0Zl 1t0CX5oqwkv4HmdzrMdoVMygiKtw3EY/brQ+X+ofBPZNaU3H4R5nnAcxbrMa2zsRgUa5 j62w== X-Gm-Message-State: AMke39m2w9l3IR1lwZfIqbB+5ubVdhqOECtdDjqz9W0ot0YITWRQN0EEwK3vHQS63IQcew== X-Received: by 10.25.74.214 with SMTP id x205mr3911331lfa.146.1487446417391; Sat, 18 Feb 2017 11:33:37 -0800 (PST) Date: Sat, 18 Feb 2017 22:33:35 +0300 From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com]" To: geda-help AT delorie DOT com Subject: Re: [geda-help] printing to landscape A4 without margins, how ? Message-ID: <20170218193335.GB25608@localhost.localdomain> Mail-Followup-To: geda-help AT delorie DOT com References: <20170218181007 DOT 80DD9812BA6B AT turkos DOT aspodata DOT se> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170218181007.80DD9812BA6B@turkos.aspodata.se> User-Agent: Mutt/1.5.23 (2014-03-12) Reply-To: geda-help AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-help AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, Feb 18, 2017 at 07:10:07PM +0100, karl AT aspodata DOT se wrote: > How do I print a sch file to a postscript file where the output is > supposed to completely fill the page ? Do you really need postscript? Most printers can work with PDF these days. > Formely, when gschem produced the postscript itself, I could do that > by specifying "without extents". With current gschem I can print, > but (probably) since I don't have cups installed, I just get some > dumb dialogue where I cannot change anything. It gives a posttscript > file in letter size and with some automatic margins. > > /// > > As an example I use > $ cat tt.sch > v 20121203 2 > C 0 0 1 0 0 A4liggande.sym > $ > > where the symbol used is: > > http://turkos.aspodata.se/git/openhw/share/gschem/A4liggande.sym My system cannot resolve your address. You would better embed your symbol into the schematic, and attached it. > It has markers in the corners so could get the right scale. > > /// > > gaf export -f ps -p iso_a4 -m 0 -o tt.ps tt.sch You can omit '-f ps', the extension is automatically determined by output file extension. > gives me something that works with gv, but not with my printer, nor > when converting to pdf (since I want to share I have to convert to > pdf), the image is rotated 90deg. relative the actual paper. You can output directly to PDF using '-o tt.pdf'. You can choose orientation with the '--layout' option. There is also a nice program 'pdftk' which can post-process PDFs as you wish. > gaf export -f ps -s "297mm:210mm" -m 0 -o tt.ps tt.sch > > gives the same result, and with > > gaf export -f ps -s "210mm:297mm" -m 0 -o tt.ps tt.sch > > the image is rotated as previously, and downscaled to fit the paper width. '-s' ('--size') may mangle output scale. I wouldn't recommend it unless you want some visual effects ;-) There is another option '-k' ('--scale'). Try it. HTH -- Vladimir