When using ActiveX, Active X, as the printing method nothing will print preview or print
Cause:
ActiveX components are not properly installed or security options are preventing the print operation
Fix:
NOTE: In order to use the ActiveX printing method on WINDOWS XP SERVICE PACK 2 workstations, the version of Expedition Professional in use must be 9.1 SP 4 or higher.
Note: If using Windows XP Service Pack 2 as the operating system on the client machine, upgrade to the latest Expedition Service Pack before proceeding.
Note: It is very important that every step is performed up to the point of manual install (to step 15). If all steps are not performed in the order that they are given, the issue may not be corrected.
1. Verify Microsoft VM is installed
i. In Internet Explorer, go to Tools, Internet Options and click on the Security tab.
ii. If connecting to Expedition through the Intranet click once on the Local Intranet Zone icon and then on Custom Level.
Image may be NSFW. Clik here to view.
iii. Scroll down and verify that “Microsoft VM” is present.
iv. If Microsoft VM is not present, download and install the attached file (msjavx86.exe). This file contains an installer for Microsoft’s Virtual Machine. The Virtual Machine will allow the download and installation of Expeditions ActiveX control.
v. Reboot.
2. Log into the affected workstation as a local administrator.
3. Uninstall any existing Sybase ActiveX controller. Perform the following operations to uninstall the controller. If the files do not exist, skip this step.
i. Open a MS-DOS Prompt.
ii. Navigate to the 慏ownloaded Program Files?folder (cd 揷:\winnt\downloaded program files?or cd 揷:\windows\downloaded program files?nbsp;depending on NT, XP, W2K or W98)
Image may be NSFW. Clik here to view.
iii. At the MS-DOS Prompt type 憆egsvr32 /u PSDWC70.DLL?nbsp;to unregister the dll.
iv. A confirmation window opens indicating the dll was unregistered.
Image may be NSFW. Clik here to view.
v. From the DOS window, delete the two files (?/FONT>PSDWC70.DLL?and ?/FONT>PowerBuilder DW Control & JDBC.osd? that were installed when the controller was downloaded.
Image may be NSFW. Clik here to view.
Note: When attempting to delete the file “PowerBuilder DW Control & JDBC.osd”, be sure to enslose within quotes “”. The proper syntax will be: del “PowerBuilder DW Control & JDBC.osd”
4. Check the ActiveX security settings in Internet Explorer.
i. In Internet Explorer, go to Tools, Internet Options and click on the Security tab.
ii. If connecting to Expedition through the Intranet click once on the Local Intranet Zone icon and then on Custom Level.
Image may be NSFW. Clik here to view.
iii. Scroll down to “ActiveX Controls and Plug-Ins” and make sure the following settings are selected:
- Download signed ActiveX controls: Enable
- Download unsigned ActiveX controls:
Prompt
- Initialize and script ActiveX controls not marked as safe:
Prompt
Image may be NSFW. Clik here to view.
- Run ActiveX controls and plug-ins: Enable
- Script ActiveX controls marked safe for scripting:
Enable
Image may be NSFW. Clik here to view.
iv. Click OK.
v. Follow steps 2 through 4 for the Internet Zone only if using Expedition through the Internet.
5. Check the Virtual Machine settings.
i. In Internet Explorer, go to Tools, Internet Options and click on the Security tab.
ii. If connecting to Expedition through the Intranet click once on the Local Intranet Zone icon and then on Custom Level.
Image may be NSFW. Clik here to view.
iii. Scroll down to “Microsoft VM” and make sure “Medium Safety” is selected for Java permissions.
Image may be NSFW. Clik here to view.
iv. Click OK.
v. Follow steps 2 through 4 for the Internet Zone only if using Expedition through the Internet.
6. Check the Advanced Tab within Internet Options to ensure that Enable Install On Demand(Other) is checked.
Image may be NSFW. Clik here to view.
7. Clear Temporary Internet files and Cookies.
Image may be NSFW. Clik here to view.
8. Register the following dll files using the attached reregister.bat file. click here to download the batch file in zipped form: .reregister.zip
Shdocvw.dll
Shell32.dll
Oleaut32.dll
Actxprxy.dll
Mshtml.dll
Urlmon.dll
WARNING: Do not run reregister.bat on a machine that has applied Microsoft Hotfix KB912945
For more information, see this article on our knowledgebase:
11. Try a print preview on any report or form. A dialog window should appear with a security warning stating “Do you want to install and run http://website/PSDWC70.CAB…”
If Internet Explorer 7.0 is utilized the prompt to install the ActiveX plugin may appear as shown in the graphic at the end of this solution.
Image may be NSFW. Clik here to view.
12. Click Yes to install the Sybase ActiveX controller.
13. After installation the print preview should appear.
14. If it does not appear, log out of Expedition.
15. Install the Sybase ActiveX controller manually.
i. From the computer that is running as the Expedition Webserver, locate the file PSDWC70.CAB. The default location of the cab file is: C:\Primavera\ExpWebServer\jboss_jetty\jboss\tmp\deploy\Default\exponline.ear\web1001
ii. Copy this file to the computer that is experiencing the printing issue.
iii. Open the CAB file and extract the PSDWC70.DLL file to the local machine. Note: This could be extracted to anywhere on the machine. e.g. ‘System32′ folder or create a folder - e.g. ExpActvX
iv.Register the file PSDWC70.DLL by selecting Start, run and type the command: regsvr32 c:\winnt\system32\PSDWC70.DLL
v. If a confirmation window appears then the file was registered successfully.
NOTE: In some cases the manual installation (regsvr32 command) fails with a message: “Load library failed”. To resolve this issue, try the following: i. copy the contents of the PSDWC70.CAB to the System32 folder, then try to run the regsvr32 command once more. ii. If the error persists and the file will not register, using the Command prompt, copy the file to the “downloaded program files” folder. a. In the command prompt, change directory to the location of the files. b. Then use the copy command. The syntax will be: COPY <file and extension> <drive letter:\path to downloaded program files>
example: Copy PSDWC70.dll “c:\downloaded program files”.
Once this completes, copy to the same directory the other files that were located in the PSDWC70.cab file.
16. Reboot.
17. Log into Expedition.
18. Try to print preview any form or report.
19. If it does not print preview download and install the attached file (msjavx86.exe). This file contains an installer for Microsoft’s Virtual Machine. The Virtual Machine will allow the download and installation of Expeditions ActiveX control.
20. Reboot.
21. Log into Expedition.
22. Try to print preview any form or report.
23. If none of the above steps enable ActiveX printing, install Internet Explorer 6 SP1.
Fix:
Prompt to install ActiveX plugin will appear as follows in Internet Explorer 7.0 environment.