Preview

Command line:
tlapi ‑cPREVIEW [‑psPhase] [‑u] [‑snShow] sPart
Library call:
nStatus = TLpreview (sPart, sPhase, nUpd, nShow)

Function

Preview the partition output pages using the TopLeaf page previewer. It is possible to preview a print image for either the full set of pages from the partition or limited to the set of pages changed in the specified release phase (published or update).

This function is not supported on linux.

Arguments

sPart

The path of the partition to be previewed.

sPhase

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.

nUpd

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

nShow

The Windows showmode for the typesetting progress display. By default, the typesetting dialog will be displayed.

The only useful values are SW_NORMAL (1), SW_MAXIMIZE (3) and SW_MINIMIZE (6).

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

Examples

Command line:

tlapi ‑cPREVIEW ‑pPUBLISH manuals/topix/vol1

Library call:

status = TLpreview("manuals/topix/vol1", "PUBLISH", 0L, 0L);