Re: Local Printing in Informix Environment
Posted in 1994
nick_ganesan@CTS.db.erau.edu ("nick ganesan") writes: > > Can anyone tell me what I need to do to perform local printing > (Printer attached to a terminal/PC (terminal emulation) via > 4-GL and or/DB-Access > You can pipe the print job to a script similar to the following: # # Script for local portrait laser printing, 80 columns wide # echo "Printing Started" echo "\\033[5i\\033E\\033&a0L\\033&l0o7.27c66F\\033(0U\\033(sp12h12vsb6T" #local reg for file in $* do cat "$file" 2>&1 echo "\\f\\c" done echo "\\033[4i" # local print off echo "Printing Complete" This assumes that you are using Unix as the operating system. -- Gabriel Beccar-Varela Internet : gabriel@netcom.com Voice : (510) 654-2030 Fax : (510) 654-3182