I'm running a simulation. After the simulation runs, I have a line of code to convert the .htm output into a .pdf file (see example 1). The command works but the .pdf file is poorly formatted. Parts of the top and bottom and all of the right hand side are missing and file doesn't start each graph on a new page.
I had a command line that used to work in Lion (see example 2) but it doesn't work in Mountain Lion (see error msg for example 2).
Example 1: command works but .pdf not formatted
/usr/sbin/cupsfilter -f "`htm_loc_file'.htm" -a landscape -o "`htm_loc_file'.pdf"
Example 2: command and error message (Mountain Lion)
/System/Library/Printers/Libraries/convert -f "`htm_loc_file'.htm" -a landscape -o "`htm_loc_file'.pdf"
Error msg
/bin/bash: /System/Library/Printers/Libraries/convert: No such file or directory
I had a command line that used to work in Lion (see example 2) but it doesn't work in Mountain Lion (see error msg for example 2).
Example 1: command works but .pdf not formatted
/usr/sbin/cupsfilter -f "`htm_loc_file'.htm" -a landscape -o "`htm_loc_file'.pdf"
Example 2: command and error message (Mountain Lion)
/System/Library/Printers/Libraries/convert -f "`htm_loc_file'.htm" -a landscape -o "`htm_loc_file'.pdf"
Error msg
/bin/bash: /System/Library/Printers/Libraries/convert: No such file or directory