Article View: comp.windows.interviews
Article #444Re: PostScript and big images
From: Denis Bohm
Date: Tue, 15 Sep 1992 04:39
Date: Tue, 15 Sep 1992 04:39
31 lines
1786 bytes
1786 bytes
It seems like you could set a transform to zoom in on a portion of the glyph for each page that you want generated and call Glyph::print for each page. Given a glyph of a specific size and a request for a specific scale (or number of pages) it seems that an object could be written to automate transforming around and spitting out the pages. In article <prfgrbc@fido.asd.sgi.com> linton@marktwain.rad.sgi.com (Mark Linton) writes: >In article <1992Sep12.113737.1826@tom.rz.uni-passau.de>, ringel@forwiss.uni-passau.de (Joerg Ringel) writes: >|> I create a big Glyph, which I can see with something like >|> the Scrollable, in my program. >|> >|> Now I want to create a PostScript file of it. >|> >|> My problem is, that I don't want to print all 1:1 >|> of the image (Glyph's) with the printer. >|> >|> I've set the Allocation to the bounds of my viewer. >|> I think all the information to print are in the file, but >|> he prints only on one page. >|> >|> What can I do to tell him, that he has to print more pages? > >There is no automatic way (nor is one obvious to me) to paginate an image. >You must implement this yourself. You need to use Printer::page >to generate PostScript showpage operations. -- Denis Bohm (denis@redwood.com -or- denisb@leland.stanford.edu)
Technical Details
Message-ID:
<1992Sep15.043936.10039@leland.Stanford.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!denisbReferences:
<1992Sep12.113737.1826@tom.rz.uni-passau.de> <prfgrbc@fido.asd.sgi.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!denisb From: denisb@leland.Stanford.EDU (Denis Bohm) Subject: Re: PostScript and big images Message-ID: <1992Sep15.043936.10039@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: DSG, Stanford University, CA 94305, USA References: <1992Sep12.113737.1826@tom.rz.uni-passau.de> <prfgrbc@fido.asd.sgi.com> Date: Tue, 15 Sep 92 04:39:36 GMT Lines: 31