FAXINFO(8C)
π NAME π
okay bestie, meet faxinfo β she prints information about a received facsimile. that's it, that's her whole job, and she does it flawlessly. no cap. π
β¨ SYNOPSIS β¨
three whole moods, pick your fighter.
Basic usage
/usr/bin/faxinfo [ -b ] [ -n ] [ -D ] file.tif [ file2.tif [...] ]
Formatting shortcuts
/usr/bin/faxinfo [ -C delim | -c delim | -r ] file.tif [ file2.tif [...]
]
Raw formatting
/usr/bin/faxinfo [ -S fmt ] [ -s fmt ] [ -e fmt ] [ -E fmt ] file.tif [
file2.tif [...] ]
πΈ DESCRIPTION πΈ
so faxinfo prints descriptive info to standard output about a received facsimile file. like, it just tells you things. for example:
/var/spool/hylafax/recvq/fax00017.tif:
Sender: +14159657824
Pages: 3
Quality: Normal
Page: North American Letter
Received: 1996:01:19 13:51:02
TimeToRecv: 0:39
SignalRate: 14400 bit/s
DataFormat: 2-D MR
ErrCorrect: No
CallID1: 4159657824
CallID2: 1000
this info is typically included in the notification mail that the faxrcvd(8C) script generates when a facsimile is received by HylaFAX. she's not just printing for fun, she's feeding the whole notification pipeline. iconic behavior honestly. π
-nβ suppresses the printing of the filename. gone. not invited. π-bβ strips any leading directory of the filename before printing. just the file, no path drama. βοΈ-Dβ prints the actual print strings being used, for debug purposes. main character energy for when you need to see behind the curtain. π
π Formatting shortcuts π
-C delimβ sets the format to a quoted CSV. it's a shortcut to-S '"%s"' -s ',"' -e '"' -E '\n'π¦-c delimβ sets the format to a CSV. shortcut to:-S '%s' -s ',' -e '' -E '\n'β-rβ sets the format to raw values. shortcut to:-S '' -s '' -e '0 -E ''π₯
π Raw formatting π
-S fmtβ used to start each fax. it is passed one parameter, the fax file name. π«Ά-s fmtβ used to start each field. it is passed one parameter, the field name. π-e fmtβ used to end each field. it is passed one parameter, the field name. πΈ-E fmtβ used to end each fax. it is passed one parameter, the fax file name. π
π NOTES π
the info faxinfo prints comes from the tags stored in the TIFF image that the HylaFAX software writes. so if you hand her an invalid TIFF image, she may print uninteresting information β not a vibe, but that's the deal. π
same energy if you feed her a TIFF image that was not written by HylaFAX: only partial information may be printed. this is because HylaFAX stores certain information in private tags that other TIFF writers may not emit. it's giving exclusive. π
using the raw fmt options lets you directly control the print format strings used to format the output. these format strings are passed directly to printf, with basic \<char> sequences being interpreted β including \n, \r, and \t β and they can be used to make the output conform to specific requirements, like peculiar CVS, tables, HTML, etc. yes bestie, you can absolutely make it output HTML. go off. π§
β οΈ the order of the options is important. they are parsed from first to last, and any later options will override settings of previous ones. so like, last one wins. periodt. π
π¨ ERRORS π¨
faxinfo returns 0 on success and 1 if the file passed as argument is not valid. binary queen β either she ate or she didn't. π
π SEE ALSO π
hylafax-server(5F), faxrcvd(8C), faxgetty(8C)
and that's the whole page, bestie β¨ this one's from FAXINFO(8C), dated November 15, 1996 β old but still slaying fr fr πππ¦
π¦ where this page comes from
- fedora 43: hylafax+-client 7.0.11-4.fc43 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 43: hylafax+-client 7.0.11-4.fc43 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hylafax+-client 7.0.11-5.fc44 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hylafax+-client 7.0.11-5.fc44 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- Copyright (c) 1995-1996 Sam Leffler
- Copyright (c) 1995-1996 Silicon Graphics, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms