I have a text file which has the follwing data,

`dup dx mul x0 add exch dup dy mul y0 add exch dr mul r0 add
 a1 a2 arcn
 dup dx mul x0 add exch dup dy mul y0 add exch dr mul r0 add
 a2 a1 arcn h
 dup dx mul x0 add exch dup dy mul y0 add exch dr mul r0 add
 a1 a2 arc
 dup dx mul x0 add exch dup dy mul y0 add exch dr mul r0 add
 a2 a1 arc h f
%%EndResource
The text i want to grap
showpage`

So i want all the text in between `%%EndResource` and `showpage`.

Any help will be appreciated ....