From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,74ef449e068754ed X-Google-Attributes: gidfee84,public From: hassinen@cc.joensuu.fi (Kari Hassinen) Subject: Re: Printing to a lpt(parallel) printer attach to a PC Date: 1996/12/09 Message-ID: <58gfv5$aim@cc.joensuu.fi>#1/1 X-Deja-AN: 203106555 references: <58aavk$9id@news.ecn.bgu.edu> organization: University of Joensuu newsgroups: comp.unix.osf.osf1 system PRIVILEGED account (root) wrote: : Hi everyone:- : I am using Digital Unix 4.0a on Alpha 4100. I was wondering how a user : (in telnet session) can print to his/her printer attach to PC. : If anyone can help me, I will appriciate it . : Thanks. The following script should work if your terminal emulator is smart enough to handle printer controller mode escape sequences: # echo -n 'ESC[5i' #printer controller mode on cat your_file echo -n 'ESC[4i' #printer controller mode off 'ESC' is escape character. Regards, Kari Hassinen