LoginSignup
5
4

More than 1 year has passed since last update.

Linuxで横書きのドキュメントをps原稿で縦印刷で出力したい

Last updated at Posted at 2014-02-20

前提

今回試したのは「HTML -> PDF -> PS -> プリンタ出力」という流れ
* サイズは A4
* 文字エンコードはshift-jis

HTML→PDF変換

wkhtmltopdfを利用

wkhtmltopdf --page-size A4 --orientation Landscape --dpi 100 --encoding shift-jis [HTML ファイル] [PDFファイル]

※Landscpe指定が重要

PDF -> PS変換

acroreadを利用(ver9以降)

acroread -toPostScript -rotateAndCenter [PDFファイル] [PSファイル]

※rotateAndCenter指定が重要 → ver9以降でないと使えないので注意
ver8以前にはlandscpeオプションがあるが、横向き回転のみで出力時に縦で出力されず原稿が途切れてしまう

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4