delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2017/02/19/06:58:28

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: <20170219081825.GA14177@localhost.localdomain>
References: <20170218181007 DOT 80DD9812BA6B AT turkos DOT aspodata DOT se> <20170218224033 DOT 9B0F9812BA6B AT turkos DOT aspodata DOT se> <20170219081825 DOT GA14177 AT localhost DOT localdomain>
Comments: In-reply-to "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
message dated "Sun, 19 Feb 2017 11:18:25 +0300."
Mime-Version: 1.0
Message-Id: <20170219115738.CD13B812BA71@turkos.aspodata.se>
Date: Sun, 19 Feb 2017 12:57:38 +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

Vladimir:
...
> > 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.
> 
> I have also stumbled upon the fact that different programs show
> postscript/pdf files differently. Ghostscript is a preprocessing
> program in Linux which outputs files to printer drivers (AFAICR),
> so you can use it to see your page orientation before printing.
> 
> gs file.ps

That also gives me the wrong pickture.

> There are various scripts in the ghostscript distribution that can
> help to get what you want. Probably in your case it is simplest to
> use ghostscript itself to change page orientation. The
> work-around command is:
> 
>   gs -o x.ps -sDEVICE=pswrite -c '<</Orientation 1>> setpagedevice' -f tt.ps

Thanks, but I already tried that.
I also tried pstops '0L(210mm,00mm)' tt.ps x.ps, which would work, but
gaf export seems to add a clipping region.

...
> > 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 ?
> 
> It's probably a bug. I'm not certain.

Yes, it's probably a bug, since the pdf export works as expected.
I'll investigate further, but not here on -help.

Thank you for your time though.

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