www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2017/02/18/17:40:58

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: repl
X-Exmh-Isig-Folder: inbox
From: karl AT aspodata DOT se
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] printing to landscape A4 without margins, how ?
In-reply-to: <20170218181007.80DD9812BA6B@turkos.aspodata.se>
References: <20170218181007 DOT 80DD9812BA6B AT turkos DOT aspodata DOT se>
Comments: In-reply-to karl AT aspodata DOT se
message dated "Sat, 18 Feb 2017 19:10:07 +0100."
Mime-Version: 1.0
Message-Id: <20170218224033.9B0F9812BA6B@turkos.aspodata.se>
Date: Sat, 18 Feb 2017 23:40:33 +0100 (CET)
X-Virus-Scanned: ClamAV using ClamSMTP
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

Karl:
> 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.

Ok, I'll start over. This is a question about the gaf postscript 
export, not the pdf export.

I have this small test schematics;

$ cat tt.sch 
v 20121203 2
C 0 0 1 0 0 EMBEDDEDA4liggande.sym
[
H 3 25 2 0 -1 -1 0 -1 -1 -1 -1 -1 3
M 1800,37860
L 0,37860
L 0,36060
H 3 25 2 0 -1 -1 0 -1 -1 -1 -1 -1 5
M 1800,34260
L 51840,34260
L 51840,1860
L 1800,1860
L 1800,34260
H 3 25 2 0 -1 -1 0 -1 -1 -1 -1 -1 3
M 1800,60
L 0,60
L 0,1860
H 3 25 2 0 -1 -1 0 -1 -1 -1 -1 -1 3
M 53460,1860
L 53460,60
L 51660,60
H 3 25 2 0 -1 -1 0 -1 -1 -1 -1 -1 3
M 51660,37860
L 53460,37860
L 53460,36060
]
T 4000 31000 9 80 1 0 0 0 1
ABC
$

If I do the obvious thing:

 gaf export -f ps -p iso_a4 -m 0 -o tt.ps tt.sch

I get a postscript file which shows fine in gv but at printout, the 
content is rotated 90degrees relative the paper.

The problem does not appear when then schematics rotated in gschem, 
i.e. when the in gschem view on screen is "portrait".

Now, is this a bug in the cairo postscript routines or have I called 
gaf export in the wrong way ?

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57


- Raw text -


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