1. Print Preview version 0.2 released

Version 0.2 of print preview and report generator is now up on my web
page: http://palacebuilders.pwp.blueyonder.co.uk/euphoria.html
New features include:
Two-Up and mixed orientation reports,
Text rotation,
Line, Ellipse and RoundRectange drawing,
Font mapping, so display is closer to printout,
Ghostcript/Acrobat/Word-style page scrolling down the screen.

Pete

new topic     » topic index » view message » categorize

2. Re: Print Preview version 0.2 released

I tried the exe demo, clicken on tutorial, then
a message box appeared,

A4 is 83mm x 117mm
{{8267,11692},{1000,1000,1000,1000}}

And an error appeared.

H:\pptestexe\pptest.exe:6854 in procedure Yx()
type_check failure, ZJ is 3724877855
... called from H:\pptestexe\pptest.exe:7080 in procedure Yz()
... called from H:\pptestexe\pptest.exe:12249 in function BIE()
... called from H:\pptestexe\pptest.exe:17250 in function BLL()
... called from H:\pptestexe\pptest.exe:17801 in function BLn()
... called from H:\pptestexe\pptest.exe:17839 in function BLo()

^^^ call-back from Windows
... called from H:\pptestexe\pptest.exe:9701 in procedure w32Proc()
... called from H:\pptestexe\pptest.exe:17900 in procedure openWindow()
... called from H:\pptestexe\pptest.exe:515 in procedure Gc()
... called from H:\pptestexe\pptest.exe:7818 in procedure Zq()
... called from H:\pptestexe\pptest.exe:8482 in procedure generateReport()
... called from H:\pptestexe\pptest.exe:22860 in procedure BXV()
... called from H:\pptestexe\pptest.exe:12249 in function BIE()
... called from H:\pptestexe\pptest.exe:16773 in procedure BKm()
... called from H:\pptestexe\pptest.exe:17215 in function BLB()
... called from H:\pptestexe\pptest.exe:17801 in function BLn()
... called from H:\pptestexe\pptest.exe:17839 in function BLo()

^^^ call-back from Windows
... called from H:\pptestexe\pptest.exe:9654 in function w32Func()
... called from H:\pptestexe\pptest.exe:17812 in function BLn()
... called from H:\pptestexe\pptest.exe:17842 in function BLt()

^^^ call-back from Windows
... called from H:\pptestexe\pptest.exe:9701 in procedure w32Proc()
... called from H:\pptestexe\pptest.exe:17987 in procedure BLs()
... called from H:\pptestexe\pptest.exe:18039 in procedure WinMain()
... called from H:\pptestexe\pptest.exe:22919
--> see ex.err


PL> Version 0.2 of print preview and report generator is now up on my web
PL> page: http://palacebuilders.pwp.blueyonder.co.uk/euphoria.html
PL> New features include:
PL> Two-Up and mixed orientation reports,
PL> Text rotation,
PL> Line, Ellipse and RoundRectange drawing,
PL> Font mapping, so display is closer to printout,
PL> Ghostcript/Acrobat/Word-style page scrolling down the screen.

PL> Pete

new topic     » goto parent     » topic index » view message » categorize

3. Re: Print Preview version 0.2 released

On Thu, 23 Oct 2003 15:09:29 +0800, akusaya at gmx.net wrote:

>I tried the exe demo, clicken on tutorial, then
>a message box appeared,
>
>A4 is 83mm x 117mm
>{{8267,11692},{1000,1000,1000,1000}}
>
Ah that little beastie. I've removed the silly message and found a
better way to calculate actual paper measurements. Ain't it always the
same. I agonised over that for at least three days before giving up
and putting that message in so I'd at least know when it was going
badly wrong. Today it solved itself in ten minutes flat (fingers
crossed)...

>And an error appeared.
>
>H:\pptestexe\pptest.exe:6854 in procedure Yx()
>type_check failure, ZJ is 3724877855

Oops, I had an integer holding a bitmap handle.

Version 0.3 is now up:
http://palacebuilders.pwp.blueyonder.co.uk/euphoria.html

Pete

new topic     » goto parent     » topic index » view message » categorize

4. Re: Print Preview version 0.2 released

On Thu, 23 Oct 2003 13:27:38 +0000, Jonas  Temple <jtemple at yhti.net>
wrote:

>
>
>I downloaded the print preview demo (both the source and standalone 
>.exe) and got a bad record number error on all the buttons on the main 
>window.
>
Very odd. I assume you didn't mean the "Read the Manual" button as
well. If the "Record Dump" button does it as well, that narrows things
down alot.

Do you mean a "Fatal Database Error: bad record number" followed by a
divide by zero error? Can you send me the ex.err file please.

Thanks,
Pete

new topic     » goto parent     » topic index » view message » categorize

5. Re: Print Preview version 0.2 released

On Thu, 23 Oct 2003 13:27:38 +0000, Jonas  Temple <jtemple at yhti.net>
wrote:

>I downloaded the print preview demo (both the source and standalone 
>.exe) and got a bad record number error on all the buttons on the main 
>window.
>
Thanks for the ex.err files. What is happening is your default paper
is Letter & I'm trying to get the defaults for A4; but Windows returns
the size of Letter, which I dutifully save in the database, and later
fail trying to fetch the defaults for A4 paper... 

It may take me a while to figure out how to get the printer info I
need (without popping up a page setup dialogue and asking the user to
select A4), and of course I need that since the sample reports are A4.

Meanwhile, if you temporarily set the default paper on the printer to
A4, and run the demo, it should be OK if you then set the printer
paper back to Letter, if you want.

Regards,
Pete

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu