Command line:
tlapi ‑cPRINT [‑psPhase] [‑u] ‑dsDevice sPart
Library call:
nStatus = TLprint (sPart, sPhase, nUpd, sDevice)
Scripting call:
nStatus = Print (sDevice)


Print preview pages for a specific phase. The print image can be selected for the update, publish or current phase. The current phase is whatever phase the partition is currently in.

This function is not supported on linux.

[Warning] Warning

The printed output is the same as the page preview, and may not correspond exactly to the stylesheet format. For production output it is recommended that you create a PDF rendition.



The path of the partition to be printed. The scripting call uses the Partition property to determine the partition to use.


The name of the device used to prepare the output. The output file will contain whatever native instructions are used by this device.


The partition phase from which to take the data. One of INITIAL, PUBLISH, UPDATE or CURRENT. Defaults to PUBLISH, so for a non-looseleaf job it is usual to select INITIAL.

The scripting call uses the Phase property to determine the phase to use.


If non-zero, only changed pages are included in the output. In the command line version, use the ‑u flag to request only changed pages.

The scripting call uses the value of the ChangedPages property to control this behavior.

For additional command line arguments see “Common Flag Arguments”.


Command line:

tlapi ‑cPRINT ‑pINITIAL ‑d\\server\printer manuals/topix/vol1

Library call:

status = TLprint("manuals/topix/vol1", "INITIAL", 0L, "\\\\server\\printer");

Scripting call:

status = topleaf.Print("\\\\server\\printer");