DL5.0 Printing to PDF

Discussions about Diving Log 6.0 - questions and hints
Post Reply
IH2BL8
Posts: 6
Joined: Tue Mar 30, 2010 17:10
Location: Winnipeg, Manitoba, Canada

DL5.0 Printing to PDF

Post by IH2BL8 »

I just installed DL5.0 and when I attempt to print to a PDF file, the application hangs and must shut it down. Any suggestions?

I am Windows 7 using Cute PDF writer.

Cheers,
James
divinglog
Site Admin
Posts: 5224
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: DL5.0 Printing to PDF

Post by divinglog »

Hi James

There is unfortunately a known instability in the print function. I still have to see how often this happens, because it is not always reproducable. Have you had version 4.0 installed on this computer? Does the built in PDF export work for you?

Kind regards,
Sven
IH2BL8
Posts: 6
Joined: Tue Mar 30, 2010 17:10
Location: Winnipeg, Manitoba, Canada

Re: DL5.0 Printing to PDF

Post by IH2BL8 »

Hi Sven,

Yes, I tried printing to PDF in version 4 and it works just fine. When trying to print in ver 5.0 it stops and hangs at 6%. The only way that I can "escape", is shut down the program "close window" and restart.

I have attached the error log.

Cheers,
James
Attachments
DivelogPDFmessage.txt
(808 Bytes) Downloaded 399 times
IH2BL8
Posts: 6
Joined: Tue Mar 30, 2010 17:10
Location: Winnipeg, Manitoba, Canada

Re: DL5.0 Printing to PDF

Post by IH2BL8 »

Hi Sven,

Sorry, I did not answer the second question you had. The built in export to PDF acts the same way as choosing print to PDF.

Attached is the error log including the two different ways of producing a PDF.

Cheers,
James
Attachments
DivelogPDFmessage.txt
(1.7 KiB) Downloaded 375 times
divinglog
Site Admin
Posts: 5224
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: DL5.0 Printing to PDF

Post by divinglog »

Hi James

Can you please try these 2 updates? Download this zip file and extract it into the Diving Log program folder:

Divelog.zip

If this doesn't work, please try it with this one:

Divelog2.zip

This is really difficult to fix, because I have no idea where this crash happens.

Thank you,
Sven
IH2BL8
Posts: 6
Joined: Tue Mar 30, 2010 17:10
Location: Winnipeg, Manitoba, Canada

Re: DL5.0 Printing to PDF

Post by IH2BL8 »

Hi Sven,

I think I have a bigger problem...I can't print, period. Trying to preview, chose another printer, same results.

I extracted the two dive log zip files and applied them.

Attached is the error log. Version 4 works fine..strange.

Cheers,
James
Attachments
DivelogPDFmessage.txt
(808 Bytes) Downloaded 390 times
divinglog
Site Admin
Posts: 5224
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: DL5.0 Printing to PDF

Post by divinglog »

Hi James

Yes, I know, it's the same print engine behind all functions which crashes. The problem is that the print engine is a 3rd party product, so I'm not sure if it's my code or the 3rd party component which causes the crash. With the test files I try different things to see if it helps.The crash is also very low level and not happening on all computers. I cannot reproduce it on any of my computers, which makes it even more difficult. The crash is caused by the profile draw function, so every report without profile should just work fine. But that's no solution, of course.

I'll try something different and post here.

Kind regards,
Sven
divinglog
Site Admin
Posts: 5224
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: DL5.0 Printing to PDF

Post by divinglog »

Hi James

Can you try these two (try the first, then when it fails the 2nd one):

Divelog3.zip
Divelog4.zip

If number 4 works, you will see only a cross instead of the profile, but this helps me already. I don't need the crash logs.

Sven
IH2BL8
Posts: 6
Joined: Tue Mar 30, 2010 17:10
Location: Winnipeg, Manitoba, Canada

Re: DL5.0 Printing to PDF

Post by IH2BL8 »

Hi Sven,

Sorry...no luck. They both react the same way. :-(

Thanks for your quicks responses!

Cheers,
James
divinglog
Site Admin
Posts: 5224
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: DL5.0 Printing to PDF

Post by divinglog »

Hi James

Can you try these 3 test versions?

Divelog5.zip
Divelog6.zip
Divelog7.zip

Please try not the PDF export, try just the print preview.

Edit: I've localized the problem with another user, can you confirm that these are crashing:

Divelog10.zip
Divelog11.zip
Divelog12.zip

And this one works:

Divelog9.zip

Thank you for your help!
Sven
IH2BL8
Posts: 6
Joined: Tue Mar 30, 2010 17:10
Location: Winnipeg, Manitoba, Canada

Re: DL5.0 Printing to PDF

Post by IH2BL8 »

Hi Sven!

Yes, I have verified that 10, 11, 12 have the same "crash" results and #9 works fine!

Great and thank you for all of your help!

Cheers,
James
divinglog
Site Admin
Posts: 5224
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: DL5.0 Printing to PDF

Post by divinglog »

Hi James

Thank you for verifying this! Now I have located the issue and it looks like it's not my fault. It seems that the 3rd party print engine is crashing as soon as I try to do some custom drawing, like the profile. Test #9 works because I'm using another technique, but the quality of the profile graphic is not so good.

I've just bought the latest update of the print engine, hopefully this will fix this issue for everyone. I'll let you know as soon as I've compiled the new version into the application so you can test it.

Sven
abbdiver
Posts: 1
Joined: Fri Apr 09, 2010 14:56

Re: DL5.0 Printing to PDF

Post by abbdiver »

Hi, you two,

I've got the same problem : it is impossible to access preview, printing or designer. Each time, the program abort.
I am interested in the patch or the new version which will born soon for that.

Good luck and thank you for all.
divinglog
Site Admin
Posts: 5224
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: DL5.0 Printing to PDF

Post by divinglog »

Hi

When you extract this zip file into the 5.0 program folder then the print function should work again for now. The only downside is that the quality of the dive profile is not as good as normally. But I'll release soon an update which will fix this hopefully.

Sven
divinglog
Site Admin
Posts: 5224
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: DL5.0 Printing to PDF

Post by divinglog »

Hi Everyone

I've included the new print engine, can you please download this update setup and install it into the 5.0 folder.

After installation, please export to PDF and use the print function or report designer and see if it works. The dive profile should now have again the good quality and it is editable in the designer by double clicking it.

Kind regards,
Sven
Post Reply