Prints the named file on the named printer (on the default server), using the given title. Options may be passed as an array of strings of the form "option=value" or as a hash of options and values (again expressed as character strings). Returns the job number, or 0 on error.
Refer to the CUPS documentation for more details of these operations, including a list of valid printing options.