facebook

Print Struts-Design View [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #214816 Reply

    Sprint-TX
    Member

    When I try to print the struts-config.xml design view, the Windows XP Spooling system crashes. It then takes 2 reboots to clear the queue to come back to a normal state where I can do any printing with my machine.

    This only happens when printing from Eclipse Struts – Design View. Is this a BUG?

    I am using MyEclipseIDE Version: 3.8.1 Build id: 200408201200-3.8.1 and Eclipse 3.0.0 Build id: 200406251208 – Windows XP – SP2.

    #214836 Reply

    Riyad Kalla
    Member

    I was not able to reproduce this problem… can you describe the diagram you are trying to print in more detail? Is it enourmous? Small? How many actions? etc…

    I just printed out a diagram that was 25 pages long without a problem or any pausing.

    #214895 Reply

    Sprint-TX
    Member

    Here is the code for the diagram:

    
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
       <data-sources />
       <form-beans >
          <form-bean name="loginForm" type="com.sprint.struts.form.LoginForm" />
          <form-bean name="uploadForm" type="com.sprint.struts.form.UploadForm" />
          <form-bean name="renameForm" type="com.sprint.struts.form.RenameForm" />
    
       </form-beans>
    
       <global-exceptions />
       <global-forwards />
       <action-mappings >
          <action
             attribute="loginForm"
             input="/form/login.jsp"
             name="loginForm"
             path="/login"
             scope="request"
             type="com.sprint.struts.action.LoginAction"
             validate="true" >
             <forward name="success" path="/form/success.jsp" />
          </action>
          <action
             attribute="uploadForm"
             input="/form/upload.jsp"
             name="uploadForm"
             path="/upload"
             scope="request"
             type="com.sprint.struts.action.UploadAction" >
             <forward name="success" path="/form/success.jsp" />
             <forward name="duplicate" path="/duplicateFilename.jsp" />
          </action>
          <action
             attribute="renameForm"
             input="/duplicateFilename.jsp"
             name="renameForm"
             path="/rename"
             scope="request"
             type="com.sprint.struts.action.RenameDuplicateAction"
             validate="false">
             <forward name="success" path="/form/success.jsp" />
          </action>
    
    
    
       </action-mappings>
    
       <controller bufferSize="4096" debug="0" />
       <message-resources parameter="com.sprint.struts.ApplicationResources" />
    </struts-config>
    
    

    I also ugraded the driver for my printer (Lexmark X1150) and still got the same issue. If I print text from Eclipse – no problem – just the digram fails.

    Here is the information from the error dialog:

    
    Error signature
      szAppName: spoolsv.exe   szAppVer: 5.1.2600.2180   szModName: ntdll.dll
      szModVer: 5.1.2600.2180  offset: 000138b4
    

    Not sure if any of that helps, but I can print from other applications that include vector graphics (like Visio) with no issues.

    #214897 Reply

    Riyad Kalla
    Member

    Do you have access to any other computer or printer that you can install ME on and try and print from?

    Also I just copied/pasted your contents above into a struts-config.xml file, saved it, reopened it and printed it and it worked fine.

    I saw that Lexmark just recalled 40k printers… maybe tihs could be a cause? http://it.slashdot.org/article.pl?sid=04/09/07/2240249&tid=128&tid=194&tid=1&tid=218

    I have no idea…

    #214898 Reply

    Sprint-TX
    Member

    Looks like it is the print driver. I can print to a network printer (HP PSC500) with no issues.

    Something you should be aware of….

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Print Struts-Design View [Closed]

You must be logged in to post in the forum log in