How does TAsciiPrinter use the selected port?
The way ports are used depend on the print method. Direct Printing to Port. Specifying LPT1, LPT2, COM1,2,3,4 or FILE is self explanatory when spooling direct to the port, providing TAsciiPrinter can open the port and find a printer there which is not a WPS printer only. Specifying poCurrent or DEFAULT as the Demo suggests, uses the port of the current windows printer. Use Windows Print Spooler. Specifying LPT1, LPT2, COM1,2,3,4 looks through the current windows printers, and selects the first printer it finds using the required port, then use the windows printer spooler to that printer. Specifying FILE is self explanatory. Specifying poCurrent, use the windows print spooler of the current windows printer.