UNIPRINT(1)
β¨ UNIPRINT(1) β the uniprint page, LINUX COMMANDS, section 1 β¨
okay bestie, gather round, because this one is genuinely a little icon π
πΈ NAME πΈ
uniprint β makes postscript output from Unicode text so you can actually print it. yes. that's the whole job. she's a specialist. π
π SYNOPSIS π
uniprint [ -out output-file ] [ -in input-file ] [ -decode encoding ] [
-printer printer ] [ -L ] [ -media media ] [ -us ] [ -nus ] [ -break ] [
-wrap ] [ -left ] [ -right ] [ -size font-size ] [ -hsize header-font-
size ] [ -font font-set ]
like, that's the whole vibe check right there. all the knobs. all of them. π₯
π¦ DESCRIPTION π¦
uniprint is a program from the yudit package. she makes a formatted poscript output that you can either save or yeet straight at your printer. π
and here's the tea: the program needs TrueType/OpenType/CFF fonts that have a Unicode table in order to operate. no Unicode table, no printing. that's just the rules, bestie. π
if you're running Linux you most probably already have Unicode TrueType/OpenType fonts chilling in /usr/share/fonts. so like, go check. she's probably there. π«Ά
the postcript output contains all the information needed to draw glyps. so no fonts are needed on the printer side at all β she embeds everything. main character energy. β¨
β οΈ but ngl, you may encounter problems with old ghostview or old printers. ancient tech is not slaying today, sorry. π
π OPTIONS π
okay this is the part where we go through every single one, no skipping, periodt.
-outouput-fileβ do not send the output to the printer, put it in the file instead. (yes, the argument is spelledouput-filein the original, i'm not touching it, that's her name now π ) and if you specify the-character, she sends the postscript data to the standard output. iconic behavior.-ininput-fileβ if specified, read the document from a file. otherwise she readsstdin. yes bestie, she's pipeable. π-decodeencodingβ specifies the encoding of the input text. every encoding method that is available foruniconvcan be used. if you don't specify it, the encoding is set toutf-8. default slay. β¨-printerprinterβ send the postscript output to printer through thelpr -P Printercommand.-breakβ option makes this program print a graphical representation of line breaking characters. lowkey so useful for debugging. π-usβ option turns on uniscribe emulation. for some scripts emulation is turned on by default anyway.-nusβ option turns off uniscribe emulation. for some scripts emulation is turned off by default.-wrapβ option makes this program do a simplistic line breaking on word boundaries.-leftβ option sets the embedding of the document to Left.-rightβ option sets the embedding of the document to Right.-Lβ selects landscape printing. the default is portrait.-mediamediaβ sets paper size. the default isA4. the following media values are accepted:A3,A4,A5,B4,B5,Executive,Folio,Ledger,Legal,Letter,Quarto,Statement,Tabloid. pick your fighter. π₯-sizefont-sizeβ sets the size of the font for the text body in points.-hsizeheder-font-sizeβ sets the size of the font for the header in points. (again, that's the original's spelling of the placeholder, we respect it π«‘) if zero size is specified, no header is printed.-fontfont-setβ specifies the font to be used for printing.
font-set is the filename part of the font, like Arial.ttf, or a font set defined in yudit.properties as yudit.font. for instance the Terminal font-set that contains ipag.ttf,unifont.ttf can be used if you have the following property in yudit.properties:
yudit.font.Terminal=ipag.ttf,unifont.ttf
by default ~/.yudit/fonts, yudit.fontpath and /usr/share/yudit/fonts are searched for font files. this option can be specified multiple times with font file names, or only once if a yudit font-set is used. iykyk. π
π FILES π
~/.yudit/yudit.propertiesand/usr/share/yudit/config/yudit.propertieshaveyudit.fontpathand the font-sets defined.
like, that's where the whole font situation lives. go look, bestie. π§
π SEE ALSO π
uniconv
her sibling. go say hi. π
π AUTHOR π
this program was written by gaspar@yudit.org (Gaspar Sinai), based upon the TrueType curve conversion code of the ttf2pfa program that was written by Adrew Weeks. Last Updated Tokyo, 5 February, 2023. πΌ
and that's the page!! this one comes to you from the LINUX COMMANDS manual, dated Nov 25 1997 β yes, a genuine vintage baddie, still serving. no cap. π β¨π
π¦ where this page comes from
- debian bookworm: yudit 3.1.0-1 Β· GPL-2.0-or-later
- debian trixie: yudit 3.1.0-1 Β· GPL-2.0-or-later
- fedora 43: yudit 3.1.0-2.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later
- fedora 44: yudit 3.1.0-3.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later
- ubuntu noble: yudit 3.1.0-1 Β· GPL-2.0-or-later
- ubuntu questing: yudit 3.1.0-1
- ubuntu resolute: yudit 3.1.0-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: yudit 3.1.0-1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms