Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!ucsd!ucsdhub!hp-sdd!hplabs!hpda!hp-sde!hpfcdc!hpfcmr!glen From: glen@hpfcmr.HP.COM (Glen Robinson) Newsgroups: comp.graphics Subject: Re: HP 9000 Screen Dump to HP Laser printer Message-ID: <650001@hpfcmr.HP.COM> Date: 27 May 88 14:19:38 GMT References: <286@gt-eedsp.UUCP> Organization: HP Fort Collins, CO Lines: 24 / hpfcmr:comp.graphics / keith@tut.cis.ohio-state.edu (Keith Boyer) / 6:16 am May 26, 1988 / >In article <286@gt-eedsp.UUCP> jensen@gt-eedsp.UUCP (P. Allen Jensen) writes: >>I need a program to do a screen-dump from an HP9000c320. The images are >>being done in gray-scale. The hard-copy devices I have to choose from >>are an Apple Laserwriter Plus, an HP Laserjet, and a QMS Laserprinter. >>The software should be free and I need source. >>Thanks >>P. Allen Jensen >If I understand your request correctly and if you're running HP-UX then the >answer is simple. There is a sample program in /usr/lib/formatters/pcl, I >beleive, that uses starbase library calls to do this. It works with the HP >Laserjet as well as other printers such as Line Printers. The name of the >program is bmprint. You have to play with the associated configuration file >to get what you want, but its pretty straight forward. ---------- You can also use an HP-UX command pcltrans if you use a starbase library call to create a starbase format bitmap file. The starbase bitmap file takes about 5 - 15 seconds to create (it contains header, colormap, and frame buffer data). Then you can fork a child process that invokes pcltrans allowing your current program to continue while the work of doing the error diffusion et. al takes place in the (orphaned) child. Glen Robinson