How to find legal 'PrintPort'
Posted on 1997-04-17
Hello, I want to transfer an already preformatted PRN file (all printcodes are already in the file, so no printchars should be added) to the 'currently chosen printer'. The problem I encounter is that only printers that are connected to a (LPT) port are working fine, because I tried it the 'usual' (?) Turbo pascal way, by assiging the printerport (AssignFile(deviceptr, CharP(PrinterPort))
The problem is that when a Printer is not connected via a LPT Port but directly to a Print Queue, this will not work, because you cannot 'open the queue'.
Is there a better way to redirect the preformatted files to the printdevice?
Thanx in advance!