From owner-freebsd-hackers Thu May 15 07:21:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA20288 for hackers-outgoing; Thu, 15 May 1997 07:21:27 -0700 (PDT) Received: from finnan.csv.warwick.ac.uk (finnan.csv.warwick.ac.uk [137.205.148.202]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA20271 for ; Thu, 15 May 1997 07:21:16 -0700 (PDT) From: Mr M P Searle Message-Id: <7214.199705151417@finnan.csv.warwick.ac.uk> Received: by finnan.csv.warwick.ac.uk id PAA07214; Thu, 15 May 1997 15:17:39 +0100 (BST) Subject: Re: URGENT: Printing an X11 screen. How? In-Reply-To: from The Devil Himself at "May 13, 97 07:26:21 am" To: fullermd@narcissus.ml.org (The Devil Himself) Date: Thu, 15 May 1997 15:17:32 +0100 (BST) Cc: Shimon@i-connect.net, freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > On Mon, 12 May 1997, Simon Shapiro wrote: > > > Once upon a time there used to be an wwd-xwud-xpr and somethingtopbm that > > could print an X window or a portion thereof. > > > > Now all I see is xwd and xwud, whose man page refers to xpr which is > > nowhere to be seen. xtopbm from pbmnet only deals with bitmaps. > > > > I need, urgently to dump to a printer a number of X11 screens. How? > Well, the way I do it is: > a) open another window. > b) run vi (or your editor of choice) > c) do the cut 'n' paste thingy (highlight, paste into editor w/ middle > mouse button) > d) save the file to something. > e) lpr -h (file) > > Prob won't work too well for graphics, but for text, it works great. > If you have multiple screenfulls to print, just pipe the initial output to > more (or less), and paste it over a screen at a time. > ImageMagick can do it (by loading a .xwd format file.) (I thought netpbm could as well - maybe you have an old version?)