Local printing from ACE on SCO UNIX
Posted in 1995
Topics: General Discussion
-> Can anyone tell me how I can set up my local printer from ISQL. I do not -> want to print to a system printer but can see how to do this. I am currently -> printing ACE reports to a file for later printing direct from SCO but this -> is not ideal. Right: if I understand you correctly, you have a printer attached to your terminal / PC being used as a terminal, and you want printed output to go to that device. In order to do this, you must let your reports go to the screen (no REPORT TO section) and in your FIRST PAGE HEADER you must print the control code that opens the printer port. This is typically something like "^[[5i" for ANSI or VT100. (ESCAPE, open square bracket, 5, i) At the end of you report you must send the characters "^[[4i". (ESCAPE, open square bracket, 4, i). ESCAPE is ASCII 27. This string will close the printer port. HTH, billy.wheeler@digitec.co.za