Documentation
On this page

Function · Desktop Services

printFile

Sends a local file to the operating system's print workflow.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Signature

TypeScript
printFile(path: string): Promise<void>

Parameters

NameTypeDescription
pathstringLocal file path to print.

Returns

Promise<void> — A promise completed after the native print request is submitted.

Source

SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1477 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.