Skip to content

dos_getprn

Dale Fugier edited this page Jul 1, 2026 · 1 revision

Returns the current, or default, Windows printer.

Syntax

(dos_getprn)

Returns

A string identifying the current Windows printer if successful.

nil on error.

Example

Command: (dos_getprn)
"HP LaserJet 8100 Series PCL"

Clone this wiki locally