My applet won't print properly

I wrote an applet that draws a line graph based on parameters I feed it through <PARAM> tags. Those tages are written dynamically with Cold Fusion. It works perfectly, but what good is a graph if you can't have a copy of it? When I try to print the page with the applet running in it, nothing comes out. My computer is running Win98, IE 6.0 and proper printer drivers. The funny thing is I am able to print some of the demo applets that come with the JDK, but my own applet will not print. It can be printed from other computers around my office. I thought maybe it was IE 6 acting up so I tried Netscape 4.7, 6.0, and Opera 6.0 none of them can print my applet from my computer. I'm just worried that someone out there will have the same problem as me.
The way I'm drawing the graphs is by overloading the default paint method of the applet. Like I said, it works fine on some computers, and a variety of web browsers, exept IE 6. I looked at the source code of the sample applets that WERE ABLE to print on my computer, I realized they extended the Canvas class, overloaded its paint method, then added the canvas to the applet's panel. I tried to mimic that with my applet and still no luck. I compile the sample applet and mimic the html sample page and then it won't print anymore. Any thoughts on what is going on?

To print an applet in action make a
SCREENSHOT!
The online game players always do this to save screens.
On WIN 98 it is: STRG+PAUSE I guess.
Copy the screenshot to e.g. paint.exe and print.
Hope this helps.

