TIFF2FAX(8)

πŸ’– TIFF2FAX β€” the tiff2fax(8) glow-up πŸ’–

okay bestie, gather round β€” this is a System Manager's Manual page, and it's about turning TIFFs into fax-ready TIFFs. Slay.


✨ NAME ✨

tiff2fax β€” convert TIFF for facsimile transmission by HylaFAX


πŸŽ€ SYNOPSIS πŸŽ€

/var/spool/hylafax/bin/tiff2fax [ options ] file

πŸ¦‹ DESCRIPTION πŸ¦‹

So bin/tiff2fax takes TIFF input and generates a TIFF Class F image file that's suitable for facsimile transmission. Iconic behavior, no notes.

It's usually invoked by the HylaFAX scheduler process, faxq(8). Like, you don't normally call it yourself β€” faxq does, and honestly? Let it. πŸ’…

The default implementation uses the tiffcheck(8) program and tools from the freely available TIFF software distribution to implement the conversion operations. (Yes, it's out here assembling a whole little toolchain. We love a collaborator.)

This script can modify outgoing facsimile, such as watermarking, To do this create a shell script etc/FaxModify in the spooling area that alters the document.

lowkey note: the original really does phrase it like that β€” "such as watermarking, To do this" β€” so we're keeping the facts exactly as-is. If you want to watermark stuff, that's your etc/FaxModify script's whole job, and it goes in the spooling area. 🫢

πŸ’… OPTIONS πŸ’…

The following operations are recognized:

  • -1 β€” Write Group 3 1D-encoded data to the output file.
  • -2 β€” Write Group 3 2D-encoded data to the output file.
  • -3 β€” Write Group 4 MMR-encoded data to the output file.
  • -m pages β€” Set the maximum number of pages that are permitted in the output file. If more pages are present in the input document then abort processing. (yes, it just straight up aborts β€” know that before you set it too low, bestie 😭)
  • -o file β€” Write output to the specified file instead of the default foo.tif filename.
  • -w width β€” Set the output page width, in pixels. By default, pages are 1728 pixels wide.
  • -l length β€” Set the output page length in millimeters. By default, pages are 297 millimeters long.
  • -r vres β€” Set the vertical resolution, in lines/inch, at which to image the POSTSCRIPT.

🌸 FILES 🌸

  • /usr/sbin/tiffcheck β€” TIFF file conversion examiner
  • /var/spool/hylafax/bin/ps2fax β€” POSTSCRIPT RIP for doing complicated conversions
  • /usr/bin/tiffcp β€” for converting compression schemes
  • /usr/bin/tiff2ps β€” for colorspace and/or image size conversions

πŸ’€ BUGS πŸ’€

Not me having to report the tea, but here we are:

  • Conversions that require re-imaging and resizing may result in images that are poorly placed on the page. (slightly unhinged placement, unfortunately 😭)
  • There is no way to control how images are treated when they are resized; e.g. the original aspect ratio is not always maintained. fr fr, your aspect ratio is not guaranteed. Be warned.

🌈 SEE ALSO 🌈

sendfax(1), faxq(8), hylafax-server(5)


That's the whole page, bestie β€” every flag, every default, every path, all of it. Periodt. πŸ’–

This one's from the System Manager's Manual, dated May 12, 1996 β€” shoutout to the HylaFAX source, mwah, and yes, TIFF2FAX(8) is the name on the tin. πŸŽ€βœ¨

πŸ“¦ where this page comes from