GJOTS2LPR(1)
π NAME π
gjots2lpr β export gjots2 or other txt files to PDF or PS π¦
β¨ SYNOPSIS β¨
gjots2lpr [ -124fhmptv ] [ filename ... ]
π DESCRIPTION π
Okay so bestie, here's the whole vibe: gjots2lpr prints a text file for you β and like, it tries to do it the fancy way, using postscript or PDF plus whatever pre-viewers and printer dialogs it can find lying around. It goes looking for utilities on your system and just uses whatever it can actually find. Resourceful queen behavior honestly. π
And if you don't hand it a filename? No worries, it just prints from STDIN. Periodt.
Here are the flags, no gatekeeping:
-1β 1 page per sheet-2β 2 page per sheet-4β 4 page per sheet-fFORMATTER β use FORMATTER, which is one ofa2ps,enscriptormpage-mMEDIA β paper size (the default isA4)-pβ convert to PDF rather than PS-tβ stick to ASCII text, do not convert to postscript-vβ verbose operation (it tells you everything, main character energy β¨)
π ENVIRONMENT PARAMETERS π
These environment parameters are recognised, and they come with default values, so you're never left on read:
GJOTS_LPRβ"xpp","gtklp","kprinter"or"lpr"GJOTS_TXT2PSβ"a2ps --medium=A4 --margin=1 --header --center-title='' -2 --output=-","enscript --borders --output=- --media=A4 -2 --header='%D %T||Page $% of $='"or"mpage -bA4 -X'' -f -2"GJOTS_PS2PDFβps2pdfGJOTS_PSVIEWERβ"evince","kghostview","kpdf","ggv"or"gv"GJOTS_PDFVIEWERβ"evince","acroread","kpdf"or"xpdf -z page"GJOTS_PRETTYβ"pr -o 1 -T"or"cat"GJOTS_TXTVIEWERβ"Xdialog --ok-label Print --textbox - 80 120"or"xmessage -buttons Cancel:1,Print:0 -file -"
and that's the whole page, bestie π β¨
This one's gjots2lpr 2.3.15, dated September 2011 β yeah, she's been iconic for a minute, we love a legacy queen ππΈ no cap, go print something cute π«Ά
π¦ where this page comes from
- ubuntu jammy: gjots2 3.1.9-0ubuntu1
- ubuntu noble: gjots2 3.1.9-0ubuntu2
- ubuntu resolute: gjots2 3.1.9-0ubuntu2
- ubuntu stonking: gjots2 3.1.9-0ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms