Update getSupportedFormats.js

changed getSupportedFormats() to getSupportedPrintFormats()