[softwarelist] OPro script prpagew() (RISC OS)

  • From: Gavin Crawford <gav@xxxxxxxxxxxxxx>
  • To: davidpilling@xxxxxxxxxxxxx
  • Date: Mon, 15 Aug 2016 14:06:25 +0100

Hi David,

I've been trying to use the script funtions prpagew() and prpageh() 
but after the first page is printed I get invalid results.

I'm calling the functions each time I receive an 0x118 
EVENT_PRSTARTPAPER event. The first page being printed returns the 
sizes correctly, but subsequent calls are returning a negative value. 
This is also the case with a single page document: the first time it 
is printed after loading OPro is fine, other prints it is wrong.

Incidentally, prworkw() and prworkh() both work correctly.

BTW the script manual does state that the values are only valid after 
a 0x118 event.

Is there an error in OPro WRT these functions?

Regards,
Gavin

To unsubscribe or subscribe goto: //www.freelists.org/list/davidpilling

Other related posts: