Skip to main content
Skip table of contents

(v13) MountLocal in the HqnControl procset

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

Calling this procedure will mount a device called %.% based on the directory from which the current file at the time is being read. This makes it easy to run other files in the same directory, e.g.:

/HqnControl /ProcSet findresource /MountLocal get exec (%.%/TheRealContent.PDF)(r) file pdfexec

The mounted device is marked as searchable. This means that, if resources sub-directories are present in the directory, then the resources in them will be accessible to the RIP. Thus, if TheRealContent.PDF requires a font called Boojum-Bold and that font is available in a sub-directory called fonts, the RIP will find it automatically.

If MountLocal is called more than once from the same local directory only the first is acted on

Calling it a second time from a different directory will trigger an invalid-access error.

NOTE: MountLocal should not be used in a JSON configuration.

JavaScript errors detected

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

If this problem persists, please contact our support.