I am trying to print to a file and embed printer control codes in the file. Whenver I try to do something like ???chr(15), I get the printer not ready error message. It appears to me that the program is trying to send the control code to the printer (the printer that is returned by set('print',3) )rather than the file. Set('print',1) is my file name, set('print',2) is the default windows printer and set('print',3) is my regular VFP printer. Is there a way around this? I must confess that this printing setup is very confusing to me. My ultimate aim is to use rawprint to print. Any help will be greatly appreciated.
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!