To print the visible columns of a given view according to your database settings (PDF or HTML)
With this function, you can print a table view in a default layout to a PDF or HTML. So this function equals the printing option in the table settings.
printTable(tableName, viewName)To print the visible columns of a given view to a PDF with a given table name and open the file with a program set as default.
Result: Prints the Open view of the Invoices table to a PDF (if these are your settings).
printRecord, which prints to a PDF from a given record in a given layout and opens the file with a program set as default.