Skip to content

Interface: PrintScriptOptions ​

The print options both tiers take.

Extends ​

Properties ​

assetDir? ​

optional assetDir?: string

Directory the emitted script reads image assets from, when assets is 'file'.

Default ​

ts
'./assets'

Inherited from ​

CommonPrintOptions.assetDir


assets? ​

optional assets?: AssetMode

Default ​

ts
'file'

Inherited from ​

CommonPrintOptions.assets


outputPath? ​

optional outputPath?: string

Path the emitted script writes to, resolved against the script's own location.

Default ​

ts
'./output.pptx'

Inherited from ​

CommonPrintOptions.outputPath


packageName? ​

optional packageName?: string

Import specifier the emitted script uses; the template-anchored tier also imports its /read subpath. Defaults to this package's own published name; override it to point a generated script at a local build or a fork.

Default ​

ts
'pptx-ts'

Inherited from ​

CommonPrintOptions.packageName


templatePath? ​

optional templatePath?: string

Path the emitted script loads its template from, resolved against the script's own location. This is the source deck unchanged — fromTemplate strips its slides.

Default ​

ts
'./template.pptx'