Skip to content

ansi2pdf 0.1.4

Choose a tag to compare

@kaz-utashiro kaz-utashiro released this 11 Nov 04:25
· 6 commits to main since this release

The margin can be given with the paper name, and the default margin is 5 mm.

  • -p a4p:m10 is A4 in portrait with a margin of 10 mm, and -p a4:m0 is A4 without a margin. The margin follows the paper name after :m, the same as -m, and the last of -m and such a paper name is used.
  • The default margin is 5 mm. It was 10 mm, which is for printing and binding, and is too wide to read the PDF on a screen. The same options now give a slightly larger font and fewer columns; give -m 10 for the margin of the earlier versions.

With the orientation (a4p, a4l), this tells how to use the paper in one word, which nup -T of App-nup gives to ansi2pdf as it is.

Install:

npm install -g github:tecolicom/App-ansi2pdf
# or
brew install tecolicom/tap/app-ansi2pdf

The version is before 1.0, and incompatible changes may be made.