Bad Image Printing

I have a problem with image printing...
When I draw lines, string ecc. in the Printer Graphic Context I don't have any problems, but when I try to load an imagefile the Printer (HP Deskjet 722C), prints a bad black square... :-(
Anyone can help me???
This is my code in the print method:
Graphics2D gg = (Graphics2D) g;
Image logo = Toolkit.getDefaultToolkit().getImage("logo.gif");
gg.drawImage(logo,10,10,60,60,null);
I don't use an ImageObserver

This is my code in the print method:
Graphics2D gg = (Graphics2D) g;
Image logo =
Toolkit.getDefaultToolkit().getImage("logo.gif");
gg.drawImage(logo,10,10,60,60,null);
I don't use an ImageObserverMaybe that is your Problem. Or not exactly, but you should make sure that the image is completely loaded when you start printing.
You could try add this to your code:
     MediaTracker tracker = new MediaTracker(mainFrame);
     tracker.addImage(logo,0);
     try
          tracker.waitForID(0);
     } catch (InterruptedException e) {e.printStackTrace();}Where mainFrame is the component your Image is displayed on.
hope that helps
Skippy

Similar Messages

  • Error 0x000012f bad image

    Hi all, need help .
    I already upgrade win 8  single language to win 8.1 single language, the problem is, error 0x000012f bad image appear when I login the windows mention this error for sync with One Drive Microsoft and will appear when I use Adobe Acrobat Reader to print
    an pdf file. I have search about this error but all the solution not help me to solve this problem. anyone can help me ... ??
    Pls tell me when u no the answer

    They'll help you over here.
    http://answers.microsoft.com/en-us/windows/forum/windows8_1?tab=Threads
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • AcroMissingCompWClass Acrobat.exe Bad Image error message

    Hi, I have a Windows 7 PC and InDesign, IIustrator CS4. When I try to print I get AcroMissingCompWClass Acrobat.exe Bad Image error message. Has anyone come across this?

    My Acrobat 9 Pro freezes constantly. Seeing a pdf inside mutiple browser is not possible. Most of the time Acrobat 9 Pro and Acrobat Reader X starts within 5 min! As soon as I do anything, the top bar that shows "File", "Edit" etc. dissapears and averything freezes! Security software with possible firewalls I've uninstalled. Un- and re-installing Acrobat doesn't change anything. I'm using MS Windows XP, running Adobe CS4. Making any pdf's is no problem. I just can't see them. I can open a pdf inside Illustrator but that goes page by page. Any help?

  • "Photoshop.exe - Bad Image" error [CS3]

    Hi everyone,
    I use Photoshop CS3, and every time I go to open a new document or open a saved document/picture/etc. I get a "Photoshop.exe - Bad Image" error that reads:
    The application or DLL C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\HPZRPP04.DLL is not a valid Windows image. Please check this against your installation diskette.
    I have to "OK" this message 4 times until I am able to use the program. Any help would be greatly appreciated.
    Thank you,
    Peter

    HPZRPP04.DLL
    Have you tried updating or reinstalling your HP printer? If it's a network printer, try setting up a local printer as the default printer and see if that error goes away.

  • HP Deskjet 3050A J611 series - error message -Bad image windows\system 32\d3d 10 warp.dll

    I use the HP Deskjet 3050A J611 series printer with my laptop and a desktop PC.  It works fine with the laptop but when I installed the software onto the desktop the window error message Bad Image Windows\ System 32\d3d 10 warp.dll kept popping up every few minutesd.  By a process of ilimination I discovered that it was the Photo Creations that was causing the problems, when I removed it all was good and I was able to use the printer.  The only problems is that I now cannot print photos from my pc.  I have windows 7.
    Can anyone help please?

    Hi Chris.
    That error message comes from Direct3D, which is part of the DirectX software in Windows. It appears that part of the DirectX environment on your computer is corrupt. Microsoft provides a diagnostic tool that should help you sort this out. Please see http://windows.microsoft.com/en-us/windows-vista/run-directx-diagnostic-tool
    If that does not solve the issue, you may want to reinstall the device driver for your graphics adapter.
    When all's running smoothly, you can reinstall HP Photo Creations to print again. Our customer support team would be happy to help with the reinstallation. You can reach them at www.hp.com/global/us/en/consumer/digital_photography/free/software/support-form.html
    Hope this helps,
    RocketLife
    RocketLife, developer of HP Photo Creations
    » Visit the HP Photo Creations Facebook page — news, tips, and inspiration
    » See the HP Photo Creations video tours — cool tips in under 2 minutes
    » Contact Customer Support — get answers from the experts

  • SRM MDM Installation error  :MDM Console Install.exe-Bad Image

    Hi,
    I have installed SRM 5.5 and need to install SRM MDM, but when i am trying to execute MDMConsole Install from GUI _CLIENTS folder getting below error.
    :MDM Console Install.exe-Bad Image
    The application or DLL C :\windows\~GLC0000.TMP is not a valid windows Image, Please check this against your installation deskette
    I tried to execute other installables also getting same error
    Please advice is something is missing
    Thanks,
    Jai

    Thanks to all,
    Downloaded the installable from maket place and it works now.
    I think I tried 64 bit setup earlier
    Regards,
    Jai

  • "Acrobat.exe- Bad Image" error message, Can't open anything with Acrobat

    I have Acrobat Pro 9.0
    OS Windows 7
    Just started having this error problem show up within the past couple weeks.
    Every time I try to open a document the browser freezes up for a few minutes (and I've tried on two different browsers), wont load the page, then I get this message:
    Acrobat.exe - Bad Image
    C:\Program Files (x86)\Adobe\Acrobat 9.0\ Acrobat\BIB.dll is either not designed to run on Windows or it contains an error.
    I have had this program for several months and never had an issue.
    Haven't changed anything I can think of...
    Any suggestions would be greatly appreciated!!
    I also tried just opening the program directly and got the same message.

    My Acrobat 9 Pro freezes constantly. Seeing a pdf inside mutiple browser is not possible. Most of the time Acrobat 9 Pro and Acrobat Reader X starts within 5 min! As soon as I do anything, the top bar that shows "File", "Edit" etc. dissapears and averything freezes! Security software with possible firewalls I've uninstalled. Un- and re-installing Acrobat doesn't change anything. I'm using MS Windows XP, running Adobe CS4. Making any pdf's is no problem. I just can't see them. I can open a pdf inside Illustrator but that goes page by page. Any help?

  • How do you get rid of this pop up "flashplayer plugin_11_7_700_224.exec-Bad Image"?

    Whenever I go to any website, the following popup comes up "flashplayer plugin_11_7_700_224.exec- Bad image". And most of the time it's not just one of those pop ups that turn up, it's usually like 10 in a row or maybe more. The other day I was online and my screen went black and then all of sudden it was blue and there was a message in the upper left corner that said "crash dump". Anyone have any tips or advice for me. Bear in mind, I don't know much about computers.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Windows bad image in Vista playing wmv file error

    I have created a multimedia file with movieclips and audio. The file plays perfectly on XP2 and XP3 machines. However I have one Vista machine which reports a bad image error when clicking the play button for the movie. This error will display after three attempts after which the file will play without problem. The file embedded in Acrobat 8 is a WMV file.
    The error message is as follows: Exception processing image
    0xc000007b parameters 0x75AD023C 0x75AD023C 0x75AD023C 0x75AD023C
    The vista laptop is the one we use to demo files so it would be great to establish what the problem is. Do not have access to another vista machine to compare.
    Many thanks

    I tried the 8.1.2. upgrade but for some reason it made no difference...however installing Acrobat 9 Reader helped and cleared the error. This is a little disturbing because companies are not as ready to install updates (some are still using Acro 5) so it is difficult to acertain what the receiver is seeing. But yes 9 fixed the problem.

  • Windows bad image in Vista playing wmv file error with Acro8professional

    I have created a multimedia file with movieclips and audio. The file plays perfectly on XP2 and XP3 machines. However I have one Vista machine which reports a bad image error when clicking the play button for the movie. This error will display after three attempts after which the file will play without problem. The file embedded in Acrobat 8 is a WMV file.
    The error message is as follows: Exception processing image
    0xc000007b parameters 0x75AD023C 0x75AD023C 0x75AD023C 0x75AD023C
    The vista laptop is the one we use to demo files so it would be great to establish what the problem is. Do not have access to another vista machine to compare.
    Many thanks

    i had a similar issue. don't know what was the reason but the latest update fixed it.

  • Bad photo prints on HP CP5225dn Printer

    Hey all,
    Having an issue outputting photos on my new HP Color LaserJet P5225dn printer from Adobe products. Am curious if anyone else might have run across the same issue and possibly found a solution. Here's the background information...
    Running Windows 8.1 Pro.
    HP Envy Phoenix w/Intel core i7-4770 CPU @ 3.40 GHz
    32 GB RAM
    2TB Raid 0 HD
    NVIDIA GeForce GT 640
    Spyder-profiled HP Pavilion 25xi monitors (dual setup)
    Running Adobe Creative Cloud (latest builds--issue present in prior versions, too).
    Using HP Universal Print Driver PS (latest version--only option on Windows 8), but have tried PCL 4 and 5 drivers as well.
    When printing from Adobe products, any photo seems to print without the yellow color. Color swatches and vector files print correctly. This issue seems to only apply to raster images--greens print blue, browns print purple, oranges print magenta. I have had HP support out to examine hardware of printer and everything checks out.
    I have tried every combination of ICC profile, paper setting imaginable. Have tried printing as CMYK and RGB. Have reset preferences in Adobe software. Color issues are present in InDesign, Photoshop, and Illustrator, and the images print consistently off in all products (is purple in INDD is also purple in PSD, etc.). I have reset printer to defaults. I have tried removing color management and printing. I have tried printer diagnostics. I have tried having the printer manage color. I have tried having the application manage color. Everything prints consistently wrong.
    I've updated video drivers, searched for ICC profiles specific to the printer, recalibrated monitors, no dice. Funny thing is that when you take that same file and send it to another printer, it prints accurately.
    Any ideas for troubleshooting are much appreciated. Any solutions would be fantastic.
    Matt
    Intended color
    Printed color:

    Yeah, tried printing from PDF and image issues persist. I'm not sure what's going on if everything checks out from hardware standpoint. Appreciate your suggestions though.
    Thumbs up!
    Matt Schroeder
    Chief Creative Monkey
    Big Opposable Thumb
    O: (719) 373-1887
    M: (719) 761-9672
    "Intelligent Design for Evolved Marketing."
    Sent from my mobile device. Please excuse brevity and typos.

  • Bad photo prints on HP Color LaserJet CP5225dn Printer

    Hey all,
    Having an issue outputting photos on my new HP Color LaserJet P5225dn printer from Adobe products. Am curious if anyone else might have run across the same issue and possibly found a solution. Here's the background information...
    Running Windows 8.1 Pro.
    HP Envy Phoenix w/Intel core i7-4770 CPU @ 3.40 GHz
    32 GB RAM
    2TB Raid 0 HD
    NVIDIA GeForce GT 640
    Spyder-profiled HP Pavilion 25xi monitors (dual setup)
    Running Adobe Creative Cloud (latest builds--issue present in prior versions, too).
    Using HP Universal Print Driver PS (latest version--only option on Windows 8), but have tried PCL 4 and 5 drivers as well.
    When printing from Adobe products, any photo seems to print without the yellow color. Color swatches and vector files print correctly. This issue seems to only apply to raster images--greens print blue, browns print purple, oranges print magenta. I have had HP support out to examine hardware of printer and everything checks out.
    I have tried every combination of ICC profile, paper setting imaginable. Have tried printing as CMYK and RGB. Have reset preferences in Adobe software. Color issues are present in InDesign, Photoshop, and Illustrator, and the images print consistently off in all products (is purple in INDD is also purple in PSD, etc.). I have reset printer to defaults. I have tried removing color management and printing. I have tried printer diagnostics. I have tried having the printer manage color. I have tried having the application manage color. Everything prints consistently wrong.
    I've updated video drivers, searched for ICC profiles specific to the printer, recalibrated monitors, no dice. Funny thing is that when you take that same file and send it to another printer, it prints accurately.
    Any ideas for troubleshooting are much appreciated. Any solutions would be fantastic.
    Matt

    Yeah, tried printing from PDF and image issues persist. I'm not sure what's going on if everything checks out from hardware standpoint. Appreciate your suggestions though.
    Thumbs up!
    Matt Schroeder
    Chief Creative Monkey
    Big Opposable Thumb
    O: (719) 373-1887
    M: (719) 761-9672
    "Intelligent Design for Evolved Marketing."
    Sent from my mobile device. Please excuse brevity and typos.

  • Images printing too small using Lightroom

    I have an image that is 316x x 2317 pixels that I am printing using Lightroom 2.3 on Windows XP SP2. I use the Picture Package and add one 4x6 image to the sheet. I am using the Maximize template from the browser. The photo borders are minimum. The image nearly fills the page in the Lightroom viewer just as I expect. The image appears the same in Print Preview. However on my Epson 3800 the image prints about 30% smaller and offset to one corner of the 4x6 sheet.
    The problem also occurs when printing from Photoshop CS4.
    I am not scaling or resizing in the print driver. I uninstalled and reinstalled the printer using the latest driver.
    Please help!!
    Michael

    Oh my...
    It seems that, embarrasingly I was tripple checking everything for 4x6 prints but actually had 5x7 loaded in the printer!
    Thanks for helping the hopeless.
    Michael

  • ITunes/QuickTime "Bad Image" Error Message

    Running Windows 2000 Professional on a PC. iTunes and QuickTime are loaded and had been running successfully for a long time. Suddenly, every time I try to open iTunes a box pops up titled "iTunes.exe - Bad Image," and in the box is the error message "The application or DLL C:\ProgramFiles\QuickTime\QTSystem\QuickTime.qts is not a valid Windows image. Please check this against your installation diskette." (There is no installation diskette.) I believe the first time this occurred was just after I had been prompted to download an update to QuickTime, which I did. I cannot close the error message box, neither by clicking on "OK" nor by clicking on the "X". The only way I can get rid of it is to restart the computer. Also, I cannot open iTunes. Any suggestions?

    hi Sandy!
    With regard to the prompt to upgrade QuickTime, I could be wrong about that, but I am almost sure that I got one of those standard "A New Version of ...... is available. Would you like to download it now?"
    Okay ... sorry about that. i might well be wrong about it being unusual. i think i downloaded my 7.1 before i ever actually ran QuickTime on its own. (i was troubleshooting an itunes video sound problem i was having.) the rest of the time, i tend to get my new QTs when a new version of itunes shows up. so i guess i always upgrade before QT ever says to me that there's a new version available.
    anyhoo, if you've got a standard QT 7.1 in there, we should start by doing a careful standalone QT 7.1 reinstall.
    download and save a copy of the QT 7.1 standalone installer to your hard drive. (we'll run the install from there rather than online.) switch off antivirus and antispyware applications prior to the install.
    Quicktime 7.1 Standalone Installer
    if that install goes through okay, does your itunes launch properly again?
    (if you get an error message on the QT standalone reinstall, let us know what it says. include error message numbers if you're getting any.)
    love, b

  • Updating Acrobat 9.0 causes error "Acrobat.exe - Bad Image"

    Full error is:
    Acrobat.exe - Bad Image
    C:\Program Files (x86)\adobe\acrobat 9.0\acrobat\BIB.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.
    Running repair doesn't fix it, only un-installing it and re-installing from scratch. This happens on multiple machines with the same result. As soon as the update is ran it no longer opens and has the error.
    I've tried manually updating it version to version starting at the first 9.1 release but I run into the same error after installing the first update. Uninstalling Acrobat after manually running the first update produced another error durring uninstallation. Error 1905.Module C:|Program Files (x86)\Adobe\Acrobat 9.0\Acrobat\authplay.dll failed to unregister. HRESULT -2147220472. Contact your support personnel.
    System is Windows 7 Enterprise 64bit running on a VDI in a box from Citrix. Version of Acrobat is Pro.
    Any thoughts or ideas on this would be great, thanks.
    Joel

    Are you running updates from the Help menu in Acrobat or by downloading the updates. When you have problems, it is probably best to try running the updates as downloads from http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows. You will need to generally install the updates in order. You would reboot after the last update.

Maybe you are looking for

  • How to increase C drive space in windows 7

    my dell inspiron mini having windows 7 starter installed it has tow drives (C) drive 14.8GB and (D) drive 212 GB now how to increase my C drive space please help me

  • Compiling .java file on tomcat 4.1

    i wana know where to store the .java file on the tomcat directory for tomcat to compile it? and then after putting it in the appropriate place is this command gona compile it: javac -cp "c:program files\apache group\tomcat 4.1\common\lib\jasper-compi

  • Re: connections for crio

    Hello LabVIEWGuru thanks for ur reply. i'm using crio 9074, and at present i need connections in both fpga mode and scan mode. for different type of inputs,i.e both analog & digital. just tell me where to place adc etc in that chassis. also please te

  • Blackberry and its relation with mobile operators

    Hi, Saw some people says that their bb is locked to the operator. How to know if its locked and if its locked, how to unlock it so that I can use on other operator? Thanks in advance! Solved! Go to Solution.

  • How do I create an exe file using Sun One?

    Hello everyone, I need help in creating an executable file in Sun One, can someone please help?