HP Laserjet P1102w problem running HTML Config from Printer Utility

I have recently changed broadband providers and was trying to move my HP P1102w printer to the new router so while I was at it I thought I'd check for Software & Firmware updates - there were new ones so I updated both with the printer connected via USB to my Apple iMAC running 10.6.8 and now I can't run the HTML Config  via the Printer Utility screens - instead of the normal window you would get I I just get a screen full of the code it's tryingto run e.g. below
I've tried going back to the original software provided with my original installed CD, but no luck - anyone experienced the same and any ideas how I can resolve this?
Thanks in advance,
Ian
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>HP LaserJet Professional P1102w&nbsp;&nbsp;&nbsp;USB</title>
<link href="/SSI/defaultnew.css" type="text/css" rel="stylesheet" media="screen,print">
<script type="text/javascript" src="/SSI/global.js"></script>
<script type="text/javascript" src="/SSI/buttonManager.js"></script>
This question was solved.
View Solution.

Hi @cartian ,
I see that you need to setup the printer on a new network. I can help you with this.
Make sure Safari is set as the default browser. Sometimes the Embedded Web Server won't open in other browsers.
Open Safari, across the top select the Safari menu, select Preferences, General, set as default.
Turn the printer off, hold down the wireless button and cancel (x button) while turning the printer back on and don't release the two buttons until the printer stops making noise.
Print out a configuration report and make sure the old SSID and IP address are cleared.
(hold down the x button and when the printer makes a noise let go)
Connect the USB cable from the printer to the Mac and install the printer software.
(if this is already done then skip this step)
Go to the Apple, system preferences, print and fax.
Double click on the P1102w.
Open the utility.
Click printer setup.
Click HTML config.
This should open the Embedded Web Server for the printer.
Click the Networking tab.
Click Wireless from the list on the left.
Under Communication Mode , click Infrastructure.
Select your network SSID from the Available Network Names (SSID) list and then click the << button so the network name moves over to other box.
From the Security Mode pop-up menu under Authentication , click WEP, WPA/WPA2 or open . Your selection depends on which Wireless Security Protocol your network uses.
Make sure you select either hexadecimal or alpha depending on your password. (very important)
Apply the settings.
In the confirmation box (changes have been saved), click OK.
You should get a solid blue light on the printer shortly.
Then all we have to do is delete the USB driver and add the network driver.
Click on the Apple.
Click system preferences.
Click the print and fax icon.
Highlight the printer and click on the - sign to delete the printer. (USB driver)
Disconnect the USB cable.
Then click the + sign and select the printer from the list and click add. (p1102w bonjour)
Test the printer.
If you have any issues with the HTML config opening then do the following steps:
Close any applications.
On the Apple menu bar, click Go, computer, MAC harddrive, Library, Printers, HP, LaserJet, click on folder for your printer, click on EWS browser or HTML config, click the Networking tab, click wireless on the left and fill out your information. (make sure infrastructure is selected) Apply settings.
Then delete the USB driver and add the network printer.
If there is anything else that I can help you with just let me know.
Have a wonderful day!
Thank You.
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" on the right to say “Thanks” for helping!
Gemini02
I work on behalf of HP

