All apps/a2ps

a2ps

a2ps

a2ps formats files for printing on a PostScript printer.

Runs as a2ps|macOS, Linux, Windows|www.gnu.org

Command form

ai-draft · 2 tasks · 14 fields

Convert files to PostScript for printing or saving with a2ps. Delegations, encodings and custom prologues are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui a2ps
Format for printingExample values, fixed in this page — nothing here reaches a terminal
Basic
Files*
file
Output file*
file
Syntax highlight language
string
Landscape
--landscape
Advanced
Line number interval
integer
TasksEach one presets the form for one job
Source file to PostScript
filesoutputpretty_printline_numberslandscape
Print to a printer
filesprintercopiessidescolumns
ParametersOnly these flags are editable in the form
Files
Reads standard input when empty.
path · positional 0 · repeatable
Output file
Write PostScript here instead of sending it to the default printer.
path
--output-o
Printer
string
--printer-P
Columns per sheet
integer
--columns
Rows per sheet
integer
--rows
Landscape
boolean
--landscape-r
Portrait
boolean
--portrait-R
Syntax highlight language
Leave empty to disable.
string
--pretty-print
Tab size
integer
--tabsize-T
Job title
string
--title-t
No page header
boolean
--no-header-B
Copies
integer
--copies-n
Duplex mode
enum
--sidessimplexduplextumble
Line number interval
Precede every N lines with its line number.
integer
--line-numbers
SourcesEvery flag above is checked against these
man
-o, --output=FILE leave output to file FILE. If FILE is `-', leave output to stdout. -P, --printer=NAME send output to printer NAME -r, --landscape print in landscape mode -R, --portrait print in portrait mode --columns=NUM number of columns per sheet --rows=NUM number of rows per sheet -T, --tabsize=NUM set ta…
manual2026-10-27

man.archlinux.org

Before it fills your prompt, Otty checks the installed a2ps against its version. A form that does not match your version is not offered.