delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2017/02/18/13:10:14

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 (debian 1:2.8.0~rc1-2) with nmh-1.5
X-Exmh-Isig-CompType: comp
X-Exmh-Isig-Folder: inbox
From: karl AT aspodata DOT se
To: geda-help AT delorie DOT com
Subject: [geda-help] printing to landscape A4 without margins, how ?
Mime-Version: 1.0
Message-Id: <20170218181007.80DD9812BA6B@turkos.aspodata.se>
Date: Sat, 18 Feb 2017 19:10:07 +0100 (CET)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-help AT delorie DOT com

How do I print a sch file to a postscript file where the output is
supposed to completely fill the page ?

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

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

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.

 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.

 ---

If I instead rotate everything i gschem, as in:

$ cat tp.sch 
v 20121203 2
C 37900 0 1 90 0 A4liggande.sym
$

Then, everything works as expected.

Do anyone know any solution to this ?

Hälsningar,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sverige
0173 140 57


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019