Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!usc!cs.utexas.edu!uunet!parcplace!khaw From: khaw@parcplace.com (Mike Khaw) Newsgroups: comp.lang.smalltalk Subject: Re: Screendump from Smalltalk-80 Keywords: screendump, postscript Message-ID: <634@parcplace.com> Date: 13 Nov 89 03:05:18 GMT References: <10446@thorin.cs.unc.edu> Organization: ParcPlace Systems, Mt. View, CA Lines: 23 shan@tlab1.cs.unc.edu (Yen-Ping Shan) writes: > Does anyone have a Smalltalk-80 program that can generate postscript >screendumps? The standard Smalltalk-80 fileset includes a collection of file-ins for printing to PostScript printers in the "printing" subdirectory. One of these file-in has a class method for class "Document", named "doTest3". Change "Form fromUser" to "Display" in "doTest3" to dump the Smalltalk-80 window's contents (exclusive of the host window's border and titlebar, if any) to a file that you name in a pop-up prompter. Version 2.5 also prints the screendump (in portrait orientation) to your attached PostScript printer (I'm not sure that version 2.3 on Unix actually spools to the printer). Add a "document setLandscape." to "doTest3" to print in landscape orientation. Mike Khaw -- ParcPlace Systems, 1550 Plymouth St., Mountain View, CA 94043 415/691-6749 Domain=khaw@parcplace.com, UUCP={uunet,sun,decwrl}!parcplace!khaw