🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4304

Landscape Image File

#4304
From: generic guest account
Date: Thu, 20 Dec 1990 21:35
47 lines
1467 bytes
I have a PostScript file of a color image that I would like to have
printed in landscape format instead of portrait format.  It currently
prints in portrait format without problems.  To change to landscape, I
inserted the following at the top of the file after Initgraphics:

90 rotate
0 -8.5 inch translate

Unfortunately, after making this change, nothing comes out of the printer.

Any ideas on what I am doing wrong?

Please reply to me at: jrh@techctr.deere.com
or follow up with another post.

Thanks.

John



The version that works looks like:

initgraphics

/rstr 585 string def
/gstr 585 string def
/bstr 585 string def

45.000000 567.000000 translate
702.000000 -522.000000 scale
1.000000 1.000000 scale
585 435 8
[585 0 0 -435 0 435]
{currentfile rstr readhexstring pop}    %read red data from file

{currentfile gstr readhexstring pop}    %read green data from file

{currentfile bstr readhexstring pop}    %blue red data from file

true 3
colorimage

ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff


etc, etc, etc
Technical Details
Message-ID: <543@deere.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!deere!generic

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!deere!generic
From: generic@deere.com (generic guest account)
Newsgroups: comp.lang.postscript
Subject: Landscape Image File
Keywords: PostScript Color Image Rotate
Message-ID: <543@deere.com>
Date: 20 Dec 90 21:35:00 GMT
Organization: Deere & Company, Moline, IL, USA
Lines: 47