LPT1 LPT2 LPT3 LPT7 ...why do not use textmerge to create a text file containing the text you want to print and then send this text to the printer
* <i>Here goes the lines for creating the txtmerge.dat file</i> Set TextMerge TO <i>c:\temp\txtmerge.dat</i> * <i>USE "\" instead of "?" and "\\" instead of "??", e.g: </i> \Some text written on \\<< date() >> Set TextMerge To * <i>Finished creation of txtmerge.dat file</i> lcTextToPrint = FileToStr('<i>C:\temp\txtmerge.dat</i>') lnPrintHandle = FOPEN('LPT<i>1</i>', 2) &&Open Printer - let it be on port LPT1 for buffered write-only access FWRITE(lnPrintHandle, lcTextToPrint) FCLOSE(lnPrintHandle) * Repeat above when necessary - why not move it to a UDP (user-defined procedure)?Hope this is useful info to you
Make solutions, not programs!