Hi,

a friend of mine passed me a link to a beautiful 1944 "Chart of
electromagnetic radiations" at (1). He wants to print the big version
(2) in four pages and join them later. I have a laser color printer, his
is B/W, so the task is on me :-)

Fine! I say. Linux has the "poster" CLI app, just the very thing:

poster (1) - Scale and tile a postscript image to print on
multiple pages

So first I convert the image to postscript, then I try a trial 'poster'
run:


Code:

> cer@Telcontar:~/Photos/curios> convert radiationbigger.jpg radiationbigger.ps
> cer@Telcontar:~/Photos/curios>
> cer@Telcontar:~/Photos/curios> poster -s 0.8 -v radiationbigger.ps -o radiationbigger-poster.ps
> Using default media of A4
> Using default cutmargin of 5%
> Using default whitemargin of 0
> Opened 'radiationbigger-poster.ps' for writing
> Deciding for 2 columns and 2 rows of landscape pages.
> print page 1
> print page 2
> print page 3
> print page 4
> cer@Telcontar:~/Photos/curios>
> cer@Telcontar:~/Photos/curios> l radiationbigger*
> -rw-r--r-- 1 cer users 10829489 Sep  8 13:14 radiationbigger-poster.ps
> -rw-r--r-- 1 cer users  1825248 Aug 30 20:02 radiationbigger.jpg
> -rw-r--r-- 1 cer users 10827572 Sep  8 13:12 radiationbigger.ps
> cer@Telcontar:~/Photos/curios>
Wonderful. I'm already gloating. So I want to display the result with
"gv" - bang! It errors with:


Code:

> Error: /limitcheck in -file-GPL Ghostscript 9.06: Unrecoverable error,
> exit code 1
>
> Operand stack:
>    print_content_of_complete_page_0
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval-- --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1894   1   3
> %oparray_pop   1893   1   3   %oparray_pop   1877   1   3   %oparray_pop   1771   1   3   %oparray_pop   --nostringval--   %errorexec_pop .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push
> Dictionary stack:
>    --dict:1163/1684(ro)(G)--   --dict:0/20(G)--   --dict:94/200(L)--
> Current allocation mode is local

The generated postscript is bad, I can not make use of it.


Ok, so then 2 questions:

1) Is this a known bug? (and is there a known solution)?

2) Is there another method to generate a 4 page poster without using the
"poster" program? I tried "gimp" for a while, got nowhere.


This is using 12.3 and:

Code:
poster-20060221-87.1.1.x86_64
gv-3.7.0-12.1.2.x86_64
ghostscript-9.06-4.1.1.x86_64

Code:

> 1) <http://www.popsci.com/science/article/2013-08/let-chart-1944-teach-you-about-electromagnetic-radiation>
> 2) <http://www.popsci.com/files/radiationbigger.jpg>

(I have an even bigger copy of the photo, 100MB in size)

--
Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 "Dartmouth" at Telcontar)