Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2014 01:44:11 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        "William A. Mahaffey III" <wam@hiwaay.net>
Cc:        FreeBSD Questions !!!! <freebsd-questions@freebsd.org>
Subject:   Re: How do I print ....
Message-ID:  <20141230004411.GA2910@slackbox.erewhon.home>
In-Reply-To: <54A16ACB.3080805@hiwaay.net>
References:  <54A16ACB.3080805@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 29, 2014 at 08:52:59AM -0600, William A. Mahaffey III wrote:
>
>
> .... pdf files which were created as portrait layout in landscape ? I
> normally pipe them through pdf2ps to lpr to print them. Pdf2ps is just a
> wrapper for ghostscript, I think (according to the man page). FreeBSD
> 9.3-RELEASE-p5, whatever lpr is current, I can't seem to determine lpr
> version. Any more info needed, just ask & TIA ....

There are at least three options to rotate the pages in PDF files that come=
 to
mind;

1) Use Ghostscript's ``-dAutoRotatePages`` flag. See e.g. this stackoverflow
   answer: http://stackoverflow.com/questions/3089773/how-to-change-page-or=
ientation-of-pdf-ghostscript-or-postsscript-solution-need
   Note that this *only* works for the pdfwrite device! So you'd have to
   rotate pages and *then* feed it to pdf2ps.
2) Use pdftk (needs gcj to build)
3) Use pdfjam (requires TeXLive)

Option 1 us probably the easiest since you already have GhostScript install=
ed.
Option 2 requires a GCC built with the JAVA option enabled.
Option 3 is probably only worthwhile if you were going to install TeXLive
anyway.

Roland
--=20
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93  FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)

--LQksG6bCIzRHxTLp
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABAgAGBQJUofVbAAoJEED21dyjijPgfysP+gN6E/WZMX155hKUZ98gCJML
0NGd49E2Q4s7wtGG56Udr4vCcqqhqYKV/xQXG8D9U4rC+AFivCuU869iLQHRmPKA
x8kBhNIz5H2gUnrbM3j1Ii3gJzBJ6PIzCmCYdEcgUxdriWRkRj+9YGMdNm4EZ4+m
tiV3uaXE+6mGefdoS+hDouTAokUplhAvTvwYFcSivVAIFDEIIYiBjYVlRUzEFP6c
5ft7Jz7zkkgzPpV8+sK3ohn3TFFxqS0Oy9OongAb0qGpH0L05RmVFz+aHgt+hLpi
fqmgUfHEhYIggIhZ25HJGV5aM0D4qT0AzJRIR3Fz2EkHTCfptqX1Ew5hMzweUN4m
A0Rs1sVzyiCTR9f8X2pbQcW7K40OHEZaIadqxj524zZSXNpMxtDqvzAMUSrsIIil
akVFWTe7d1//RTRovK5l5WQcZIIy/v6ihT/hcRE/uj6KqpaKXfG0bPF3Fm/D/rnY
fwLRHlAnmi6Z2TfaC8IS4VJeBvuwzGKREryorzdjh+t+ROT5PXzQoJFLNjg1ZGjL
aNwk9kKhJ3PHL1koO0SgfLxlLV+Ag+7UBe5fd/42Wo9oQ4SgmUjpKKVezvyPT9W2
7taOQ3CufhPlIoU5dpjacMsOk2PvZHKqyXdwLXSZaEyNJCC39gIZfVdrFBLvevLF
AftFQvYhzlr482yHXSHu
=1e5v
-----END PGP SIGNATURE-----

--LQksG6bCIzRHxTLp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141230004411.GA2910>