PDF Viewer Blurry

Hello,

I have installed a demo version of Ignition V7.5.0. I have a PDF document loaded into the PDF Viewer. The rendering of the text in the PDF file is blurry as if when reading the file, ignition converted it to a JPEG picture. Printing this out is also blurry.

We were evaluating this software last year and someone mentioned that maybe this was due to the PDF library that is built into Ignition.

Has anyone else noticed this?

Could you attach the PDF so I can try it out here?

Also, are you using the ActiveX PDF viewer, or the Reporting Module PDF viewer?

I just spoke with you on the phone, here is a link to the PDF viewer part of the users manual. There is a little bit of information there about the adobe viewer

inductiveautomation.com/support/ … viewer.htm

Hi Greg,

Instead of the PDF viewer I am going to try the ActiveX module PDF viewer. I downloaded and installed this module into Ignition V7.5. It restarted the designer. When I try to select and use the PDF component I get errors:

Error during drop:
IllegalStateException: OleObject is not created.

Ignition v7.5.0 (b1079)
Java: Oracle Corporation 1.7.0_05

Is this something that wasn’t a problem in the previous version but might have to be rebuilt for V7.5?

Thanks,

Rich

java.lang.IllegalStateException: OleObject is not created.
at com.jniwrapper.win32.automation.OleContainer.doVerb(SourceFile:903)
at com.inductiveautomation.vision.activex.components.ActiveXComponent.showOleObject(ActiveXComponent.java:248)
at com.inductiveautomation.vision.activex.components.ActiveXComponent.doShowOleObject(ActiveXComponent.java:236)
at com.inductiveautomation.vision.activex.components.ActiveXComponent.access$000(ActiveXComponent.java:28)
at com.inductiveautomation.vision.activex.components.ActiveXComponent$1.ancestorAdded(ActiveXComponent.java:81)
at javax.swing.AncestorNotifier.fireAncestorAdded(Unknown Source)
at javax.swing.AncestorNotifier.propertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.fire(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
at java.awt.Component.firePropertyChange(Unknown Source)
at javax.swing.JComponent.addNotify(Unknown Source)
at java.awt.Container.addImpl(Unknown Source)
at java.awt.Container.add(Unknown Source)
at com.inductiveautomation.factorypmi.application.components.BasicContainer.privateAdd(BasicContainer.java:203)
at com.inductiveautomation.factorypmi.application.components.BasicContainer.addComponent(BasicContainer.java:177)
at com.inductiveautomation.factorypmi.designer.workspace.LayoutManipulator.add(LayoutManipulator.java:159)
at com.inductiveautomation.factorypmi.designer.workspace.WindowWorkspace.add(WindowWorkspace.java:954)
at com.inductiveautomation.factorypmi.designer.workspace.WindowWorkspace.add(WindowWorkspace.java:942)
at com.inductiveautomation.factorypmi.designer.workspace.WindowWorkspace$Delegate.addObject(WindowWorkspace.java:2971)
at com.inductiveautomation.factorypmi.designer.workspace.tools.InstantiationTool.onDragEnd(InstantiationTool.java:163)
at com.inductiveautomation.ignition.designer.designable.DesignPanel$ToolMouseListener.onDragEnd(DesignPanel.java:1023)
at com.inductiveautomation.ignition.client.util.gui.CommonMouseAdapter.mouseReleased(CommonMouseAdapter.java:61)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Ignition v7.5.0 (b1079)
Java: Oracle Corporation 1.7.0_05

Attached are two PDF files to show you the Blurry Part.

Original File: “TestPDF.pdf”

Displayed and Printed from PDF Viewer component: “TestPDF Blurry from PDFViewer.PDF”

Rich
TestPDF Blurry from PDFViewer.pdf (147 KB)
TestPDF.pdf (302 KB)

I just found a bug fix ticket here internally for the ActiveX module. The ticket was started with Ignition 7.4. I apologize for pointing you towards that. I do see what you mean about the text being blurry. There are plans for a version 2 of the reporting module, but I do not have a time frame for its release. Unfortunately, like it says in the users manual, the PDF viewer is not as high quality as Adobe reader, but is guaranteed to correctly display reports generated by the report viewer.

Hi Rich,

Even though the screen throws that error, if you click okay, save and close the window / designer, and then load it back up, I think you’ll see the ActiveX component in the project browser tree under the window. (At least that’s what it did on mine.) Selecting the component and using it at that point worked fine for me. It appears the error is only with the initial creation of the component, not with the use of the component.

Of course, ymmv. Good luck!