www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2017/02/19/09:08:54

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=bEwD4kfh0PrGaqYO3EGKK4reU0mB1zKbWPvpm3VvDDc=;
b=g7Fx7FBjNWL74jevcUBCDoHuzXKRWCH60M9o5X5rP6Ft/qHZ/A9w1OQ74wnWr7gtxt
HGhWrs79RsEkgNDMJ27rwZZR2HGoSu/pN8L9+muJ0foEug8jh4J5cKyhkY3XfcmHO1mb
PC73258OWbe7TYGtN4INwxKw3z91rAJzzQvxFxzydBQIOY6jm1VTFsk5ouyVzK98bLHu
2muaFPvNBYhatP9zgCIps119uO/hjmfKka+bUNxkPhD5EjqXp34xC/17WsuqOkbzRonk
krBP4o2+TP+4hW9wOtOLFFnT1UVQs+kiIDuk6wTnwpI9JFqZXtOUef7yifFDXDF4yZP7
xyhA==
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=bEwD4kfh0PrGaqYO3EGKK4reU0mB1zKbWPvpm3VvDDc=;
b=B2jbmfiejYyhw/5CflXTn7+Y5AmTcayTUTOtX7ORvGVcai/5yWY6gzNAwT1Kiv7ZA5
/krxOWw3Ef4Epp3NgCbtefugRWGIZxJnvEzY9MwGwqBft6rejQxgLMKeMFv3raIDzouW
yjOwhexCkthy6N7qQVBSb02zpC9vAfBbCulqYD+uWTYmOxx8Am3NwFJ6ObYK/5+znGxm
lfdk7WEgzino8E13HqXT09+s8uYCpi7KJxnzmr3xNrgmt9tnc1HSKDdpGF7F9AhDE6c3
GrIAmitHGWBvYh/hjNXTiJmFMSLTl7MIjrhclbBpuIQvceY79QoqSkH+CBqoUYTJRpTj
BGkA==
X-Gm-Message-State: AMke39nGBqlKtY96++VbAFiTsP+I2ADTtjUvhFQB0yycB/Zm+fwinq/o3Mh/mf5GWLhjpg==
X-Received: by 10.25.211.132 with SMTP id k126mr4962398lfg.61.1487513311152;
Sun, 19 Feb 2017 06:08:31 -0800 (PST)
Date: Sun, 19 Feb 2017 17:08:28 +0300
From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com]" <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: <20170219140828.GC14177@localhost.localdomain>
Mail-Followup-To: geda-help AT delorie DOT com
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>
<20170219115738 DOT CD13B812BA71 AT turkos DOT aspodata DOT se>
MIME-Version: 1.0
In-Reply-To: <20170219115738.CD13B812BA71@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

On Sun, Feb 19, 2017 at 12:57:38PM +0100, karl AT aspodata DOT se wrote:
> 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.

With no success? Strange if so. gaf exported ps was shown wrongly
in gs and on the printed page. After I applied the above
transformation, I printed the page and it was output as
expected (as it should be).

-- 
  Vladimir

- Raw text -


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