Expression printer:setup() displays a dialog allowing the user to choose a printer and select various print settings. It returns true if the user presses the button "Print" and false if the user cancels.
printer:setup()
true
false