Wolfie7873
Technical User
Another newbie question . . . although I think i'm picking up fairly quickly...
From reading the PLRM, I understand there's a way to define a beginpage procedure that will execute when a new page is begun. Can this be used to display a "header" or banner or some other such thing? How do you define such a procedure? The PLRM is a little lacking in concrete examples.
Also, I think I get how to define an array (a useful thing for defining coordinate pairs in user space), but I don't understand the limitations, etc. For example if I say something like:
/inch 72 def
/width 8.5 inch mul def
/height 11 inch mul def
/size 2 array [width height] def
<</PageSize size>>setpagedevice
why doesn't it work? My understanding of the argument needed for PageSize is a 2x1 array and that's what size is, so why doesn't it work?
Eddie
From reading the PLRM, I understand there's a way to define a beginpage procedure that will execute when a new page is begun. Can this be used to display a "header" or banner or some other such thing? How do you define such a procedure? The PLRM is a little lacking in concrete examples.
Also, I think I get how to define an array (a useful thing for defining coordinate pairs in user space), but I don't understand the limitations, etc. For example if I say something like:
/inch 72 def
/width 8.5 inch mul def
/height 11 inch mul def
/size 2 array [width height] def
<</PageSize size>>setpagedevice
why doesn't it work? My understanding of the argument needed for PageSize is a 2x1 array and that's what size is, so why doesn't it work?
Eddie