Hi,
I am trying to run multiple eps files in a single ps file. These eps files were created by Tkinter (Python) automatically and contain a rendition of a canvas. So, each eps has a graph, calendar rendered in it. I can actually view these in GSView by simply double clicking on them.
Now I want to show two images by scaling and translating them in a ps file. So far, this is my code in my ps file:
%!
%%Title: Sample document
%%Pages: 1
%%EndComments
save
/showpage {} def
10 280 translate
0.8 0.8 scale
(histogram.ps) run
10 -400 translate
(calendar.ps) run
showpage
restore
Although the ps file runs and displays the desired output in GSView, I am still encountering number of problems.
1) When press Print, the printer does not print this ps file, and does not display any errors or warnings either. However, I can print when I convert this single page ps file into an eps format.
2) I want to display more eps files on the other page, but I can't seem to setup a second page.
I am trying to run multiple eps files in a single ps file. These eps files were created by Tkinter (Python) automatically and contain a rendition of a canvas. So, each eps has a graph, calendar rendered in it. I can actually view these in GSView by simply double clicking on them.
Now I want to show two images by scaling and translating them in a ps file. So far, this is my code in my ps file:
%!
%%Title: Sample document
%%Pages: 1
%%EndComments
save
/showpage {} def
10 280 translate
0.8 0.8 scale
(histogram.ps) run
10 -400 translate
(calendar.ps) run
showpage
restore
Although the ps file runs and displays the desired output in GSView, I am still encountering number of problems.
1) When press Print, the printer does not print this ps file, and does not display any errors or warnings either. However, I can print when I convert this single page ps file into an eps format.
2) I want to display more eps files on the other page, but I can't seem to setup a second page.