🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5933

Printing Text+Image file

#5933
From: Gautham
Date: Tue, 15 Dec 1992 15:42
58 lines
1601 bytes

HELP..

We have this Postscript code, which we use to print
Raw image files <Gray Scale>, we would like to know what modification/ code
we have to do to include a <one line description> of an Image. 


**************************************************************
%!
% The image file is of the format: 128X128

/inch {72 mul } def
/width 128 def
/height 128 def
/finalwidth 3 inch def
/picstr width string def

/dopic
{gsave
	width height 8
	[width 0 0 height neg 0 height]
	{currentfile picstr readhexstring pop}
	image
 grestore
}def
%----------------------------------------------
85 85 translate
finalwidth
finalwidth width div height mul scale


dopic


< 128*128  Hex Values >

showpage

**************************************************************

We tried including the following code with the above

50 650 moveto
(Description) show


We are using "pageview" on SPARC to view the result, and we are
able to view the description + image.  

The problem we face is when we try to print the same, we do not
get any output..!!..

thanks in advance.

gautham gvm@pandora.cs.wayne.edu
sriram ras@pandora.cs.wayne.edu
Technical Details
Message-ID: <1992Dec15.154200.23690@cs.wayne.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!wsu-cs!pandora.cs.wayne.edu!gvm

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!wsu-cs!pandora.cs.wayne.edu!gvm
From: gvm@pandora.cs.wayne.edu (Gautham)
Subject: Printing Text+Image file
Message-ID: <1992Dec15.154200.23690@cs.wayne.edu>
Sender: usenet@cs.wayne.edu (Usenet News)
Reply-To: gvm@pandora.cs.wayne.edu (Gautham)
Organization: Wayne State University, Detroit
Date: Tue, 15 Dec 1992 15:42:00 GMT
Lines: 60