Quantcast
Channel: FiveTech Software tech support forums
Viewing all articles
Browse latest Browse all 26212

Print-preview with different results ?

$
0
0
SayText() and PrintImage() are new methods. Among other things they are also meant to reduce the need for calculations by the programmer. Method SayText() can print multi-line texts or array of text strings. After printing, the method returns the last row printed. The programmer can continue printing from the returned row without having to calculate the row to start printing the next item. The coordinates can be specified in any unit and the return value will be in the same units. Example usage: nRow := oPrn:SayText( nRow, nCol, cText/aText, ) nRow := oPrn:PrintImage( nRow, nCol, cImageFile, ) Command syntax is available from 16.04 onwards and we advise using the command syntax [code=fw:1b6l7n70][/code:1b6l7n70] We can also specify units as pixel (default) or MM, CM, INCHES. Return value will be in the same units. These methods are not compatible with older printers like dot-matrix, etc. On printers that support Alpha, it is possible to print Images like water mark and print other text/images over them, We introduced these functions recently and welcome feed back on compatibility with different printer drivers and suggestions for improvement. After testing during last month we found the need to make a few corrections we shall provide the corrections.

Viewing all articles
Browse latest Browse all 26212

Trending Articles