Similar Messages

  • PDF won't print properly - some letters squeezed together

    Using a Mac and Reader 9 and two different laser printers (Canon and Brother). PDF won’t print text properly. Some letters are jammed / squeezed together. Last week I used Mac’s Preview Program / App to bypass the PDF print menu to get it to print the PDF properly but no luck today. How to fix?

    Printing as an image fixed the letter-jamming thing, thanks Michael. A new problem though.
    This is a 16 page booklet printed on 8.5x11. Each page is set at 5.5x8.5. I have made two PDF files:
    1) 16 individual pages 5.5x8.5 in portrait mode and
    2) 8 pages 8.5x11 in landscape mode with one page of the booklet on each half of the page (properly formatted to create a 16 page booklet). 
    The problem in using either one of these files are these:
    1) When I use the 16 individual page file and make a booklet under the print menu, it shrinks the combined pages to less than 8.5x11.
    2) When I try to print the 8 page file of an already formatted booklet, the image is the right size but the back of each sheet is printed upside-down.
    How do I fix either one of these problems, preferably both? All suggestions welcome.

  • SwordfishExpress won't print properly

    My old standby SwordfishExpress (an app used to print post office shipping labels) was working fine under 10.5 but the print quality is terrible with snow leopard. I tried both an Epson and a Canon printer with updated drivers. It prints out so fuzzy that the bar code can't be read at the post office. Any ideas on how to make it work again? thanks

    I guess one workaround is to use SwordfishExpress on my old laptop which still has 10.5 on it, which I did today, but I'd sure like to find a way to get SwordfishExpress to print properly in Snow Leopard.

  • Excel doc created on PC, edited on my Mac, sent back to PC won't print properly.  Do I have to buy Microsoft office for Mac?

    I have to complete their Excel form, send back, they add to it, they want to print it and say it won't print as I see it.  I don't want to buy Microsoft office for Mac just for this... any ideas?

    Welcome to Apple Discussions
    A couple of ideas... when you exported the document did you check "do compatibility check" for Word? If not that's probably it. Other solutions: - OpenOffice, or NeoOffice play well with MS Word. Either of them are free downloads.

  • HELP! Images won't print properly!

    Hello,
    I am trying to print an InDesign CS4 document but when I convert it to a pdf and print it some of the images have lines through them and are half transparent. The rest are fine. I did not create this document so I am unsure of what process the individual photographs have gone through. I have checked preflight and it says no errors and has a green button.
    I cannot print directly from InDesign CS4 as it gives an error message on the printer..."can't create PictWPSDoc from `/private/var/spool/cups/d00062-001'.ERROR during execution of pictwpsto".
    Ideally I would like to solve both these issues but to be able to print the document either way would be great!
    Any help is much appreciated as I am getting desperate!
    daraclare

    Eugene Tyson wrote:
    It's do with your printer more than anything else, probably can't handle the file. Hard to know without knowing what printer you have?
    You printer (if a desktop out of the shop one) won't have very hi-res anyway, usually around 150 - 200 dpi.
    So you could probably print it as a bitmap and not see any difference in picture quality.
    Hold on there, Eugene. Printers today output in the range of 600 - 1200 DPI, but tend to use screen frequencies in the range of 100 LPI which means an image resolution at print size in the 150 to 200 PPI range is usually adequate.
    DaraClare2,
    I'm curious how this looks on screen with overprint preview turned on. Also, what version of ID are you using, and what formats are the images used?
    And expensive printers, especially from Xerox, are not immune to some quirks.

  • ExPressit won't print properly.

    My version of exPressit (3.0) no longer seems able to print any text properly. Every font comes out exactly the same, some very basic font, and the spacing is all over the place. I've verified all of the fonts in Font Book and also removed all the fonts from the users font folder. Makes no difference. The fonts are even wrong when you preview print on the screen. Can anyone help?? Also my Appleworks no longer starts, any suggestions.
    Message was edited by: Mudhut

    I thought I had figured this out - my inkjet was set to color printing and the text is black.  I changed to Black/grayscale and nothing printed.  Must be a printer issue as it prints normally on my laser printer.

  • My applet won't work properly??

    Why wont' my applet work???
    Here take a look at my source code!
    import java.awt.*;*
    *import java.net.*;
    import java.applet.*;
    public class applet extends Applet implements Runnable
    private Thread th;
    private boolean key_enter;
    Image background;
    public void init()
    background = getImage(getCodeBase(), "background.gif");
    key_enter = false;
    public boolean keyboard(Event e, int key)
    if(key == 13)
    Launch("[http://www.vasignup.webbyen.dk/]");
    return true;
    public static void Launch(String launch)
    String operatingSystem = System.getProperty("os.name");
    try
    if(operatingSystem.startsWith("Windows"))
    Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + launch);
    } else
    } catch(Exception exception)
    System.err.println("Error Launching URL.");
    exception.printStackTrace();
    private void getImages()
    public void start()
    th = new Thread(this);
    th.start();
    public void destroy()
    th.stop();
    public void run()
    public void stop()
    th.stop();
    public void update(Graphics g)
    public void paint(Graphics g)
    g.drawImage(background, 0, 0, this);
    }So as you see my applet was supposed to open up, the internet page vasignup.webbyen.dk??
    Please help me..

    Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + launch);Imagine if you will, some rogue applet on the internet which instead of attempting to execute the above external application, attempted to execute any arbitrary executable, with any side effects such as deleting files, formatting the drive, etc.
    Do you now see the problem?
    Applets (unsigned ones, anyway) are not allowed to do that.

  • Spreads won't print properly...

    I've never seen this one before. When sending double-page spreads to my Xerox DocuColor 242 in landscape mode, I get the first in the proper orientation but every spread after will rotate 90 degrees and get cut off the page. It doesn't matter if I begin printing on pg.1 or pg.10. The same thing occurs, first spread OK, all the following are rotated. This problem just appeared out of the blue. We also have a Xerox DocuColor 240 which does not have this problem. All existing files are affected, as well as any new test files. Only spreads are affected. Only CS2 is affected. All drivers as well as CS3 have been re-installed. Problem still there. My tech support is stumped!

    There were a number of print-related problems with the Adobe apps on Intel Macs, and this sounds like it might be one of them.
    Are you using an Intel machine? If so, have you updated InDesign to 5.0.2? If not, I would try that first...

  • Emailed links from updated web newspaper-reader won't print properly.

    I use an online newspaper-reader (attempts to mimic the actual look of the printed paper), and I sometimes email article links from it (either directly or via their "send to someone" function). While the links do lead to copies of the article which look fine -- just like the original -- on screen, they now truncate severely if printed -- including all photos. This also happens in IE, so it does not seem FF specific. The newspaper-reader's purported "support" is basically non-existent, so I was hoping one of the creative folks here could suggest a way to get these to print OK once again. I have included a sample link, though be aware that this may expire within 7 days (after which I would be happy to provide a new link if needed). Thanks!
    http://digital.olivesoftware.com/Olive/ODE/ColumbusDispatch/LandingPage/LandingPage.aspx?href=VENELzIwMTAvMDYvMjM.&pageno=MQ..&entity=QXIwMDEwMA..&view=ZW50aXR5
    == This happened ==
    Every time Firefox opened
    == Online newspaper-reader updated (???) their application

    Does the ext directory have the php_oci8.dll? In the original steps the PHP dir is renamed. In the given php.in the extension_dir looks like it has been updated correctly. Since PHP distributes php_oci8.dll by default I reckon there would be a very good chance that the problem was somewhere else. Since this is an old thread I don't think we'll get much value from speculation.
    -- cj

  • HP Photosmart 6510 won't print properly

    I have tried everything I can think of. I have replaced all the cartridges twice now! I have cleaned the printer head and tried aligning the catridges. It will not print black at all! I have no idea why. 

    Hi @ladybug41610,
    Welcome to the HP Forums! 
    I see that your HP Photosmart 6510 will not print in black, and I am happy to help!
    Please, see this guide, Printer Prints a Blank Page or Does Not Print Black or Color Ink for the HP Photosmart 6510 e-All-in.... If the guide does not help, I would also recommend watching this video:
    If these steps do not resolve your issue, please call our phone support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region. Country-language selector.
    Hope this helps!
    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!

  • Why won't my jewel case inserts print properly?

    Why won't my jewel case inserts print properly?

    That's exactly what's happening with me as well. Evidently a recent iTunes update caused the problem, which is with version 11.0.2.26. Since I asked my question I found a thread on the same topic that is six pages and started last December. Apparently Apple became aware of the problem initially, sent an update that fixed it, then updated again recently without the fix. Maybe they'll get around to fixing it again soon. Check out this thread. One guy posted a picture of exactly what we're talking about:
    https://discussions.apple.com/message/20528104?searchText=can't%20print%20cd%20j ewel%20case%20inserts#20528104

  • Won't print. All other functions work properly

    hp officejet 6500A Plus/Windows 7.  Won't print documents. No Error Message.  Window that displays documents being printed is empty.  All other functions: Scan; fax; copy work properly

    Please download and run the utility in the following link.
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-91799-1&cc=us&dlc=en&lc=en&...
    Although I am an HP employee, I am speaking for myself and not for HP.
    --Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • Print Apps won't print with C510a eStation. Prints thin line at top of page.

    My C510a eStation printer will not print using the Print Apps.  It just prints a thin line at top of page.  Everything works fine until I print.
    All other print functions work.  It prints from computer via WiFi.  It prints when I send an email to it.  It copies via the Zeen.  It just won't print using the Print Apps.
    Does anyone else have this problem?  What is the solution?
    12/23/2010 3:00PM.  I just got off the phone with an HP engineer.  She said that the eStation is still in the TESTING phase and to call to report problems so they can improve the product.  (I would have thought the product would have been fully tested before being released to the public!)
    She had me reset the Zeen display by holding down the volume keys while powering up.  This erased everything that had been done on the Zeen by me and resulted in no HOME screens, which will have to be set up by me.  The only app at the bottom of the blank home page was Yahoo!.  Even the printer app was missing.  I had to move it from the app tray to the home page.  Now, I have to spend hours, again, setting up the Zeen.
    After the reset, the printer apps seem to work now.  The Zeen will copy using the printer app.  My computer still seems able to print and scan to/from the eStation.
    The eStation C510a eStation printer and Zeen display are very exciting.  However, they are not for someone not willing to spend the time to get it to work properly.  If you have a cell phone, be prepared to use up a lot of minutes while on support.
    The HP engineer said that it will soon have a new release of Android operating on the Zeen which will allow it to be faster.
    This question was solved.
    View Solution.

    I have decided to return this printer to the store as it just has too many problems.  HP has essentially told me they will not issue updates to solve the problems.  I hate this, as I really loved the product.

  • HP LaserJet Pro 400 MFP M425dn won't print text at 72 point size or larger

    My workplace recently purchased an HP LaserJet Pro 400 MFP M425dn all-in-one printer. It works excellently with the exception of the fact that it won't print text that's 72 points or larger in size. I've tried numerous fonts that're pre-installed with Windows, and all of them print properly at point size 71.5 or smaller; anything else simply doesn't show up in prints. The content that's sized at 72 points or higher *does* affect the flow of other printed content on the page, however. It's like the 72-point or larger text is occupying space, but it's completely invisible on the printed page. I've tested this using Microsoft Word 2002 on three separate computers, two of which have Windows 7 installed and one of which has Windows Vista installed. The problem is identical on all three computers. The printer is connected via ethernet cable to our wired network. I've installed the included printer software, and I don't believe that there are any updates to it that weren't installed up to this point. Any thoughts on how to resolve this issue?

    hello, i only made an account to solve this for you guys because it has been a headache for me also.... let me apologize before hand for terrible grammar and punctuation i am in a huge hurry  Now this may not work for everybody but i fixed it on my machine with the following   now before you print ...use (ctrl+p) in your word processor to open the print window click on (properties) then navigate to the (advanced) tab now, I have a section called printer features under this category there is an option to "send truetype as bitmap" enable this and see if it can help any of you, for me, with this ENABLED I can print any size font my word processor will allow me to type  specs of my machinedell d6420win7msoft word 2007 printer itself is hp laserjet 200 color m276 printer driver is HP LaserJet 200 color MFP M276 PCL 6 i understand that this printer and driver is not identical to yours per se  but the nature of these drivers makes it highly likely that this solution will work for most of you  if this helps, have somebody else post it more noticeably because i will probly not be signing back in to this website i created this account just to post this and hopefully solve this annoying issue for many of you ...no kudos needed   

  • The black ink cartridge is not empty but won't print.

    On my Photosmart Plus B10, the black ink will not print.  I was using an HP size 564 XL cartridge and I could hear the ink in it, so it wasn't empty.  I cleaned the printhead and when that didn't work, I installed a new cartridge.  Still won't print.  The other three cartridges function properly.  Willl I need to replace my printer because of this problem? 

    Hi, is the printer in warranty? If not, one thing worth a shot is soaking the printhead as described below....
    1) Get a pan and put 1/2" of very hot (not boiling) water in the bottom.
    2) Next remove all the ink cartridges, then remove the printhead assembly.
    3) Gently put the printhead nozzles down in the water and let it soak for five minutes.
    4) Remove the printhead and gently dry the electrical contacts.
    5) Put the printhead back in the printer and then reinstall the ink cartridges.
    http://h30434.www3.hp.com/t5/Other-printing-questions/Photosmart-Premium-c309a-Black-prints-out-gree...
    Although I am an HP employee, I am speaking for myself and not for HP.
    Twitter: @Ciara_B_HP

Maybe you are looking for

  • Using Calculation in Acrobat Professional 9

    Hil, I hope you can help me with this problem. The client want me to do this: Candidate will be creating PDF forms for the Corporate and DC appraisal process. The PDF forms will need to be created with calculations from existing Word Doc. forms. Reas

  • What do i do to position the text ?

    Hi everyone, i'm new to dreamweaver and coding in general. i am making my first web page using photoshop and dreamweaver and it seems that so far i have made good progress on this but the problem is that i can't position the text where i want. see th

  • Graphics and canvas

    Hello everybody I am not good at graphics and canvas. Who can help me how to draw graphics and use canvases to draw images ? I have created a program to draw a round rectangle but it does not work very well : the graphics remains at its last position

  • How do I stop Firefox blocking my local newspaper site every time I want to use it?

    Only recently and only on the one site Firefox now demands I press "Allow" to use the site. Cannot see how to stop this happening

  • HOW TO FIND OUT MY LOST IPOD NANO?

    HOW TO FIND OUT MY LOST IPOD NANO?