Forms 10gR2 printing issue with Java Plug-in 1.6.0_21
Hi All,
I replaced Jinitiator by Java Plug-in 1.6.0_21. I’m using forms 10gR2. I modified formsweb.cfg file and most of the other functionality work fine. I overwrote the default functionality of the menu item ‘Print Button’ by the following java script
*'File name :- print.html'*
<html>
<head>
<title>Print</title>
<style type="text/css">
font-family:"arial";
color: #303030;
</style>
</head>
<body onload="printsetup();">
<div style="border: 1px solid; padding:10px">
<div style="font-size:larger;text-decoration:bold;padding-bottom:10px;text-align:center">Print capture beginning. Please wait...</div>
<div style="text-align:center">(This window will close automatically.)</div>
</div>
<script>
function printform()
window.opener.print();
window.close();
function printsetup()
window.resizeTo(600,250);
var t=setTimeout("printform()",1000);
</script>
</body>
</html>
It was working fine with Jinitiator since I installed java sun I always receive the following error message
Line: 19
Char: 1
Error: 'window.opener' is null or not an object
Code: 0
URL: http://localhost.domain:port/forms/webutil/start/print.html.
Thanks & Regards,
Walid
The problem you are both reporting is unclear. If I understand at all what you are doing, it would seem that you are calling window.opener, but the window has no name. In newer browser versions (I believe IE 7 and newer) what I think you are trying to do won't work anymore. Take a look at this:
http://msmvps.com/blogs/paulomorgado/archive/2007/11/02/how-to-close-browser-windows-in-windows-internet-explorer-7.aspx
Also check out MyOracleSupport Note 865745.1
The example in the note has been tested with Forms 10.1.2.3 and 11.1.1.4 using 1.6.0_23 in IE8 and FF3.6 and appears to work correctly.
Similar Messages
-
Use Forms with webutil with java plug
I am using oracle 9i forms with webutil, it works with jinitiator but I have problem runiing with java plug-in. I have changed formweb.cfg as follow. It des not work.
It works on oracle 10g rel1 appserver using jinitiator but does not work with java plug.
jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,0
jpi_mimetype=application/x-java-applet;jpi-version=1.4.2
webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
baseHTMLJInitiator=basejpi.htmsee
Webutil using JAVA plug
Good thing to start using JRE anyway ;-)
Erwin -
Controlling forms 10g idle time with java
Hello,
I'm trying to control web forms 10gr2 idle time with a java bean app, does anyone knows where can i gather some information or examples about this issue.
Please help, it´s very urgent.
Thankshi , my dear all
i'm working in the company working in service maintanince and we used oracle in our work
this databse is gerat and most security
i need to learning it , i have mor info about accsess sql and all office work and some info about vb application
need to begining to learn oracle developer and i hop so will'be aprogramer in oracle put i need to help !!!!!!!!
how i can creat aform with oracle 10g
tell me about sql code to learning this version frome oracle
if you need to help me you can conntact me in my mail
1) [email protected]
2) [email protected]
will thank you mor and mor
with best regard
sameh,foda..... cairo..egypt.. 14-dec-2008 11:51:00 pm .... samadon..ashmon..m.n.f
Edited by: user10134747 on 14/12/2008 01:40 م -
OK well I finally got the java update to full load and it stated that it was corrupt or something like that and now I can not get into my favorite chat room it says I need to get java .. when I go to the link to re get a update to java it says I am updated.. so I called apple and they sent me a patch or something and it did not help .. anyone have any ideas what is happening?
my old chatroom I think I remember someone talking about java issues there and how you had to have a old java or something like that .. can somehelp please!golam wrote:
I am having issues with java encoding in Gentoo Linux environment. I am using java 1.6. When I ran the following test application to print french accent with encoding type, all I get is wrong character. Please provide me with some pointers. When I try this in Windows, it works perfectly. Many Thanks in advance
//test.txt file contains the following string
àäèéêëîïôùûüÿ
///TEST CODE to find which encoding to use
System.out.println("encoding:"+encoding[i]+"line===>"+inputLine);
This is the problem.
Don't assume the console character set can display these characters,
use a swing component.
This is also why it happens to work in on some boxes and not on others.
///////////////OUTPUT after running the test app
java Test encoding:Big5line===>???????
encoding:Big5-HKSCSline===>???????
encoding:EUC-JPline===>???????
encoding:EUC-KRline===>???????
encoding:GB18030line===>???????
encoding:GB2312line===>???????
encoding:GBKline===>??????? -
Hi,
Since an upgrade from Word 2003 to Word 2010, we are experiencing printing issues with certain
documents that have a page width greater than its page height.
In Word 2003, it was no problem to set the page width greater than the page height while setting the page orientation to "portrait".
In Word 2010, this seems impossible: despite leaving the page orientation to "portrait", if one changes the page width/height as stated,
Word 2010 automatically adjusts the orientation to "landscape". Resetting the orientation to "portrait" will flip the page's width/heigth settings.
This behaviour causes printing problems: the page prints out 90° rotated.
I do not believe this is a printer driver issue: I tried several different printer drivers, and all give the same (bad) result. Setting the printer driver's page orientation settings (before printing) makes no difference, as
Word 2010 seems to force the page orientation settings.
Inserting the documents 90° rotated is not an option, since it causes problems with the printing margins.
This is very annoying, since we have to print official documents of a municipality (driver's licences).
Is there a workaround for this issue?
Regards,
Laurent Grandgaignage
Sysadmin Gemeentebestuur Stabroek, BelgiumHi
Thank you for using
Microsoft Office for IT Professionals Forums.
From your description, we can follow these steps to test this issue
Step 1: Repair Office 2010
1.
Click
Start, and then click Control Panel.
2.
Click
Programs and Features.
3.
Click the
Office 2010 program that you want to repair, and then click
Change.
4.
Click
Repair, and then click Continue. You might need to restart your computer after the repair is complete.
Step 2:
Rename the global template (Normal.dotm)Follow the steps for the operating system that you are using:
Windows Vista and Windows 7
a)
Exit Word 2010
b)
Click
Start.
c)
In the
Start Search box, type the following text, and then press
ENTER:
1.
%userprofile%\appdata\roaming\microsoft\templates
d)
Right-click
Normal.dotm, and then click Rename.
e)
Type
Oldword.old, and then press ENTER.
Microsoft Windows XP
a)
Exit Word 2010
b)
Click
Start, and then click Run.
c)
In the
Open box, type the following text, and then press ENTER:
%userprofile%\Application Data\Microsoft\Templates
d)
Right-click
Normal.dotm, and then click Rename.
e)
Type
Oldword.old, and then press ENTER.
f)
Close Windows Explorer.
How to troubleshoot print failures in Word 2010, Word 2007, and Word 2003
http://support.microsoft.com/kb/826845
Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything
I can do for you, please feel free to let me know.
Hope that helps.
Sincerely
William Zhou CHNPlease remember to mark the replies as answers if they help and unmark them if they provide no help. -
Just recently I am getting the following error message when trying to access web sites. I am using Firefox browser version 10.0.2. I get a pop up window stating "Exc in ev handl: TypeError: c.location is null" as the web site page is being displayed in browser winder. Then I have to click ok. It doesn't matter what web link/site I go to it happens. It is an issue with some plug-in?
I have advised McAfee's product team of the problem and this thread, and they're looking into it now.
-
Our software vendor tells to use FF 3.5.1. because of some printer issues with their web based program. How safe is it to work with FF 3.5.1 in 2012?
Thanks for the reply. I'll have a look at your solution.
-
JAI extension automatic installation fail with Java Plug-in 1.4.1_01
Hi everyone,
i have a html page with an applet that use the JAI (Java Advanced imaging) extension. I used to run it with java plug-in 1.3.1_03.
When the JAI extension was not installed, it was automatically downloaded and installed. I use the sun "Signed Auto Installation for browsers" jar available on the JAI download page.
But with Java Plug-in 1.4.1_01, it seems to have a security problem. Is the "Signed Auto Installation for browsers" only java plug-in 1.3 compatible or is there a way to install it with 1.4.
If anyone has encountered the same problem with another extension, it could help me to know how to have it installed automatically with java Plug-in 1.4.
I tested on IE 4 and 6 on Windows NT4 & IE 6 on Windows 2000, and i have the same results.
Thanks
Philippe
see the following java console output :
Java(TM) Plug-in: Version 1.4.1_01
Using JRE version 1.4.1_01 Java HotSpot(TM) Client VM
Modality popped
User selected: 0
Optional package download granted by user, download from http://xxxxxxxxxxxxxxxxxxxxxx/jai_windows-i586.jar
Connecting http://xxxxxxxxxxxxxxxxxx/jai_windows-i586.jar with no proxy
Connecting http://xxxxxxxxxxxxxxxxxx/jai_windows-i586.jar with cookie "JIGSAW-SESSION-ID=J986902630-19"
Loading Root CA certificates from D:\PROGRA~1\Java\J2RE14~1.1_0\lib\security\cacerts
Loaded Root CA certificates from D:\PROGRA~1\Java\J2RE14~1.1_0\lib\security\cacerts
Loading JPI certificates from D:\WINNT\Profiles\qpbl\.java\jpicerts141_01
Loaded JPI certificates from D:\WINNT\Profiles\qpbl\.java\jpicerts141_01
Loading certificates from JPI session certificate store
Loaded certificates from JPI session certificate store
Checking if certificate is in JPI permanent certificate store
Checking if certificate is in JPI session certificate store
Checking if certificate is in Root CA certificate store
Checking if certificate is in Root CA certificate store
Checking if certificate is in Root CA certificate store
sun.misc.ExtensionInstallationException: User deny optional package installer to be launched.
at sun.plugin.extension.ExtensionInstallationImpl.verifyJar(Unknown Source)
at sun.plugin.extension.ExtensionInstallationImpl.access$100(Unknown Source)
at sun.plugin.extension.ExtensionInstallationImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.extension.ExtensionInstallationImpl.installExtension(Unknown Source)
at sun.misc.ExtensionDependency.installExtension(Unknown Source)
at sun.misc.ExtensionDependency.checkExtension(Unknown Source)
at sun.misc.ExtensionDependency.checkExtensions(Unknown Source)
at sun.misc.ExtensionDependency.checkExtensionsDependencies(Unknown Source)
at sun.misc.URLClassPath$JarLoader.parseExtensionsDependencies(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getClassPath(Unknown Source)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Modality pushed
Modality popped
Optional package installation failed.
Installation successfulI seem to be having the same problem. If you figured out the solution, can you please post it?
Thanks -
Strange Printing Issue With New HP & Pages
Hello!
I have a very strange printing issue with a new HP printer. I have written pages documents heavy in Texts which are located within tables. The documents print fine on a Cannon and Epson printer and look great but when I print the document on my new HP Laserjet Pro 400 Colour M451nw some of the text on some rows come out of the printer looking like they are bold / slightly fuzzy. This only happens with some of the rows of text, not all of them. The font is the same in every row with the same format.
You can see this in the attached image. The first line (Thanks very much) has printed correctly but the subsequent lines look bold / slightly fuzzy.
After a lot of testing the only way I can resolve this is if I copy the content into a new pages document and only then it will print and look ok with the HP printer.
This must be a problem within my origional document. I would simply copy and paste everything into a new document however this would take a very, very long time (over 5 years of work producing teaching materials and over 100 documents and thousands of tables and formatting that cannot be copied and pasted).
Also, on other printers you can see the lines seperating each row of the table. These lines are not visible on the HP print outs, even when the table is copied into a new document.
Has anyone come accross an issue like this before? Is there a way I can fix this without creating a new document? Do I need to get a new another new printer (the 4th printer this week!)?
Any advise, wise words would be greatly apprechiated!
Thanks!Sorry, Fruhulda. After 4 hours on the phone with Apple care they are taking this issue further themselves. It seems to be a problem with our pages document and the compatibility with certain drivers. We have still not gotton to the bottom of it and Apple are going to get back to me when they have an answer.
We also worked out that the issue only happens when you print via Ethrenet & USB. Printing via Wifi is ok and there are no quality issues.
Very Strange! -
I am having a problem with java plug in since this weekend 1/12/13. Does anyboby know whats up?
tednjane wrote:
I am having a problem with java plug in since this weekend 1/12/13. Does anyboby know whats up?
Sure, it's been in every newspaper and network TV news. Java browser plugins below v1.7.10.19 are vulnerable to exploitation and have been disabled by Apple, Firefox & Chrome. You either need to update your installation to Oracle's Java 7 update 11 or do without. -
Does Safari have issues with Java?
When I log into my IG Index financial spread betting account safari usually quits unexpectedly immediately after the dealing screen has loaded. This is causing me huge frustration. The site relys a lot on Java. I believe there were issue with Java in Mac OS 10.3.9 that may still exist on 10.4.X
Any ideas?Do you have the latest versions of Java installed?
Have you enabled Java in Safari's preferences? -
Smart form printing issue with LOCL printer and SAP printer
Hi,
The issues are as follows:
1. the top portion of the Invoice and PO does not print when using the SAP printer (works when using LOCL)
2. the shaded areas of the Order Confirmation and Invoice are black when printing to a SAP printer (works when using LOCL)
In an attempt to correct the printing issue is was suggested that we change the SAP printer device type from HPLJ4 to POST2. This did address the problem where the shaded areas were black but then we received reports that other reports printed "garbage". Its possible that using POST2 device type causes issues when printing to HP compatible printers.
Apparently all the testing was done using the SAP printer LOCL and not the SAP printer name and SAP spool system. LOCL uses the SAP GUI and Windows system to produce the output. Our production users at the plant site and Toledo are using SAP defined printers with the device type of HPLJ4. HPLJ4 is our standard here as OC for our printer definitions and we have HP compatible printers installed in our Toledo location and all of our remote sites. We need to be able to correctly print the Invoices, Purchase Orders, Sales Order Confirmations on our SAP printers.
What can be done to the reports to allow them to print on our HPLJ4?
Thanks,
BabuHi Prathap,
Check the background shading of the windows of the Smartform where you get the black boxes. If it is set something like this:
Color: White
Saturation: 100%
this can be the problem.
I know it is strange but some black and white printers cannot handle this setting. They only know one color black so the ignore the color setting and just take the saturation 100% setting.
The reason it works with local and device type SAPWIN is that the print data is created in Windows and sent to the printer as graphic.
Please change the shading for window MAIN -> tab 'Output Options' to:
Color: Black
Saturation: 0%
and this should resolve the problem.
Then create a new spool and check if the problem is resolved. See SAP Note #400050.
Regards,
Prabhu -
Smart form printing issue with LOCL and SAP printer
Hi,
The issues are as follows:
1. the top portion of the Invoice and PO does not print when using the SAP printer (works when using LOCL)
2. the shaded areas of the Order Confirmation and Invoice are black when printing to a SAP printer (works when using LOCL)
In an attempt to correct the printing issue is was suggested that we change the SAP printer device type from HPLJ4 to POST2. This did address the problem where the shaded areas were black but then we received reports that other reports printed "garbage". Its possible that using POST2 device type causes issues when printing to HP compatible printers.
Apparently all the testing was done using the SAP printer LOCL and not the SAP printer name and SAP spool system. LOCL uses the SAP GUI and Windows system to produce the output. Our production users at the plant site and Toledo are using SAP defined printers with the device type of HPLJ4. HPLJ4 is our standard here as OC for our printer definitions and we have HP compatible printers installed in our Toledo location and all of our remote sites. We need to be able to correctly print the Invoices, Purchase Orders, Sales Order Confirmations on our SAP printers.
What can be done to the reports to allow them to print on our HPLJ4?
Thanks, PrathapHi Prathap,
Check the background shading of the windows of the Smartform where you get the black boxes. If it is set something like this:
Color: White
Saturation: 100%
this can be the problem.
I know it is strange but some black and white printers cannot handle this setting. They only know one color black so the ignore the color setting and just take the saturation 100% setting.
The reason it works with local and device type SAPWIN is that the print data is created in Windows and sent to the printer as graphic.
Please change the shading for window MAIN -> tab 'Output Options' to:
Color: Black
Saturation: 0%
and this should resolve the problem.
Then create a new spool and check if the problem is resolved. See SAP Note #400050.
Regards,
Aidan -
Printing issue with DeskJet 6940
About every 20 pages or so, printing in portrait mode, the printer does a form feed after printing about 1 1/2" of text. It happens intermittently, and there is no apparent logic or pattern.
I have reinstalled the driver, changed the USB cord, but to no avail. My LaserJet CP3505 on the same computer does not exhibit this issue.
Using Windows XP with SP 3, Dell Dimension 3150 with 3.25 GB ram. It also happened with earlier XP versions, so its not an operating system upgrade problem.
It happens with B/W or color printing, always using 8 1/2 x 11 paper from the upper tray. It does not appear to happen when printing in two-sided mode.
I don't know what to try next! Does anyone have an idea?I have an older HP non-wi-fi printer connected to my Apple Airport Express wireless router which includes a USB port. This makes the printer available with my wireless network which I've used for printing wirelessly with my former Apple PowerBook and now with my MacBook Pro for years. I'm now able to print from my iPhone and iPad as well.
You need to have the printer connected to a wireless router for your wi-fi network, or purchase a printer that is wi-fi capable and if you do that you might as well purchase an AirPrint compatible printer which doesn't require a wi-fi printing app purchased from the app store. -
Printing issues with HP 310a All in One Printer
I have a new HP 310a. Looks good, fast on text printing, but features such as merged envelopes and printing letters on A5 stationery do not print correctly; nor in correct order. Photos print larger than they actually are and look like they need to be cropped. Anyone experiencing the same?
Photo tray has nothing to hold paper in place (except on sides); and when tray enters printer, the photo paper slips backwards and error message "out of paper" appears.
This is the last time I will buy an HP productHi there,
Welcome to the HP Forums!
I understand that your HP F380 has stopped printing in color, and I am happy to help you with this printing issue!
For further assistance, I will need to know the following:
If you are using a Windows or Mac Operating System, and the version number. To find the exact version, visit this link. Whatsmyos.
If the printer is able to make copies by itself.
If the power cable is plugged into a surge protector, or directly to the wall outlet. Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector. This applies to Inkjet printers as well.
In the meantime, please take a look through this guide. Streaks or Lines in the Printed Image.
Hope to hear from you, and thank you for posting!
RnRMusicMan
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to say “Thanks” for helping!
Maybe you are looking for
-
I cannot switch gmail account users in iTunes
I am trying to sync my wife's iphone with her gmail account but it keeps pulling contacts from my gmail account instead. I first configured itunes to use my gmail account for my iphone some months ago. I keep my iphone in sync with my gmail account.
-
I have some very expensive (to me) foreign language training CDs that worked fine on my old imac but won't run on my intel based Macbook Pro. I understand that there is a difference between OS Classic and the Rosetta based system. Do you have any ins
-
my computer is telling me i do not have permission to access the requested resource to update my iphone 5 to the new ios 7. why is it telling me this and how can i fix it, I have updated itunes and everything
-
How to upgrade multiple app servers at once?
Hi All, Is there any way we can upgrade all the instances at once. Regards, Dheeraj
-
I have Mac Tiger 10.4.11 i cant upgrade itunes
i have Mac Tiger 10.4.11 i cant upgrade itunes Please help me wat i have to do