PDF generator was ignoring format.