The new GDI printing directive XTEXT permits printing a text or RTF file via XTEXT into a specified rectangle.
//XTEXT, left, top, right, bottom, fspec {, offset}
left, top, right, bottom
define the printing boundaries, using the current map mode.
fspec
file to print; it must be a plain text or RTF file.
offset (default 0)
starting character offset within the file where printing will begin. This is mainly of use if you have to split the output into multiple //XTEXT rectangles.
The output will be wrapped, if necessary, to fit within the left and right boundaries of the rectangular area, and will be clipped if it goes beyond the bottom limit. See MX_GDICALC for a method of determining in advance how much of the file will fit within the area.
WARNING: //XTEXT currently works only in portrait mode.