>What if my printer is not LPT1 and its a network printer, what would be the best way to send a file to the default printer?
Few things can help you here:
Set('printer',2) return name of default printer
APRINTERS(myarray) returns 2-din\mensional array of printer names and their ports.
So, you get the array, scan it for the name of printer, get port and use COPY FILE.
Edward Pikman
Independent Consultant