m_open_printer
This call initializes the active printer's character translation table, establishes the baud rate, and prepares the communication channel (serial port) to converse with the printer.
- Syntax: void m_open_printer()
- Parameters: None
- Returns: None
- Related Calls: m_init_printer is not necessary before this call.
m_close_printer must be called to release the printer when done.
- Comments: The active printer character translation table is determined by the
current setting of PrDriver in the SETTINGS data structure.
A value of 0 = Epson FX-80
1 = HP LaserJet II and HP DeskJet
2 = IBM ProPrinter
The default setting in the Setup application is 1.
The current character translation table may be changed by the user by
selecting a new printer type through the Setup application.