🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #1337

PostScript beginner needs help with "image" command

#1337
From: Mark Frost
Date: Fri, 17 Nov 1989 21:17
41 lines
1951 bytes
Hello. I'm very new to postscript. I've been trying to get a 512x512 pixel
bitmap to print on our LaserWriter IINT. For some reason or another, I can
only get 256x256 images to print. When I do a 512x512 all I manage to get
is a blank page. I tried a 256x512 once and got a few pixels on either side
of the page, but the center of the image was blank. I've tried this with
8 bit per sample (the way I get the data from another machine) and 4 bits
per sample. I'm currently trying to scale it down to 1 bit per sample in
hopes that this will help.

The basic code that I'm using is

%!PS-Adobe-1.0
100 400 translate
200 200 scale

512 512 4 [512 0 0 -512 0 512]
{<
...OODLES of hex bytes go here...
>} image
showpage

I've had to print out several 256x256 pages and cut and paste (literally).
The little knowledge I have is from the 2 postscript manuals from adobe
(the "red book" and the "blue book"). As I'm not trying to learn all
about postscript I haven't read them cover to cover. I just need to make 
this one project work.

Can anyone out there help me? E-mail me if you can.

Thanx!

Mark Frost
	Office of the the Computing Coordinator
	Humanities Division
	University of California at Santa Cruz
	Santa Cruz, California 95064
	(408) 459-4603
Internet: humtech@ucschu.UCSC.EDU
Bitnet: humtech@ucschu.bitnet
Uucp: ...!ucbvax!ucscc!ucschu!humtech
Technical Details
Message-ID: <9790@saturn.ucsc.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!rutgers!ucsd!ames!sun-barr!cs.utexas.edu!usc!sdsu!genbank!agate!saturn!ucschu.ucsc.edu!humtech

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!rutgers!ucsd!ames!sun-barr!cs.utexas.edu!usc!sdsu!genbank!agate!saturn!ucschu.ucsc.edu!humtech
From: humtech@ucschu.ucsc.edu (Mark Frost)
Newsgroups: comp.lang.postscript
Subject: PostScript beginner needs help with "image" command
Keywords: image bitmap postscript
Message-ID: <9790@saturn.ucsc.edu>
Date: 17 Nov 89 21:17:04 GMT
Sender: usenet@saturn.ucsc.edu
Reply-To: humtech@ucschu.ucsc.edu (Mark Frost)
Distribution: na
Organization: Humanities Division, UC Santa Cruz
Lines: 41