Printing from applet hangs

I'm trying to create an applet that can print a graphic. I have a single button and the event seems to fire when clicked. I get the security warning asking me if I want to print. I click yes and it usually pops up again and I hit yes again and then it hangs. My end goal is to print a coupon image from the browser without the print dialog so that multiple copies cannot be printed. Yes, I've heard of photo copiers but evidently the client is fine with that. At this point I'm just trying to get something to print period from the applet. Any ideas?
     public void PrintCoupon2()
          try {
          PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
          pras.add(new Copies(1));
          PrintService pss[] = PrintServiceLookup.lookupPrintServices(DocFlavor.URL.JPEG, pras);
          if (pss.length == 0) {
               throw new RuntimeException("No printer services available.");
          PrintService ps = pss[0];
          System.out.println("Printing to " + ps);
          DocPrintJob job = ps.createPrintJob();
               URL url = new URL("http://www.mydomain.com/images/test.jpg");
               Doc doc = new SimpleDoc(url, javax.print.DocFlavor.URL.JPEG, null);
          //FileInputStream fin = new FileInputStream("IMG_0711.JPG");
          //Doc doc = new SimpleDoc(fin, DocFlavor.INPUT_STREAM.JPEG, null);
          job.print(doc, pras);
     } catch (IOException ie) {
          ie.printStackTrace();
     } catch (PrintException pe) {
          pe.printStackTrace();
     }

I also ran into this problem recently and I think I've figured out basically what's happening. It only happens when the applet is served by Tomcat and certain other web application servers. When the applet is launched by a simple HTML page from a web server, it is able to print without any exceptions being thrown.
In one of our applications, we have a servlet that downloads an applet to the client. When that applet calls 'PrinterJob.print', the JDK 1.4 implementation of that method on the client looks up the default 'PrintService'. To do so, it indirectly uses the class loader to get some optional configuration file (I don't know the details). That configuration file isn't in the applet's JAR file, so the class loader looks for it in the same place the JAR file came from: the server. Our servlet gets the request for the configuration file but the file isn't on the server either, so it returns a 404 error.
Here's where things go wrong. If the 404 error were sent back correctly, printing would proceed normally since the configuration file is optional. However, instead of calling 'HttpServletResponse.sendError (SC_NOT_FOUND)', the servlet calls 'HttpServletResponse.setStatus (SC_NOT_FOUND)'. I'm not sure why, but this response isn't seen by the client as a 404 error, so the body of the response is treated as the configuration file. Parsing of the body fails and the 'ServiceConfigurationError' is thrown.
We changed our servlet so that it calls 'sendError' and that fixed the 'ServiceConfigurationError' problem.
Nobody has mentioned servlets (or JSPs) being involved in their situations, but maybe there is a similar root cause. If the server is somehow not returning a 404 response, the 'PrintService' code on the client will try to parse that response and throw an error.

Similar Messages

  • Printing from applet

    I have a java 1.1 applet, which has been printing ok from IE, since I moved up to JDK1.4.0_01, the print dialog comes up as usual but after clicking ok, the answereing yes to the allow java to print question, the applet hangs. When I've turned on the exception reporting and looked at the console, it reports the following exception, printing work when using appletviewer. Does anyone have any ideas what's the solution is to this, the line of code it's executing at the time is
    printjob = oolkit.getPrintJobframe, "Print", oPrinterProperties);
    sun.misc.ServiceConfigurationError: javax.print.PrintServiceLookup: : java.io.FileNotFoundException: http://localhost/META-INF/services/javax.print.PrintServiceLookup
         at sun.misc.Service.fail(Service.java:129)
         at sun.misc.Service.parse(Service.java:208)
         at sun.misc.Service.access$100(Service.java:111)
         at sun.misc.Service$LazyIterator.hasNext(Service.java:257)
         at javax.print.PrintServiceLookup$1.run(PrintServiceLookup.java:326)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.print.PrintServiceLookup.getAllLookupServices(PrintServiceLookup.java:320)
         at javax.print.PrintServiceLookup.lookupDefaultPrintService(PrintServiceLookup.java:162)
         at sun.print.RasterPrinterJob.getPrintService(RasterPrinterJob.java:348)
         at sun.awt.windows.WPrinterJob.getPrintService(WPrinterJob.java:408)
         at sun.print.PrintJob2D.findNamedPrintService(PrintJob2D.java:187)
         at sun.print.PrintJob2D.copyAttributes(PrintJob2D.java:223)
         at sun.print.PrintJob2D.printDialog(PrintJob2D.java:176)
         at sun.awt.windows.WToolkit.getPrintJob(WToolkit.java:600)
         at sun.awt.windows.WToolkit.getPrintJob(WToolkit.java:586)
         at PrintingChartApplet.printChart(PrintingChartApplet.java:67)
         at PrintingChartApplet.actionPerformed(PrintingChartApplet.java:53)
         at java.awt.Button.processActionEvent(Button.java:381)
         at java.awt.Button.processEvent(Button.java:350)
         at java.awt.Component.dispatchEventImpl(Component.java:3526)
         at java.awt.Component.dispatchEvent(Component.java:3367)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

    I also ran into this problem recently and I think I've figured out basically what's happening. It only happens when the applet is served by Tomcat and certain other web application servers. When the applet is launched by a simple HTML page from a web server, it is able to print without any exceptions being thrown.
    In one of our applications, we have a servlet that downloads an applet to the client. When that applet calls 'PrinterJob.print', the JDK 1.4 implementation of that method on the client looks up the default 'PrintService'. To do so, it indirectly uses the class loader to get some optional configuration file (I don't know the details). That configuration file isn't in the applet's JAR file, so the class loader looks for it in the same place the JAR file came from: the server. Our servlet gets the request for the configuration file but the file isn't on the server either, so it returns a 404 error.
    Here's where things go wrong. If the 404 error were sent back correctly, printing would proceed normally since the configuration file is optional. However, instead of calling 'HttpServletResponse.sendError (SC_NOT_FOUND)', the servlet calls 'HttpServletResponse.setStatus (SC_NOT_FOUND)'. I'm not sure why, but this response isn't seen by the client as a 404 error, so the body of the response is treated as the configuration file. Parsing of the body fails and the 'ServiceConfigurationError' is thrown.
    We changed our servlet so that it calls 'sendError' and that fixed the 'ServiceConfigurationError' problem.
    Nobody has mentioned servlets (or JSPs) being involved in their situations, but maybe there is a similar root cause. If the server is somehow not returning a 404 response, the 'PrintService' code on the client will try to parse that response and throw an error.

  • Print from applet, signed jar

    Hi all
    Have a signed applet that runs under IE 6, java 1.5. The applet is basically used for printing purpose.
    My problem is that the applet shows a dialog box "Applet would like to print. Do you want to proceed?"
    How can I get rid of the dialog box?
    I don't want to change the Java file.
    Thanks in advance

    An Applet runs in a sandbox which without proper authentication, will not allow any actions outside the sandbox, i.e. on the local filesystem.
    You cannot print from an unsigned applet.
    The signing process is very simple using Jarsigner and the Java Plugin.
    You can generate your own certificates too, no need to purchase one.

  • Print From Applet

    Can I print from an Applet without signing it or messing about with the policy file? A simple enough question but one I haven'e been able to find a definitive answer for. If possible I'd like to avoid popping up a new browser window with the document to be printed.

    An Applet runs in a sandbox which without proper authentication, will not allow any actions outside the sandbox, i.e. on the local filesystem.
    You cannot print from an unsigned applet.
    The signing process is very simple using Jarsigner and the Java Plugin.
    You can generate your own certificates too, no need to purchase one.

  • Print from applet running in IE5.5

    Application is standalone and can be used as applet as well. If it works as standalone application everything works fine. When I put it on a Web server and try to run it as applet from within IE5.5 it hangs. The problem is in the part of code that invokes printing, without it applet works fine.
    I know the problem is that applet can�t invoke printing if it isn�t signed but in that case it should throws exception not hangs at the very beginning. Also, applet can�t be closed without closing IE5.5.
    public void printGraph() {
    PageAttributes pa = new PageAttributes();
    JobAttributes ja = new JobAttributes();
    pa.setOrientationRequested(PageAttributes.OrientationRequestedType.LANDSCAPE);
    pa.setOrigin(PageAttributes.OriginType.PRINTABLE);
    PrintJob printJob = getToolkit().getPrintJob(this, graph.name, ja, pa);
    if(printJob != null) {
    int xmargin = 30;
    int ymargin = 30;
    Dimension printArea = printJob.getPageDimension();
    printArea.width -= xmargin;
    printArea.height -= ymargin;
    for(int i=0; i<ja.getCopies(); i++) {
    Graphics g = printJob.getGraphics();
    if( g != null) {
    graph.print(g, printArea, xmargin, ymargin);
    g.dispose();
    printJob.end();
    public void actionPerformed(ActionEvent event) {
    String command = event.getActionCommand();
    Object source = event.getSource();
    int index;
    } else if (command == "Print") {
    try {
    SecurityManager sm = System.getSecurityManager();
    if( sm != null) sm.checkPrintJobAccess();
    printGraph();
    } catch (SecurityException e) {
    System.err.println("Printing is not allowed.");
    I hope someone knows what is the problem.
    Best regards
    Goran

    The problem is in the version of java (1.1.4) IE5.5 supports by default on WIN2K platform.
    This version doesn't support the PageAttributes and JobAttributes classes and method getPrintJob(Frame f, String name, JobAttributes ja, PageAttributes pa).
    The getPrintJob(Frame f, String name, Properties pr) method that is supported since jdk 1.1 can be used instead
    Sorry I didn�t mention os platform and java version.

  • Printing from Applet with JRE1.5

    My customers want to upgrade to JRE1.5, but I have been unable to
    make any of my Applets work with JRE1.5....
    Q.What have they changed????
    // Print receipt
    void Print() {
    DocFlavor flavor = DocFlavor.SERVICE_FORMATTED.PRINTABLE;
    PrintService printService = PrintServiceLookup.lookupDefaultPrintService();
    DocPrintJob job = printService.createPrintJob();
    PrintJobListener pjlistener = new PrintJobAdapter() {
    public void printDataTransferCompleted(PrintJobEvent e) {
    return;
    job.addPrintJobListener(pjlistener);
    PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
    // pras.add(new Copies(2));
    pras.add(new JobName("MyJob",null));
    DocAttributeSet das = new HashDocAttributeSet();
    Doc doc = new SimpleDoc(Print_Area, flavor, das);
    try {
    job.print(doc, pras);
    } catch (PrintException pe) {
    pe.printStackTrace();
    }

    yes My Ipad will not see my printer on wifi it was working 100% till the IOS 5 update and apple don't seem to be looking into this fault.
    If they want folk to not buy apple stuff there going the right way about it every update sees a new problem.
    it is used in the office so how they can't notice that the print function is not working.
    or should I say not seeing the printer what else is screwd up.
    unhappy user here

  • Printing From Applet Problem

    Hi,
    I created this simple applet that has a combox with all installed printers, a textare (where the user will type whatever he wants to print) and a button that is suppose to print the textarea content to the selected printer. It works fine if a run the applet itself, but when I load it to a webpage, the applet runs nicely, it asks me for permission to access the printer but when I click the "Print Now", it just doens't print :(
    Thanks a lot,
    Dirso
    import java.awt.event.*;
    import javax.swing.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    * @author Dirso
    public class JRPrinter extends JApplet implements ActionListener {
         JComboBox cbPrinters = new JComboBox();
         PrintService[] services = null;
         JTextArea ta = new JTextArea();
         /* (non-Javadoc)
          * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
         @Override
         public void actionPerformed(ActionEvent arg0) {
              // TODO Auto-generated method stub
              PrintService psZebra = services[cbPrinters.getSelectedIndex()];
              DocPrintJob job = psZebra.createPrintJob();
              byte[] by = ta.getText().getBytes();
              DocFlavor flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;
              Doc doc = new SimpleDoc(by, flavor, null);
              try
                   job.print(doc, null);
              }catch (PrintException e3) {
                   ta.setText(e3.getMessage());
         public void init() {
              // cria as impressoras
              services = PrintServiceLookup.lookupPrintServices(null, null);
              for (int i = 0; i < services.length; i++) {
                   PrintServiceAttribute attr = services.getAttribute(PrinterName.class);
                   cbPrinters.addItem(((PrinterName)attr).getValue());
              // crie o botao de imprimir
              JButton button = new JButton("Print Now");
              button.addActionListener( this );
              JPanel p2 = new JPanel();
              p2.add(cbPrinters);
              p2.add( button );
              getContentPane().add( "North", p2 );
              //getContentPane().add( "North", p1 );
              getContentPane().add( "Center", new JScrollPane(ta) );

    Well, I made a .jar file including that .class and a java.policy.applet with the following code and finally I signed it... Looks like it worked, I'll have more answers tomorrow and I'll let you all know about.
    grant {
      permission java.security.AllPermission;
    };Best Regards,
    Dirso

  • Acrobat 8.1.2 hangs when printing from IE 7  under XP Pro x64

    Hey Community,
    my Acrobat Standard 8.1.2 and my Internet Explorer 7.05.... hang up when printing. Im running XP Pro x64 recent version.
    The other features printing from word or scanning do work well.
    Has somebody an idea how to fix that bug ?
    Thanks Frederik
    Funny thing - I just tested it out to describe the situation better:
    First test:
    I used the embedded printing icon in the toolbar and printing worked fine with www.FTD.de. Adobe did print eather already started or by automatic start on print icon. It worked several times in a row. But often Homepages are not scaled, so only part of the page was on the paper, because there is no option use the properties. Once Adobe opened I saw a new feature that I have downloaded some Multimedia features with the document and if I would like to listen to them.
    Second Test:
    I did the same job with using the File/Print command, set adobe as printer
    and the job hang up in this version. But to say, it is the internet explorer which hangs up. I couldn't minimize the window, IE was just freezed. After terminating IE via task manager the Adobe window of defining the files name showed up, but the process does not finish (X IE)
    After opening IE I tried to run Test1 with the still running Acobat but I got en error message from Adobe. After closing and starting Acrobat again the Test1 process worked fine without problem and without prior restart of the machine.
    I also tested this with Kapersky deactivated to make sure that the Multiimedia Content does not cause the trouble, but no changes I.E. just
    hangs up.
    Has somebody an idea?
    Frederik

    Problem solved. Does only happen with the Internet Explorer 32bit.
    With Internet Explorer 64bit it doesn't happen.
    Frederik

  • Printing from an applet on a Mac

    Printing from an unsigned applet is allowed by the java plug-in. When a print request is made it pops up a confirmation dialog after which the print job goes through on Windows. On a Mac, however, a security exception is thrown after the confirmation dialog:
    java.security.AccessControlException: access denied (java.net.SocketPermission localhost:631 connect,resolve)
    The entire stack trace is copied at the end.
    It appears that the applet is trying to open a connection to port 631 on localhost (Port 631 is the standard port for the IPP protocol). Usually an applet is only allowed to open a connection to the host that it came from (not localhost in this case). Therefore, the exception seems reasonable. However, when the print request is sent a second time the print job goes through! I don�t know why!
    Has anyone encountered this problem on a Mac (OS 10.4.7; Java version 1.5.0_06) ? Is there a solution? It works just fine on Windows!
    Thank you!
    java.security.AccessControlException: access denied (java.net.SocketPermission localhost:631 connect,resolve)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkConnect(SecurityManager.java:1034)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:459)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
         at sun.net.www.http.HttpClient.New(HttpClient.java:287)
         at sun.net.www.http.HttpClient.New(HttpClient.java:299)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:744)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:836)
         at sun.print.IPPPrintService.opGetAttributes(IPPPrintService.java:1419)
         at sun.print.IPPPrintService.initAttributes(IPPPrintService.java:323)
         at sun.print.IPPPrintService.getSupportedDocFlavors(IPPPrintService.java:697)
         at sun.print.IPPPrintService.isDocFlavorSupported(IPPPrintService.java:773)
         at sun.print.RasterPrinterJob.getPrintService(RasterPrinterJob.java:431)
         at sun.print.RasterPrinterJob.setAttributes(RasterPrinterJob.java:1002)
         at apple.awt.CPrinterJob.setAttributes(CPrinterJob.java:130)
         at apple.awt.CPrinterJob.print(CPrinterJob.java:173)
         at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1200)
         at PrintTest.printApplet(PrintTest.java:47)
         at PrintTest$1.actionPerformed(PrintTest.java:25)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
         at java.awt.Component.processMouseEvent(Component.java:5554)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5319)
         at java.awt.Container.processEvent(Container.java:2010)
         at java.awt.Component.dispatchEventImpl(Component.java:4021)
         at java.awt.Container.dispatchEventImpl(Container.java:2068)
         at java.awt.Component.dispatchEvent(Component.java:3869)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
         at java.awt.Container.dispatchEventImpl(Container.java:2054)
         at java.awt.Component.dispatchEvent(Component.java:3869)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Yes!!  This is VERY HARD to find.  I literally spent ONE YEAR looking for solutions to my printing problems until I found this little drop-down box in the middle of the second or third dialog box that the Mac OS offers you when you're printing.  If you're still not finding it, ask us again.  I'm not in front of my Mac right now, and I'll be glad to give you detailed instructions.  I tried several hundred different things before I could get my photos to print well, and the secret was always right there, hidden in that tiny drop-down menu in the center of that dialog box.  VERY frustrating.

  • Printing from trusted applet

    Hey boys and girls.
    I need a litle help. Does someone has expirience with printing on local raw printer from browser? I think that is possible, but since I am new with Java and some time to learn it good, I will relly on your help. It would be a super if your have a piece of code. Again, we are talking about raw dot-matrix printers and they will be used for printing data for documents like passport, personal ID's driver licence. You know, the old style... Thanks

    Hi Milind
    I never had security exception for printing from an Applet even if applet jar is not a signed jar and security policy file is not altered.

  • Major Issues with printing Images from applet

    Hi,
    I am currently working on an automated report generation software. The Project Goal is simple, all i need to do is to connect to Access Database, and get all the information onto the applet in an arranged format and display it on the webpage. Now here is the deal... The applet will only be used on a single local machine, (Why Applet?? because i need to print the report... applet viewer will also do). I am able to make the connection to the database from the applet viewer, but fail miserably if i try to do it from Internet Explorer. So i gave up on the IE. The major problem is, on applet i have a ImageViewer (I am using "symantec.itools.multimedia.ImageViewer", if you have an alternative that works then please lemme know). I have a method that sets diffrent Images in the Imageviewer, depending upon what record is being dispalyed. In otherwords, every record has an image associated to it. and i want to display the Image with the data.
    Now when i run the applet in appletviewer, it works perfect, BUT.... when i go to print it (using the print in the appletviewer's menu), It print everything EXCEPT the Image..... The Image happens to the main peice of Information, so rest of the code is worthless unless the image is displayed...
    Please help me with this project. I have failed many times trying to print it. If you need the code please email me @ [email protected] i will send the code to you, with a sample database.
    Please help
    Vaibhav

    Hi,
    I am currently working on an automated report
    generation software. The Project Goal is simple, all i
    need to do is to connect to Access Database, and get
    all the information onto the applet in an arranged
    format and display it on the webpage. Now here is the
    deal... The applet will only be used on a single local
    machine, (Why Applet?? because i need to print the
    report... applet viewer will also do). I am able to
    make the connection to the database from the applet
    viewer, but fail miserably if i try to do it from
    Internet Explorer. So i gave up on the IE. An Applet can't connect to an URL or file that isn't in his applet.getCodeBase() directory or subdir. For that to happen you have to create a profile add that profile to your java virtual machine etc.
    To much work just use an application.
    The major
    problem is, on applet i have a ImageViewer (I am using
    "symantec.itools.multimedia.ImageViewer", if you have
    an alternative that works then please lemme know). I
    have a method that sets diffrent Images in the
    Imageviewer, depending upon what record is being
    dispalyed. In otherwords, every record has an image
    associated to it. and i want to display the Image with
    the data.Why don't you use a panel with the paint method
    use the
    java.awt.Graphics.drawImage()
    method
    It draws the normal image files( e.g. gif jpeg npg etc.)
    Now when i run the applet in appletviewer, it works
    perfect, BUT.... when i go to print it (using the
    print in the appletviewer's menu), It print everything
    EXCEPT the Image..... The Image happens to the main
    peice of Information, so rest of the code is worthless
    unless the image is displayed...
    Please help me with this project. I have failed many
    times trying to print it. If you need the code please
    email me @ [email protected] i will send the
    code to you, with a sample database.
    Please help
    VaibhavYour trying to use the appletviewer to print for you I wouldn't do that
    Why don't you just write your own print method by using the java print from sun.
    some links
    http://java.sun.com/printing/
    http://java.sun.com/products/java-media/2D/forDevelopers/sdk12print.html#intro
    http://java.sun.com/j2se/1.4/docs/guide/jps/
    hope this help you on your way.
    greetz pietje

  • Printing From The Applet

    Can any body help me how to print from the applet. Without the security exception

    Hi Milind
    I never had security exception for printing from an Applet even if applet jar is not a signed jar and security policy file is not altered.

  • Printing from adobe on win xp hangs for 3-8 sec before printing

    On networked printers (any of them) Adobe will hang for a short time (perhaps while spooling job) then will continue with printing. While most users dont notice, We have had a few complaints. This happens while printing from the web or from adobe reader.

    Problem solved. Does only happen with the Internet Explorer 32bit.
    With Internet Explorer 64bit it doesn't happen.
    Frederik

  • Printer dialogue box hangs when printing from Illustrator cs3

    OK... I'm not sure if this is Illustrator related or mac related, but it only happens from Illustrator. In our office we have an iMac (white,flat) running Tiger (OSX 10.4.11). Whenever we try to print from Illustrator CS3 the preint goes through to the printer immediately and prints, but the actual Illustrator spooling bar/printer dialogue box remains. The only way is to wait for about half an hour for the bar to finish or force quit the application and restart (even though it does not show as "not responding" in the Force Quit window.
    Now I've tried reinstalling Illustrator. I've run disk warrior. Tried the fsck command on startup. our technical outsources tell us it might be a memory problem, but I'm not tsure as this only happens in Illustrator and no other programs.... any ideas?

    I can vouch for the dock hiding solution solving the problem. It worked on three Intel Macs we were having problems with. Here are some links to articles about it:
    http://techierambles.blogspot.com/2008/10/illustrator-cs3-printing-issue-status.html
    http://www.adobeforums.com/webx/.3bc419c4
    http://forums.macosxhints.com/archive/index.php/t-87456.html

  • Print string to client printer using applet

    How to print a string directly to the client printer after clicking a button from my jsp/html page?
    I have posted a similar question here and someone(pqeuens) advised to use applet. I have been reading about applet & created one.
    I tried running it as a Java application & it prints as expected. However when i put it inside a jsp/html page, it will not print.
    Can anyone help me out on this? Perhaps share a code. That will be very much appreciated...
    Thank you

    I said you couldnt just print from JSP but you might be when you use a SIGNED applet.
    But then you need to move to the java applet forum and ask question there.
    Furthermore a standard applet cannot print because of the security invloved in applets. Nor will you be allowed to write files onto the client.

Maybe you are looking for

  • Error with SAP Router

    Hello Experts, I Paste my dev_route error here trc file: "dev_rout", trc level: 2, release: "700" Wed Dec 29 12:17:32 2010 NiHsLInit: alloc host/serv bufs (200/200 entries) NiIInit: allocated nitab (811 at 000000000026B140) NiIInit: host/serv bufs al

  • How do I resize a photo to attach it to someone else's web site

    I want to add photo attachments to someone else's web site. my files are raw, off the camera i.e. big.  I can easily resize if I email. but why can't find an easy way to downsize in iPhoto?  what should I do?

  • PLS -00428-- an INTO clause is expected in the SELECT statement

    I dnt know what i'm doing wrong with statement, can you help me please. DECLARE start_date DATE:= to_date('01/09/2006' , 'DD-MON-YYYY'); end_date DATE:= to_date('30/09/2006' , 'DD-MON-YYYY'); BEGIN SELECT t.SEC_SHORT_NAME, t.SEC_ISIN, t.SEC_NO,t.SEC_

  • Quicktime stopped working in chrome

    Hi there Over the last few days Quicktime has dropped working in the Chrome Browser. It cannot find it for some reason and goes to a page where it thinks it can download it from but there is nothing to download. Stand alone quicktime works fine. Can

  • After Effects Playback 27 fps (Real Time) Audio is Slow

    Hello, I have Adobe After Effects CS 5 running on an HP Z600  8 core workstation (12 GB RAM) on Windows 7. When I import any video AVI, MOV, etc and I preview with RAM the audio plays slow and it reports fps: 27 (real time) When I link comps from pre