Used with the open file, read from file, write to file, and close file commands to specify the line printer (parallel) port on Windows.
# Metadata
Platforms: desktop, server OS: windows Introduced: 2.0 Security:
# Syntax
LPT1:
# Examples
write myData to file "LPT1:"
# Description
To read data from the parallel port, use the read from file command, specifying the keyword LPT1: as the file to read from.
To write data to the parallel port, use the write to file command.
# Tags
# See
- **command:** write to file, close file, open file, write to driver, read from file - **glossary:** keyword, Windows, command, port - **keyword:** COMn: