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

  • From: "Frank le Roex" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "frank.leroex" for DMARC)
  • To: davidpilling@xxxxxxxxxxxxx
  • Date: Mon, 15 Aug 2016 15:35:15 +0200

Why am I being included on all these emails? Please leave me out. 

Email: frank.leroex@xxxxxxxxxxxxxx

On 15 Aug 2016, at 15:06, Gavin Crawford <gav@xxxxxxxxxxxxxx> wrote:

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

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

Other related posts: