XTEXT enhancement: New opcode/flag: TXOPF_PRINT (&h010) may be added to TXOP_CREATE (1) or TXOP_REEDIT (2) to print an XTEXT document (independently of anything else and outside of the normal A-Shell printing subsystem).
The combination TXOP_CREATE + TXOPF_PRINT can be used to print an XTEXT document from the source (file or buffer), while TXOP_REEDIT + TXOPF_PRINT can be used to print an XTEXT document that is currently open and displayed.
You may specify the target printer (using standard Windows printer name syntax) by adding the following clause to the fmtdef parameter:
Printer=name
where name is the descriptive name of the printer, as it appears in the print manager control panel applet. If there are other clauses in the fmtdef parameter, terminate this one with a "~" or ",". If no printer is specified, the current default printer is used.
You may also request to have XTEXT display a standard printer select dialog by setting the flag TXF8_SEL_PTR_DLG (&h10000000) to the txc'flags8 field in the txtctl parameter.
If the printer dialog option is not select, then printing via TXOP_CREATE + TXOPF_PRINT will not display the XTEXT.
The XTEXT.DEF file has been updated with the new symbols.
Note that for ATE, this feature requires updating both the server and ATE client.