help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printing with paps


From: Jean Louis
Subject: Re: printing with paps
Date: Fri, 6 Jan 2023 18:42:14 +0300
User-agent: Mutt/2.2.9+54 (af2080d) (2022-11-21)

* Gottfried <gottfried@posteo.de> [2023-01-06 16:46]:
> Hi Jean,
> 
> here are all my packages installed in Emacs.
> 
> May be there is something missing.

Nothing is missing.

You need to have paps command first, and I use that one from
Github, I gave you instructions how to download and install it. It
needs system administrator rights `root' or you install it in your
$HOME directory, like in ~/.local/share

If you have paps command, you can write in terminal

$ paps --help

and you will get this output, then let me know if it works, that is first.

Usage:
  paps [OPTION…] [text file]

Help Options:
  -h, --help                        Show help options

Application Options:
  --landscape                       Landscape output. (Default: portrait)
  --columns=NUM                     Number of columns output. (Default: 1)
  --font=DESC                       Set font. (Default: Monospace 12)
  -o, --output=DESC                 Output file. (Default: stdout)
  -v, --version                     Current version.
  --rtl                             Do right-to-left text layout.
  --separation-lines                Do draw separation lines between columns 
and headers and footers.
  --justify                         Justify the layout.
  --hyphens                         Show hyphens when wrapping.
  --wrap=WRAP                       Text wrapping mode [word, char, word-char]. 
(Default: word-char)
  --show-wrap                       Show characters for wrapping.
  --paper=PAPER                     Set paper size [legal, letter, a3, a4]. 
(Default: a4)
  --gravity=GRAVITY                 Base glyph rotation [south, west, north, 
east, auto]. (Defaut: auto)
  --gravity-hint=HINT               Base glyph orientation [natural, strong, 
line]. (Default: natural)
  --format=FORMAT                   Set output format [pdf, svg, ps]. (Default: 
ps)
  --bottom-margin=NUM               Set bottom margin in postscript point units 
(1/72 inch). (Default: 36)
  --top-margin=NUM                  Set top margin. (Default: 36)
  --right-margin=NUM                Set right margin. (Default: 36)
  --left-margin=NUM                 Set left margin. (Default: 36)
  --gutter-width=NUM                Set gutter width. (Default: 40)
  --header                          Draw page header for each page.
  --footer                          Draw page footer for each page.
  --title=TITLE                     Title string for page header (Default: 
filename/stdin).
  --header-left=HEADER_LEFT         Left side of the header. Default is 
localized date.
  --header-center=HEADER_CENTER     Center side of the header. Default is 
localized date.
  --header-right=HEADER_RIGHT       Right side of the header. Default is 
localized date.
  --footer-left=FOOTER_LEFT         Left side of the footer. Default is 
localized date.
  --footer-center=FOOTER_CENTER     Center side of the footer. Default is 
localized date.
  --footer-right=FOOTER_RIGHT       Right side of the footer. Default is 
localized date.
  --markup                          Interpret input text as pango markup.
  --encoding=ENCODING               Assume encoding of input text. (Default: 
UTF-8)
  --lpi=REAL                        Set the amount of lines per inch.
  --cpi=REAL                        Set the amount of characters per inch.
  --g-fatal-warnings=REAL           Make all glib warnings fatal.




-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]