Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!ihuxy!bamford From: bamford@ihuxy.UUCP (Bamford) Newsgroups: net.micro.att Subject: Re: 7300 shift print escape sequence Message-ID: <1427@ihuxy.UUCP> Date: Fri, 13-Jun-86 14:17:56 EDT Article-I.D.: ihuxy.1427 Posted: Fri Jun 13 14:17:56 1986 Date-Received: Tue, 17-Jun-86 19:05:07 EDT References: <886@hounx.UUCP> <495@hropus.UUCP> Distribution: net.unix Organization: AT&T Bell Laboratories Lines: 19 > If you are trying to dump the screen of a terminal connected to the > phone or rs232 port, I think you are out of luck, as UNIX has no idea > what's on it, at least at the kernel level. As you probably know, the > console screen is memory mapped, so when you press the shift-print > key, it wakes up a system daemon that reads this section of memory > and formats it for an epson and sends this data to the lp spooler for > printing. Now if it were Berkeley.... :-) There is an ioctl() call to get an array filled with the screen's image. There is, however, no indication of the layout of that array so dumping it to a printer is a lost cause. If somebody can explain this layout, then screen dumps can be done from a program... -- Harold Bamford AT&T Bell Labs (cornet) 8-367-5744 Naperville, Ill (312) 979-5744