Similar Messages

  • HP Laserjet P1102w problem

    Hello,
    after several attempts and after installing the newest firmware I finally have managed to install the Laserjet P1102w on my Mac OS: Lion).
    However, I still face a major problem when printing wireless: the printer stops printing after a while.I have installed the printer via bonjour, assigned a unique SSID and a fixed IP adresse, deactivated auto-off, set the I/O timeout to max. The printer is accessible over the webbased interface and prints documents via ePrint mobile printing. Although the LED glows a constant blue, the printer quits printing.
    Is there a major bug in the firmware or is the printer incompatible with OS 10.7.2?
    Chris
    This question was solved.
    View Solution.

    Let's set a static IP address for the printer:
    - Print a Network Config Page from the front of the printer. Note the printer's IP address.
    - Type that IP address into a browser to reveal the printer's internal settings.
    - Choose the Networking tab, then Wireless along the left side, then the IPv4 tab.
    - On this screen you want to set a Manual IP. You need to set an IP address outside the range that the router automatically sets (called the DHCP range). You can find the DHCP range of the router using its internal settings page or in its manual. Use the CD that came with your router or type the router's IP address (ends in .1) into a browser.
    - Use 255.255.255.0 for the subnet (unless you know it is different, if so, use that)
    - Enter your router's IP (on the Network Config Page) for the gateway and first DNS. Leave the second one blank.
    - Click 'Apply'.
    Now, shut down the router and printer, start the router, wait, then start the printer.
    After this you may need to redo 'Add a Printer' using the new IP address.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Problem run emca -config dbcontrol db -repos create

    when tried to run emca -config dbcontrol db -repos create i choose oracle database SID: ORCL but when i write DBSNMP user pass: it shows me Invalid password.
    When i have tried to login in sqlplus with the same user: DBSNMP and my password it login me without porblem.
    I don't know where is the problem
    Details:
    OS: WIndows Server 2003
    Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options
    Thanks

    Hi,
    The possible cause for this issue are like,
    1. The 11g Database has a restricted password policy enforced. Passwords must be 8+ characters and are case sensitive during database creation.
    2. Invalid password provided
    3. Password file created with wrong password.
    As you said you are able to login from sqlplus, so please check with the 1st & 3rd options.
    Best Regards,
    Venkat

  • Problems running bam-config.bat

    hello everybody I m havin a trouble running bam-config.bat this is the problem that I copy from the command prompt, anyone knows what can be doing this problem? This the second machine I m trying to install the TP4 and the first one was Ok and now I m getting this:
    stop-standalone-oc4j-private:
    [echo] OC4J stopped sucessfully
    managed-oc4j-init:
    stop-managed-oc4j:
    stopoc4j:
    config-users-and-roles-standalone:
    [echo] == Configuring BAM security. ==
    [java] Jul 22, 2008 11:11:01 AM oracle.bam.common.security.BamJpsProvisioner execute
    [java] INFO: [1] BamJpsProvisioner: Start BAM JPS provisioning.
    [java] Jul 22, 2008 11:11:04 AM oracle.bam.common.security.BamJpsProvisioner execute
    [java] INFO: [1] BamJpsProvisioner: End BAM JPS provisioning.
    append_bam_grants:
    config-users-and-roles-managed:
    config-users-and-roles:
    config-logging:
    [echo] == Configuring BAM logging ==
    start-standalone-oc4j:
    init:
    is-oc4j-running:
    start-standalone-oc4j-private-script:
    start-standalone-oc4j-private-java:
    [echo] ==Starting standalone oc4j.
    [echo] Start script used is:C:\Oracle\BAM11g_OC4J/bin/start-oc4j-in-console.bat
    [echo] ==Waiting max 420 second(s) for startup of URL http://PARJ0LEM100564:8888...
    [echo] ==standalone oc4j started sucessfully==
    start-standalone-oc4j-private:
    managed-oc4j-init:
    start-managed-oc4j:
    startoc4j:
    config-shared-libraries-standalone:
    [echo] == Configuring BAM Shared Libraries Standalone ==
    [echo] ==Creating common shared libraries: oracle.fabric.runtime and oracle.adapter.common==
    usage:
    soa-common-lib:
    [echo] admin_client cmd : -script C:\Oracle\BAM11g_OC4J/j2ee/home/install/tmp/SOA.script
    [java] Java Result: 1
    [echo] admin_client cmd : -script C:\Oracle\BAM11g_OC4J/j2ee/home/install/tmp/SOA.script
    [java] Java Result: 1
    [echo] java -jar C:\Oracle\BAM11g_OC4J/j2ee/home/admin_client.jar fmwadmin welcome1 deployer:oc4j:PARJ0LEM100564:23791 -publishSharedLibrary -name oracle.bam.common -version 11.1.1.0.0 -addCodeSources C:\Oracle\BAM11g_OC4J/jlib/jmxtools.jar C:\Oracle\BAM11g_OC4J/lib/java/shared/oracle.bam.common/11.1.1.0.0/bpm-ide-common.jar C:\Oracle\BAM11g_OC4J/lib/java/shared/oracle.bam.common/11.1.1.0.0/commons-httpclient-3.0.1.jar C:\Oracle\BAM11g_OC4J/lib/java/shared/oracle.bam.common/11.1.1.0.0/Tidy.jar C:\Oracle\BAM11g_OC4J/lib/java/shared/oracle.bam.common/11.1.1.0.0/xstream-1.1.3.jar C:\Oracle\BAM11g_OC4J/jlib/ohw-share.jar C:\Oracle\BAM11g_OC4J/jlib/ohw-uix.jar C:\Oracle\BAM11g_OC4J/jlib/help-share.jar C:\Oracle\BAM11g_OC4J/jlib/uix2.jar C:\Oracle\BAM11g_OC4J/jdk/lib/tools.jar C:\Oracle\BAM11g_OC4J/jlib/jaxen.jar C:\Oracle\BAM11g_OC4J/jlib/share.jar -imports apache.commons.fileupload com.ctc.wstx oracle.xml oracle.sdp.messaging
    [java] oracle.oc4j.admin.deploy.cmdline.AdminCommandException: PublishSharedLibrary error: Shared library already exists: oracle.bam.common version 11.1.1.0.0
    [java] at oracle.oc4j.admin.deploy.cmdline.PublishSharedLibraryCommand.doExecute(PublishSharedLibraryCommand.java:106)
    [java] at oracle.oc4j.admin.deploy.cmdline.AdminCommandBase.execute(AdminCommandBase.java:58)
    [java] at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:107)
    [java] at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.main(Oc4jAdminCmdline.java:71)
    [java] Caused by: oracle.oc4j.admin.deploy.cmdline.AdminCommandException: Shared library already exists: oracle.bam.common version 11.1.1.0.0
    [java] at oracle.oc4j.admin.deploy.cmdline.PublishSharedLibraryCommand.doExecute(PublishSharedLibraryCommand.java:103)
    [java] ... 3 more
    [java] Java Result: 1
    config-shared-libraries-managed:
    config-shared-libraries:
    null-guids:
    null-guids:
    [echo] Clearing BAM user GUIDs...
    [echo] bam.jdbc.connectstring=localhost:1521:xe
    [echo] bam.jdbc.url=jdbc:oracle:thin:@localhost:1521:xe
    [echo] bam.db.user=ORACLEBAM
    [echo] bam.db.password=bam
    [sql] Executing commands
    [sql] 1 of 1 SQL statements executed successfully
    config-scripts:
    [echo] == Configuring BAM command line scripts ==
    config-data-sources:
    [echo] == Configuring BAM Datasource ==
    [echo] == bam.db.user = ORACLEBAM ==
    [echo] == bam.db.password = bam ==
    [echo] == bam.jdbc.url = jdbc:oracle:thin:@localhost:1521:xe ==
    [echo] java -jar C:\Oracle\BAM11g_OC4J/j2ee/home/admin_client.jar fmwadmin welcome1 deployer:oc4j:PARJ0LEM100564:23791 -createJDBCConnectionPool -name bam_connection_pool -factoryClass oracle.jdbc.pool.OracleDataSource -user ORACLEBAM-password bam -url jdbc:oracle:thin:@localhost:1521:xe
    [java] Jul 22, 2008 11:11:40 AM oracle.j2ee.util.AnnotatedLogger log
    [java] WARNING: Exception returned by remote server: javax.management.MBean
    Exception: Exception thrown in RequiredModelMBean while trying to invoke operation createJDBCConnectionPool
    [java] oracle.oc4j.admin.deploy.cmdline.AdminCommandException: createJDBCConnectionPool error: createJDBCConnectionPool failed: MBeanException creating JDBC connection pool: Exception thrown in RequiredModelMBean while trying to invoke operation createJDBCConnectionPool : Cannot create connection pool. A connection pool named 'bam_connection_pool' already exists.
    [java] at oracle.oc4j.admin.deploy.cmdline.CreateJDBCConnectionPoolCommand.doExecute(CreateJDBCConnectionPoolCommand.java:86)
    [java] at oracle.oc4j.admin.deploy.cmdline.AdminCommandBase.execute(AdminCommandBase.java:58)
    [java] at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:107)
    [java] at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.main(Oc4jAdminCmdline.java:71)
    [java] Caused by: oracle.oc4j.admin.deploy.api.J2EEDeploymentException: createJDBCConnectionPool failed: MBeanException creating JDBC connection pool: Exception thrown in RequiredModelMBean while trying to invoke operation createJDBCConnectionPool : Cannot create connection pool. A connection pool named 'bam_connection_pool' already exists.
    [java] at oracle.oc4j.admin.deploy.shared.exceptions.JSR88DeploymentExceptions.operationFailed(JSR88DeploymentExceptions.java:137)
    [java] at oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.createJDBCConnectionPool(J2EEDeploymentManager.java:1112)
    [java] at oracle.oc4j.admin.deploy.cmdline.CreateJDBCConnectionPoolCommand.doExecute(CreateJDBCConnectionPoolCommand.java:82)
    [java] ... 3 more
    [java] Caused by: java.lang.InstantiationException: MBeanException creating JDBC connection pool: Exception thrown in RequiredModelMBean while trying to invoke operation createJDBCConnectionPool : Cannot create connection pool. A connection pool named 'bam_connection_pool' already exists.
    [java] at oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.createJDBCConnectionPool(Oc4jDeploymentManager.java:451)
    [java] at oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.createJDBCConnectionPool(J2EEDeploymentManager.java:1109)
    [java] ... 4 more
    [java] Caused by: oracle.oc4j.sql.DataSourceException: Cannot create connection pool. A connection pool named 'bam_connection_pool' already exists.
    [java] at com.evermind.server.DataSources.createConnectionPool(DataSources.java:392)
    [java] at com.evermind.server.DataSources.createConnectionPool(DataSources.java:431)
    [java] at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:1794)
    [java] at com.evermind.server.Application.createDataSourceConnectionPool(Application.java:4562)
    [java] at oracle.oc4j.admin.management.mbeans.J2EEApplication.createJDBCConnectionPool(J2EEApplication.java:1976)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:585)
    [java] at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:585)
    [java] at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
    [java] at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
    [java] at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
    [java] at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:729)
    [java] at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    [java] at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    [java] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    [java] at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    [java] at oracle.oc4j.admin.jmx.server.state.ApplicationStateFilterMBeanServer.invoke(ApplicationStateFilterMBeanServer.java:572)
    [java] at oracle.oc4j.admin.jmx.server.security.ApplicationContextInterceptor.invoke(ApplicationContextInterceptor.java:186)
    [java] at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:337)
    [java] at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:307)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:585)
    [java] at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:27)
    [java] at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    [java] at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.checkPermission(MBeanServerEjbBean.java:1262)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:585)
    [java] at com.evermind.server.ejb.interceptor.MethodBasedInterceptor.invoke(MethodBasedInterceptor.java:45)
    [java] at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    [java] at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    [java] at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    [java] at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    [java] at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    [java] at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
    [java] at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    [java] at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:52)
    [java] at java.security.AccessController.doPrivileged(Native Method)
    [java] at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    [java] at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:182)
    [java] at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:511)
    [java] at oracle.oc4j.security.JaasModeImpl$DoAsPrivilegedExecutor.execute(JaasModeImpl.java:301)
    [java] at oracle.oc4j.security.JaasModeImpl$BasicExecutor.execute(JaasModeImpl.java:161)
    [java] at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:57)
    [java] at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    [java] at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    [java] at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    [java] at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:58)
    [java] at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:828)
    [java] at MBeanServerEjb_RemoteProxy_1me2j7.invoke(Unknown Source)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:585)
    [java] at com.evermind.server.rmi.RmiMethodCall.invokeMethod(RmiMethodCall.java:102)
    [java] at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:64)
    [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    [java] at java.lang.Thread.run(Thread.java:595)
    BUILD FAILED
    C:\Oracle\BAM11g_OC4J\install\bam\config-tasks.xml:195: The following error occurred while executing this line:
    C:\Oracle\BAM11g_OC4J\install\bam\config-tasks.xml:209: The following error occurred while executing this line:
    C:\Oracle\BAM11g_OC4J\install\bam\config-tasks.xml:303: The following error occurred while executing this line:
    C:\Oracle\BAM11g_OC4J\install\bam\config-tasks.xml:349: The following error occurred while executing this line:
    C:\Oracle\BAM11g_OC4J\install\bam\config-tasks.xml:605: The following error occurred while executing this line:
    C:\Oracle\BAM11g_OC4J\install\bam\config-tasks.xml:700: Java returned: 1
    Total time: 2 minutes 35 seconds
    C:\Oracle\BAM11g_OC4J\bin>

    Hi Mario,
    Did you run the config more than once?The error states the the connection pool already exists(A connection pool named 'bam_connection_pool' already exists.)
    If this is the case, you will need to :
    1.Delete the existing unzipped directory.
    2.Unzip the zip files again.
    3.Run soaconfig . (I suggest, to make a backup of the folder after this step, so that in case anything fails, you don't have to rerun soa-config.)
    4.Run bamconfig.
    ~Deepan

  • Problems running external programs from java

    Hello.
    I wrote a pair of perl scripts and a GUI in java to run them. The first perl script just read the files in one directory makes some changes to the names of the files and then group all this files in a set of new directories. The other perl scripts takes all this new files and calls BLAST sequence alignment program and perform some alignments among these sequences. I tested this scripts and they work fine.
    The problem comes when I try to run them for the JAVA GUI. I use RunTime and when I need to run the first perl script it all works well, but when The call to the second perl script is made the program fisishes without doing anything at all. I found out that the problem is that when running the script from the Java GUI it's not able to find BLAST program. So I guess that Java is not really starting a terminal session and it doesn't read my bash_profile to find out the path to my programs.
    So, my question is if anyone knows a method to tell Java to load all this paths in the bash_proflie file so all of my scripts work???.
    I have no idea is this can be done and how so any advice would be really wellcome.
    By the way, my java version is 1.4.2 and my OS is Mac OS X 10.3
    Thanks a lot , Julio

    Invoke /bin/sh -c and give it your program's full path with.
    (To understand what I've written, maybe reading
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps_p.html
    http://mindprod.com/jgloss/exec.html
    and
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html
    (especially the exec(String[] cmdarray) method)
    might help)
    -T-

  • How to run .html file from .java file..?

    Hi All,
    I was just trying as mentioned in the subject of how to run an html file from a java file.We have runtime class which inturn is having exec method which returns process but it supports only .exe as an argument .Is there any way to do this???
    Thanks in advance.

    viswa07 wrote:
    You mean to say Desktop class in java...???I'm so sorry, I thought you knew enough Java to look up the API.
    [This link|http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html] might be more at your level.
    db

  • Java Mail - problems receiving HTML mail from outlook

    Hello,
    I have a problem with receiving HTML mails from outlook. What I want to do is the following
    - receiving a HTML mail - like a newsletter- send via Outlook
    - display the mail via my mail client in a jtextpane
    I tried it with the following code - but without success :
    a)
    Message msg = message;                    ByteArrayOutputStream os = new ByteArrayOutputStream();     
    message[i].getDataHandler().writeTo(os);
    String data = new String(os.toByteArray());
    textPane.setText(data);
    b)
    StringBuffer sb = null;
    Multipart mp = (Multipart)message[i].getContent();
    for (int j = 1; j < count; j++){
    sb = new StringBuffer();
    InputStream is = mp.getBodyPart(j).getInputStream();
    int c;
    while ((c = is.read()) != -1)
    sb.append((char) c);
    is.close();
    textPane.setText(sb.toString());
    Thanks,
    Mario

    This is what i use and it works just fine
    import java.io.*;
    import java.net.InetAddress;
    import java.util.Properties;
    import java.util.Date;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class sendMail {
    public sendMail(String To,String Subject,String message) {
    String to = To, subject = Subject, from = null,
              cc = null, bcc = null, url = null;
         String protocol = null, host = null, user = null, password = null;
         boolean debug = false;
         try{
    Properties props = System.getProperties();
         Session session = Session.getDefaultInstance(props, null);
         Message msg = new MimeMessage(session);
         if (debug)
              session.setDebug(true);
    msg.setFrom(new InternetAddress("[email protected]"));
         msg.setRecipients(Message.RecipientType.TO,
                             InternetAddress.parse(to, false));
         msg.setSubject(subject);
    msg.setText(message);
         msg.setHeader("Mail","test.com");
         msg.setSentDate(new Date());
         Transport.send(msg);
         System.out.println("\nMail was sent successfully.");
         } catch (Exception e) {
         e.printStackTrace();

  • Hp Laserjet P1102w Doesn't show up in Print and Fax list OS 10.5.8

    Got an HP Laserjet 1102w and tried to install under Mac OS 10.5.8.  I downloaded and sucessfully ran the HP drivers but when I go to add the printer under system preferences/printers and fax the list of available printers is blank.  I've tried several routines suggested by a web search of the problem to no effect.
    Anybody out there solved this?
    This question was solved.
    View Solution.

    Thanks for your attention.  I figured out the solution.  See below.
    The printer was connected by USB and I was also trying to get the wireless connection set.  I had intermittent progress on both fronts but could not get a successful installation either as a USB connection or wireless connection.  The printer would "disappear" off the list of available printers (using the "+" to add printer, OS 10.6.8) or not respond to setup commands.  And I could not get the printer's wireless connection to my network to "take".
    Printing the  configuration page was of no use.  If the printer is unable to connect to the wireless network it reports the printer IP address as 0.0.0.0. 
    TO SOLVE THE PROBLEM
             (clicking + under "Print & Fax" the printer does not appear or the printer name disappears)
    1) replace the USB cable - the original was susceptible to cutting out;
    2) give up on wireless - to - wireless set up methods - no amount of factory resetting would clear the mystery connection block;
    3) set up the wireless connection by way of a (good) USB cable;
    3) switch the browser used to view the printer's setup page from Firefox (34.0.5 for Mac OS 10.6.8) to Safari
    4) use WPA security mode (not WEP as suggested by HP's help files).
    The primary troublemaker was the bad USB cable.  Going thru a wireless set up presumes that the printer can connect to the network. As already noted, the wireless connection was not working.  The blue network light would not come up steady.  Some transmission option was blocking sucessfull handshaking between the printer and my wireless router.  I tried the recommended factory reset methods without success.
    I needed a good USB connection to get to the printer's setup options.
    Don't know what was up with Firefox - a bad plugin or something?  It just would not connect to the printer via IP addressing.  Safari worked fine.  (Now the printer is successfully setup Firefox has decided to work too.)
    SO THE SOLUTION IS:
          1) connect the printer and Mac via a (good) USB cable;
          1) use Safari to get in to the printer's setup functions (via system preferences/print & fax/options & supplies/show printer web page);
          2) follow the recommended setup options (HP support for Laserjet P1102w, OS 10.6, using a USB cable to set up a wireless connection);
          3) select the proper wireless network from the list;
          4) reset the security mode to WPA; and
          5) give the printer the correct wireless network password.
    Thank-you, and the forum, for your help.

  • Printers disappeared from printer Utility

    Not only have my printers disappeared from the printer utility window I also get the error message "server-error-service-unavailable I have tried the fixes on the OS X support page such as: Repairing permissions on the startup drive; verifying the /tmp file thru terminal but I still can't see my printers and still get the error message. Any help would be appreciated.

    This just happened to me as well. G5 dual, 10.3.9. Earlier in the day I ran software update which applied a security update to the OS and some other updates (Quicktime, Garage Band, etc.). I repaired permissions before and after. For a while I could print as normal over the network (printers not directly connected to this Mac). Later in the day I suddenly got "no printers selected" and when I went to add/delete in the Printer Setup Utility, I got the "server-error-service-unavailable" message and the utility hung. I've shut the machine down completely, but the problem persists on re-start.
    Are there perhaps corrupted prefs to trash? I don't want to just go trashing stuff blindly.
    Or does it indicate a server problem, not my machine? Doubt it because others can print successfully.

  • Help my printer is gone from printer utility!!!

    Hope someone can help. Apple recently switched out my HD, only to have to replace it again 2 weeks later. I lost everything and am trying to get up & running again. I re0installed my epson R2400 printer driver (with CD) but for some reason there is no R2400 available on my printer utility menu? I can't for the life of me get my printer to work. In Oct, when I got the printer it was easy, but then I had 10.4.x.
    What do i do?
    Thanks,
    C

    You have to Add the printer to the printer list - I think that's in the manual. Use More Printers and Epson USB.

  • HP laserjet P1102w not running on Mac

    I use a MacBook Air on a W7 network. Th HP P1102w works fine from the Windos machines and it did so on my Mac. When I updated to Mavericks it was the end of the story.
    When I try to get it running it says that "the software for this printer is not available via Apple. Please consult your printermanufacturer for a new version.
    Where do I find it?????

    Hello, sorry that you are experiencing this issue. Have you checked to make sure the new computer network is the same as the one the printer is connected to?
    Check the static IP address and see if they are on the same network. 
    **Click the KUDOS star on the left to say 'Thanks'**
    Please mark a reply "ACCEPTED AS SOLUTION" if it solved your problem, so others can find it.

  • Problem running DNG Converter from command line in Windows XP

    I'm a frustrated user trying to run Adobe DNG converter from the Windows command line - more specifically from a batch file.
    - Am reasonably conversant with writing batch files
    - Have read the PDF file provided by Adobe
    I just can't figure the correct syntax for adding the command line parameters and, unfortunately, the Adobe PDF file doesn't have verbose examples for idiots like me. Nor can I find any such examples on the Net, or any discussion of this problem in the forums.
    The Adobe PDF instructions state...
    "The parameter list includes the conversion options you want to use, followed by the names of the files to convert."
    As there is no switch to prefix 'the names of the files to convert' I assume I just leave a space and include the path to the source files at the end of the parameter list?
    Here is the batch file line I am trying to use...
    "C:\Program Files\Adobe\Adobe DNG Converter.exe [parameter list]"
    Where I want to specify in the [parameter list] that...
    (a) The destination directory (-d <directory> parameter) is c:\DNG_files
    (b) And the source files are in directory c:\RAW_files
    Here is the batch line with the parameters entered...
    "C:\Program Files\Adobe\Adobe DNG Converter.exe -dC:\RAW_files c:\DNG_files"
    I've tried variations of this with space between -d and C:\RAW_files and C:\DNG_files\*.* for the source files parameter.
    I just keep getting DOS erros like "The filename, directory name or volume label syntax is incorrect"
    Can anybody help me. I'm clueless how to solve the problem. :-(
    I'm running DNG COnverter version 4.2
    Thanks in anticipation.
    Rob

    Thanks for responding G Sch.
    LOL. Well this lemming doesn't habitually rename .exe files (e.g. Adobe DNG Converter.exe) to a non-spaced alternative either! (Adobe_DNG_Converter.exe)
    Still no luck...
    *** Here is my batch file...
    REM Copy and DNG-convert files from CF
    CD c:\RAW_files
    dir c:\RAW_files
    "C:\Program Files\Adobe\Adobe DNG Converter.exe" -d C:\DNG_files
    dir c:\DNG_files
    pause
    ***Here's the DOS shell output...
    <<BEGINS>>
    C:\RAW_files>dir c:\RAW_files
    Volume in drive C is Local Disk
    Volume Serial Number is D084-58ED
    Directory of c:\RAW_files
    12/03/2008 10:29 AM <DIR> .
    12/03/2008 10:29 AM <DIR> ..
    11/03/2008 07:00 AM 10,661,632 _3110455.ORF
    11/03/2008 07:01 AM 10,661,632 _3110457.ORF
    11/03/2008 07:01 AM 10,661,632 _3110458.ORF
    11/03/2008 07:02 AM 10,661,632 _3110460.ORF
    11/03/2008 07:02 AM 10,661,632 _3110461.ORF
    11/03/2008 07:03 AM 10,661,632 _3110462.ORF
    11/03/2008 07:03 AM 10,661,632 _3110463.ORF
    11/03/2008 07:04 AM 10,661,632 _3110464.ORF
    11/03/2008 07:04 AM 10,661,632 _3110465.ORF
    9 File(s) 95,954,688 bytes
    2 Dir(s) 2,619,731,968 bytes free
    C:\RAW_files>"C:\Program Files\Adobe\Adobe DNG Converter.exe" -d C:\DNG_files
    C:\RAW_files>dir c:\DNG_files
    Volume in drive C is Local Disk
    Volume Serial Number is D084-58ED
    Directory of c:\DNG_files
    12/03/2008 02:46 PM <DIR> .
    12/03/2008 02:46 PM <DIR> ..
    0 File(s) 0 bytes
    2 Dir(s) 2,619,731,968 bytes free
    C:\RAW_files>pause
    Press any key to continue . . .
    <<ENDS>>
    As you can see (a) Source files exist(b) DNG command line runs without generating an error (c) no output files in destination.
    DNG Converter did not run.
    If I remove everything after the command (i.e. the parameter list stuff) it fires up DNG Converter in interactive mode. Not what I'm after.
    Any other thoughts on what the problem is?
    Thank you.
    Rob

  • Problem running Acrobat.exe from acrobat plugin in IE

    hi,
    In another discussion, regarding signing pdf in Internet explorer, i am awaiting a reply to a very imp question. In the mean time, asuming that it cannot be done in a standard way, as we have used PDDoc allover the plugin and in IE PDDoc is only accessible in callback methods, i have tried to implement a work around, where i save the PDF to local disk and open it in acrobat.exe.
    i do the following:
    Register for PDDocDidOpen notification.
    In PDDocDidOpen notification i save the AVDoc globally for later use.
    then in IdleHandler callback, i use the globally save AVDoc to call PDDocSave() method to save the online pdf to local disk.
    and in the PDDocDidSave() callback i use shellexecute to opend acrobat.exe to open the newly saved PDF.
    Problem:    The shellexecute opens up acrobat.exe showing the newly saved file, but if i click the empty field in the PDF or press any button, acrobat.exe crashes.
    I have tried placing shellexecute in differenct callbacks but no success.
    here is the shell execute.
    ShellExecute(NULL, "open", "C:\\Program Files (x86)\\Adobe\\Acrobat 10.0\\Acrobat\\Acrobat.exe", "d:\\test.pdf", NULL, SW_SHOWNORMAL);
    I have opened a different pdf than the newly saved one instead, but still the crash exists.
    Do u have any idea what i might be doing wrong.
    Jahangir

    Thanks for responding G Sch.
    LOL. Well this lemming doesn't habitually rename .exe files (e.g. Adobe DNG Converter.exe) to a non-spaced alternative either! (Adobe_DNG_Converter.exe)
    Still no luck...
    *** Here is my batch file...
    REM Copy and DNG-convert files from CF
    CD c:\RAW_files
    dir c:\RAW_files
    "C:\Program Files\Adobe\Adobe DNG Converter.exe" -d C:\DNG_files
    dir c:\DNG_files
    pause
    ***Here's the DOS shell output...
    <<BEGINS>>
    C:\RAW_files>dir c:\RAW_files
    Volume in drive C is Local Disk
    Volume Serial Number is D084-58ED
    Directory of c:\RAW_files
    12/03/2008 10:29 AM <DIR> .
    12/03/2008 10:29 AM <DIR> ..
    11/03/2008 07:00 AM 10,661,632 _3110455.ORF
    11/03/2008 07:01 AM 10,661,632 _3110457.ORF
    11/03/2008 07:01 AM 10,661,632 _3110458.ORF
    11/03/2008 07:02 AM 10,661,632 _3110460.ORF
    11/03/2008 07:02 AM 10,661,632 _3110461.ORF
    11/03/2008 07:03 AM 10,661,632 _3110462.ORF
    11/03/2008 07:03 AM 10,661,632 _3110463.ORF
    11/03/2008 07:04 AM 10,661,632 _3110464.ORF
    11/03/2008 07:04 AM 10,661,632 _3110465.ORF
    9 File(s) 95,954,688 bytes
    2 Dir(s) 2,619,731,968 bytes free
    C:\RAW_files>"C:\Program Files\Adobe\Adobe DNG Converter.exe" -d C:\DNG_files
    C:\RAW_files>dir c:\DNG_files
    Volume in drive C is Local Disk
    Volume Serial Number is D084-58ED
    Directory of c:\DNG_files
    12/03/2008 02:46 PM <DIR> .
    12/03/2008 02:46 PM <DIR> ..
    0 File(s) 0 bytes
    2 Dir(s) 2,619,731,968 bytes free
    C:\RAW_files>pause
    Press any key to continue . . .
    <<ENDS>>
    As you can see (a) Source files exist(b) DNG command line runs without generating an error (c) no output files in destination.
    DNG Converter did not run.
    If I remove everything after the command (i.e. the parameter list stuff) it fires up DNG Converter in interactive mode. Not what I'm after.
    Any other thoughts on what the problem is?
    Thank you.
    Rob

  • How to call and run HTML pages from an Applet?

    I want to run another HTML page when pressed a button in an Applet,how can i do it?

    Are you looking for this?
    applet.getAppletContext().showDocument("http://cullenwines.com.au", "_top");

  • Problem Running BEX report from SAP.

    Hi All,
    We are getting the below error message when we are executing BEX report from SAP.
    "Analyzer requires version 140. The currently installed version is 066
    Message no. RSR_LAUNCH_EXCEL107."
    when i run the report for first time it is displaying correctly but, when i run it for second time (first one is already opened) then i get the above message.
    Please let me know is there any setting or oss note related to this issue.
    Thanks,
    Shiva.

    Hi,
    Where is it happened? in Tx RRMXP, RRMX or when you execute Bex Analyzer?
    Probe with this notes: 1086904, 1152929.
    Regards.
    Edited by: Conrado Linquet on May 11, 2009 9:55 PM

Maybe you are looking for

  • Warning host not found in topology

      Hi I am new to Lync. After following tutorial to install Lync Server 2013 (front end) on Server 2012 R2, everything worked like charm. Then I decided to enable external access (another Windows 2012 R2) , so I started with Edge installation. Unfortu

  • Insert query in a workbook -BEx 7.0

    I have a workbook with one query in it, and I would like to insert one more query in a seperate worksheet. In BEx 3.x I did it simple with the command "Insert Query", but here I cannot find a command that insert the query with the data area and filte

  • Iphone 3GS camera roll not showing up in iPhoto

    i see the tab that says iphone 3GS in iPhoto but the pictures are there but just white dot outlines??? any help

  • Need Help In Solving Writing To Queue Problem

    Hi Guys, I have two threads that are adding to the same message queue. The first one is suppose to add four integers consecutively. Meanwhile the second thread add an integer in between the four integers. Because of that my application is not working

  • Remove the logging in & logging off screen executing a transactional iview

    I created transactional iviews for few transactions It link to the SAP GUI where it first moves to SAP logon first,then goes to the transasction execute it and when try to close the SAP screen it prompts logging of dialog box .to save data or not I w