Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #1992

Re: psutil for selecting a quadrant?

From JohnF <john@please.see.sig.for.email.com>
Newsgroups comp.lang.postscript
Subject Re: psutil for selecting a quadrant?
Date 2014-08-27 03:52 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <ltjklh$29r$1@reader1.panix.com> (permalink)
References <lth57t$b0c$1@reader1.panix.com> <3d7d4a30-95af-4537-b338-5740e3385fb1@googlegroups.com>

Show all headers | View raw


Ross Presser <rpresser@gmail.com> wrote:
> On Tuesday, August 26, 2014 1:16:45 AM UTC-4, JohnF wrote:
>> Not exactly a language question, per se.
>> I'm looking for a "psutils" like
>>   psquadrant -q 1 entirepage.ps upperleftquadrant.ps
>> that doubles the height and width of the upper-left quadrant
>> and fits it in the original bounding box.
>> That is
>>   psquadrant -q 1 entirepage.ps upperleftquadrant.ps
>>   psquadrant -q 2 entirepage.ps upperrightquadrant.ps
>>   psquadrant -q 3 entirepage.ps lowerleftquadrant.ps
>>   psquadrant -q 4 entirepage.ps lowerrightquadrant.ps
>> will print four pages that you can assemble into
>> one big version of the entirepage. Not quite a psresize
>> or epsffit. Anything like that? Thanks,
> 
> Perhaps you want "poster"?
>    http://www.inkguides.com/eps-postscript-poster.asp
> Supposedly part of linux distributions....

Thanks, Ross. That works perfectly. Isn't on my slackware 14.0
linux box, but download/unzip/make took about five seconds.

To print one quadrant on each of four lettersize pages,
I had to generate a 15"x15" postscript image, i.e.,
   %%BoundingBox: 0 0 1080 1080
(which the poster-generating program can fortunately
adjust easily), and then run
   ./poster -mLetter -s1 poster.ps > quadrants.ps
which isn't much extra trouble.

But I can't figure out how to get rid of those pesky
hash marks at each corner and Grid(1,1), etc on each page.
I see that
       "       (Grid \\( ) show\n"
       "       rowcount strg cvs show\n"
       "       ( , ) show\n"
       "       colcount strg cvs show\n"
       "       ( \\)) show\n"
in poster.c, and am guessing it's responsible.
But I barely know postscript, not well enough to remove it.
I tried a few times, but no joy. Must be easily doable,
I suppose, but apparently not easily enough for me :).
-- 
John Forkosh  ( mailto:  j@f.com  where j=john and f=forkosh )

Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

psutil for selecting a quadrant? JohnF <john@please.see.sig.for.email.com> - 2014-08-26 05:16 +0000
  Re: psutil for selecting a quadrant? Ross Presser <rpresser@gmail.com> - 2014-08-26 09:20 -0700
    Re: psutil for selecting a quadrant? JohnF <john@please.see.sig.for.email.com> - 2014-08-27 03:52 +0000
      Re: psutil for selecting a quadrant? JohnF <john@please.see.sig.for.email.com> - 2014-08-27 04:06 +0000

csiph-web