NetTalk Central

Author Topic: Nettalk Report Fails to display in IE8  (Read 4892 times)

Neil Porter

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • Email
Nettalk Report Fails to display in IE8
« on: November 04, 2011, 08:46:10 AM »
I’ve had reports from some of my customers that after a recent update from Nettalk 5.30 up to 5.38 that their labels have stopped printing.

To explain, I use a nettalk webserver to produce barcoded parcel labels using  a standard report template with a small page size.

After some investigation, this problem has been isolated to IE8. I’ve configured the report to target _Blank, and when the user presses the print button, a blank window opens, but no pdf is displayed. The pdf is definitely generated OK. If you use IE9, or any other browser that I can think of, it works fine. I can glibly tell my users to get their clients to upgrade their browser, but as it definitely used to work, I wonder if anyone has any ideas so that I can fix it from the webserver side.

I’ve added a print label button to one of the original examples, UpdateMailbox form, and despite it being the simplest of reports,  I see the same behaviour, so I’m pretty happy it isn’t something stupid that I’m doing. Normal A4 reports seem to print fine, if that helps at all.

When I view the source of the generated “Blank” window, I see the following.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>

I wonder if someone out there can humour me, and have a quick look at the attached example, and see if you can spot anything obvious, or evern run the example to see if it is something with my Development environment. I'm using C8.8740 and Nettalk 5.38

Regards,

Neil.


[attachment deleted by admin]
Clarion 11.0.13244
NetTalk 11.04

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Nettalk Report Fails to display in IE8
« Reply #1 on: November 04, 2011, 10:38:58 PM »
I have reported the same issue to Bruce a while ago but he didn't have a solution, although as you say, it worked in previous versions of Nettalk.
Unfortunately for me this means major workarounds because you can't tell the public to change to any of the other browsers IE7,IE9,Firefox,Opera,Safari,Chrome all of which have no problem.
Currently what I have to do is create the PDF outside Nettalk and then give the User a link to download the image, after which I delete it.

BTW the printtoPDF using EE example has a browse with a button to print on each record which I normally use to test print.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Nettalk Report Fails to display in IE8
« Reply #2 on: November 04, 2011, 11:05:14 PM »
It seems like an IE8 bug. Hard to be more specific than that. It does work in IE9 (in IE8 mode) which is usually a sign that it's an actual bug in the browser. I'll let you know if I find anything out.

NT6 has native support for the "generate and download" option Terry was talking about.

cheers
Bruce

Jeffrey Kuijt

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • Email
« Last Edit: November 05, 2011, 01:35:49 AM by Jeffrey Kuijt »

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Nettalk Report Fails to display in IE8
« Reply #4 on: November 05, 2011, 05:30:52 AM »
Thanks for the info Jeffrey. I am going to investigate ASAP
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Neil Porter

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • Email
Re: Nettalk Report Fails to display in IE8
« Reply #5 on: November 07, 2011, 02:49:22 AM »
Thanks for the suggestions guys, but sadly non of them are working for us.

Regards,

Neil.
Clarion 11.0.13244
NetTalk 11.04

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Nettalk Report Fails to display in IE8
« Reply #6 on: January 14, 2012, 09:24:11 AM »
I have now run into this problem.  No PDF's on IE8.

PDF's do work on Firefox and Chrome but the formatting of the report s wrong.  IE., Landscape instead of portrait or portrait instead of landscape.

This is a major brick wall here.  I'm not sure if it's even a NetTalk or Clarion issue.  However, this is the first time I have ever had this type of problem.

Reports do fine on my development machine which is:

Windows 7 Pro 64bit
IE 9
Firefox 9
Chrome 16.0.912.75
Clarion 8.8778
NetTalk 6.14

using SV's PDF generator.

Don
« Last Edit: January 14, 2012, 09:58:54 AM by DonRidley »
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Nettalk Report Fails to display in IE8
« Reply #7 on: January 14, 2012, 10:01:28 AM »
Ahhh...I fixed the formatting issue.  I was testing the web server on a VM machine running XP and IE8.  Installed a printer on the VM and now the reports are formatted fine. 

The only reports that are affected are reports called from buttons in browses.

I have another report which is called from a button on a form which works fine.  It makes use of the progress control.

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Nettalk Report Fails to display in IE8
« Reply #8 on: January 15, 2012, 06:10:06 PM »
I have been testing this all weekend.  Reports work fine in IE 9, Firefox 9 and Chrome 16.

Most likely an issue with IE8.

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11