After having a few problems getting the printer to work reliably I figured out a much nicer way to do it without a printer driver.
On the mac on the print dialogue there is PDF drop down button that allows you to save to PDF.
Using automator which comes with OSX there is a few easy steps to add YajHFC to this list.
JAVA=`which java` $JAVA -jar /Applications/YajHFC/yajhfc-0_4_2.jar "$1"
/bin/bash
and Pass Input is
as arguments
Original HOWTO created by Barnaby Puttick, converted to HTML by Jonas Wolz
Last modification: Monday, 12-Dec-2016 11:51:54 CET