Skip to main content
Skip table of contents

(v13) Using the job name from StartJob and EndJob hooks


This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP.

In StartJob you can get at the file name for the job if you want, using an extension, the filename operator in statusdict. The job file is in serverdict, called stdin, so you can use this code fragment:

serverdict /stdin get 250 string statusdict /filename get exec

This fragment leaves a boolean and substring on the stack.

You can also do other things with the file, such as:

  • Gather statistical information.
  • Transmit information to a remote server.
  • Write a copy of the file to disk.
  • Replace stdin with some other process that deals with stdin in another way.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.