Skip to main content

getCurrentPrintJob

Get the current print job.

Parameter​

KeyTypeDescription
printerstringPrinter ID. Required if more than one printer is available.

Return value​

Null if nothing is selected, or Print job object.

A job selected with copyLabel returns the copied label as labelData, with the name of the label it was copied from as copiedLabelName v6.0. copiedLabelName is not a print job parameter, so passing the object back to selectPrintJob selects the copy, not the label by name.

description is left out if the job was selected without one v6.0. Before v6.0, it was then an empty string.

A round-robin job, one selected with labelColumns, also returns roundRobinStep, the number of labels of the current sequence that have been printed, which is also the index in labelColumns of the next label to print v6.1. Its labelColumns are only those that had a label in the row when it was selected.