Used with the open file, read from file, write to file, and close file commands to specify the printer port on Mac OS.
# Metadata
Platforms: desktop, server OS: Introduced: 1.0 Security:
# Syntax
printer:
# Examples
open file "printer:"
# Description
To set the port parameters (such as baud rate, handshaking, and parity), set the serialControlString property before opening the port with the open file command.
To read data from the printer port, use the read from file command, specifying the keyword 'printer:' as the file to read from.
To write data to the printer port, use the write to file command.
To use the modem port on Mac OS systems, use the 'modem:' keyword. (LiveCode does not support additional serial ports.) To use serial ports on Windows, use the COMn: through COMn: keywords.
# Tags
# See
- **property:** serialControlString - **keyword:** COMn: - **command:** write to file, close file, open file, write to driver, read from file - **glossary:** property, keyword, Windows, command, Mac OS, port