FILE ARBOR - PRINT FILES AUTOMATICALLY (MAC)
============================================

Every file you put in a folder you choose is printed on your default printer,
then deleted.

- .pdf .txt: printed as they are.
- .jpg .jpeg .png .heic .heif .gif .bmp .tif .tiff .webp: printed fitted to the
  page; multi-page TIFF scans print every page.
- .doc .docx .rtf .odt: need LibreOffice, which is free (libreoffice.org),
  installed in the Applications folder.

What you need: File Arbor Pro (the "Run command" action and Auto mode are Pro
features).
Full guide: https://filearbor.com/blog/automatically-print-files-in-folder


SET IT UP (once)
----------------

1. Install File Arbor from filearbor.com/download.

2. In Finder, choose Go > Home. Create a folder named FileArbor there and copy
   print-files.sh into it.

3. Create the folder you'll print from, for example "To print" on your Desktop.

4. In File Arbor: Dashboard > Add Folder > choose "To print".

5. Rules > Import > choose print-automatically.json.
   Tick the rule "Print automatically" (it starts unticked because it runs a
   command) and click "Add 1 rule".

6. Back on the Dashboard, on the "To print" folder click "Manage Rules" and
   tick "Print automatically".

7. Still on the "To print" folder, switch the mode to "Auto".

Test it: copy a PDF into "To print". A few seconds later it comes out of the
printer and disappears from the folder.


WHAT HAPPENS TO THE FILES
-------------------------

- Printed: the file is deleted.
  To keep it instead, open print-files.sh in TextEdit and change
      DELETE_AFTER_PRINTING=1
  to
      DELETE_AFTER_PRINTING=0
  Printed files then go to FileArbor/Printed.

- Not printed (a Word document without LibreOffice, a damaged image, or a type
  it doesn't handle): the file goes to FileArbor/Not printed.
  The reason is in File Arbor: History > Command runs.

- Files print one at a time, in the order they arrive.


GOOD TO KNOW
------------

- Printing goes to the default printer: System Settings > Printers & Scanners
  > Default printer.

- Only files placed directly in the folder are printed, not files inside its
  subfolders.

- The Mac must be awake and you must be logged in. You can close the File
  Arbor window: it keeps working from the menu bar.
