Only the development computer can print Images

OK, now this is strange. I create a Book of Printable Objects (PrintableImageIcon - which is simply a Printable class that has an ImageIcon as a private data memeber). When I load up the applet in my browser (IE 5.0) the book of Printable Objecets (ImageIcons) with with borders around them are created and they print fine from my computer (Win98 with IE 5.0). When I try the same thing from any other computer (also running win98 and IE 5.0), the only thing that is printed is the rectangle margin border that goes around the image. I have no idea why this is happening. Only my computer can print the images while others cant!! My code resides on a Linux machine running the jdk1.3. I telnet to this machine from my win98 computer to do the development.
Here's the code from the main program that builds the Book:
        public void printPlats() {
                Book book = new Book();
                PrinterJob printJob = PrinterJob.getPrinterJob();
                // Set up the PageFormat for these images.
                PageFormat platPageFormat = printJob.defaultPage();
                // Set up the size and margins for the paper.
                Paper paper = new Paper();
                paper.setSize(612.0, 1008.0);  // Set paper size to 8.5" x 14".
                paper.setImageableArea(36, 36, 540, 936);
                platPageFormat.setPaper(paper);
                // Add the Printable Objects to the book to be printed.
                for (int i = 0; i < platImages.size(); i++) {
                        book.append(new PrintableImageIcon(
                          (ImageIcon)platImages.get(i)), platPageFormat);
                printJob.setPageable(book);
                if (DEBUG) System.out.println("The book contains: " +
                    book.getNumberOfPages() + " page(s)");
                // Show the printer dialog.
                if (printJob.printDialog()) {
                        try {
                                printJob.print();
                        } catch (Exception ex) { }
        } // end printPlats()And the PrintableImageIcon class' constructor and print method are as follows:
public class PrintableImageIcon implements Printable {
        private ImageIcon image;
        private double imageablePageWidth, imageablePageHeight;
        public PrintableImageIcon(ImageIcon i) {
                image = i;
        public int print(Graphics g, PageFormat pageFormat, int pageIndex) throws PrinterException {
                Graphics2D g2 = (Graphics2D)g;
                g2.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
                // Calculate the dimensions of the page.       
                imageablePageHeight = pageFormat.getImageableHeight();
                imageablePageWidth = pageFormat.getImageableWidth();
                g2.setColor(Color.black);
                g2.drawImage(image.getImage(),1,1,(int)imageablePageWidth-2, (int)imageablePageHeight-2, image.getImageObserver());
                g2.drawRect(1, 1, ((int)imageablePageWidth)-2, ((int)imageablePageHeight)-2);
                return PAGE_EXISTS;
} // end class PrintableImageNow, does anyone see a fix to this strange problem???
What could be on my computer that only allows it to print the images? They get loaded up into the Applet just fine but don't print!

OK, I checked the versions of the different machines running IE and they are all 5.00.2614.3500. Also, for the time being, my policy file consists of:
grant {
        // Allow everything for now
        permission java.security.AllPermission;
};What other security issues to I need to investigate? Thanks so much for your responses!

Similar Messages

  • My husband does not have an itunes account and wants to set one up and we only have the one computer. can you have two separate accounts? We want to set up separate iphones.

    My husband does not have an itunes account and wants to set one up and we only have the one computer. can you have two separate accounts? We want to set up separate iphones.

    How to use multiple iPods, iPads, or iPhones with one computer

  • HT201272 can someone help me with this chat session.Font Size You are chatting with an Advisor now. This chat will be recorded. At the end of the session, you can print the transcript or request a copy via email. Privacy Policy Advisor [4:49 p.m.]: Hi, my

    Font Size
    You are chatting with an Advisor now. This chat will be recorded. At the end of the session, you can print the transcript or request a copy via email.
    Privacy Policy
    Advisor [4:49 p.m.]:
    Hi, my name is Jacob. It'll be just a moment while I review the comments you provided.
    Advisor [4:49 p.m.]:
    Hello Machelle, how may I assist you today?
    Customer [4:51 p.m.]:
    Can you please help me recover the new testament of the bible from media group. The have vanished.
    Customer [4:52 p.m.]:
    I need to recover the lost purchases I made from media group. I had all of the new testament.
    Advisor [4:53 p.m.]:
    Thank you for this information, I understand that you are missing some purchases. I do want to apologize for this inconvenience. I will be more then happy to look into  this for you.
    Advisor [4:53 p.m.]:
    Would you be able to provide your Apple ID? This is the email used to sign into the iTunes store.
    Customer [4:54 p.m.]:
    [email protected]
    Advisor [4:54 p.m.]:
    Thank you, one moment please.
    Advisor [4:56 p.m.]:
    Were these individual purchases? If so could you provide the name for each individual purchase?
    Customer [4:57 p.m.]:
    yes it the new testament books of the bible
    Customer [4:57 p.m.]:
    genesis etc...
    Advisor [4:58 p.m.]:
    I apologize, but I am not exactly familiar with the New Testament. Would you be able to provide these names for me so I can locate them on my end?
    Customer [4:59 p.m.]:
    Genisis Mark Matthew Luke John
    Customer [4:59 p.m.]:
    Exodus Levitus Numbers
    Advisor [5:00 p.m.]:
    Just a quick question, were these all audiobooks?
    Customer [5:00 p.m.]:
    Duetoronomy
    Customer [5:00 p.m.]:
    Yes from media group
    Advisor [5:00 p.m.]:
    Okay, are you currently on a computer with iTunes installed?
    Customer [5:01 p.m.]:
    yes
    Advisor [5:02 p.m.]:
    Unfortunately, audiobooks and ringtones are the only items on the iTunes store unavailable for re-download through iTunes in the Cloud. What I can go ahead and do is try and re-add these audiobooks back to your download queue for re-download. Please note if they have been removed or modified on the iTunes store they may not be available for re-download. Would this be okay?
    Customer [5:03 p.m.]:
    yes thank you!
    Advisor [5:03 p.m.]:
    Excellent, one moment please.
    Advisor [5:05 p.m.]:
    I apologize but after reviewing your account, it looks like we have already issued 3 exceptions for you to re-download your audiobooks in the past. Back on 02/23/2013. I apologize but we will be unable to do another exception for you. 
    Customer [5:06 p.m.]:
    that down load did include the new books of the bible that I had.
    Customer [5:07 p.m.]:
    that down load did not have the new testament books of the bible that I had
    Advisor [5:07 p.m.]:
    While reviewing the notes, this was issued to add all available audiobooks bought on your account. I again apologize but I will be unable to issue another exception to you. As the previous advisor did inform you to make sure to back up your files.
    Customer [5:08 p.m.]:
    the other advisor did not down load the new testament books. The advisor did not restore all of the books that I had originally brought.
    Advisor [5:10 p.m.]:
    While looking closer, the books that you are missing are no longer available to be re-downloaded. This is the reason why they were not added back to your download queue when he issued them. Unfortunately, as we do not handle the content on the iTunes store you will need to get in contact with the publisher of the content as they were the ones two remove or modify these books on the iTunes store. If you would like I can provide a link to their support site.
    Customer [5:11 p.m.]:
    yes they are I saw them.
    Advisor [5:11 p.m.]:
    They may have been modified by the content owner. This will be the reason why they were not added. As Apple does not control 3rd party content on the iTunes store. You will need to get in contact with them as we are unable to re-add this content back to your download queue.
    Customer [5:12 p.m.]:
    it is I just looked at it in the itunes store
    Customer [5:13 p.m.]:
    the material is still the same. The store does have it.
    Advisor [5:13 p.m.]:
    Machelle, if the items have been modified since you bought them, they will be unavailable for us to issue them back to you. You will need to get in contact with the providers for these books as they are the content owners and we do not have access to issue these back to you.
    Customer [5:14 p.m.]:
    the are still the same bible books that I purchased at the store.
    Customer [5:14 p.m.]:
    The audio books are the same. When I buy it again nothing will be different.
    Advisor [5:14 p.m.]:
    Machelle, I understand this. This is what our records are showing. When the previous advisor tried to re-issue them to you they were unable to as they have been modified on the iTunes store.
    Advisor [5:15 p.m.]:
    In order to receive further support for this issue you will need to get in contact with Media Group as they are the content providers for these audiobooks.
    Customer [5:15 p.m.]:
    I will buy them from another source. Don't say they have changed. The books are the same books I brought. They are at the store.
    Advisor [5:16 p.m.]:
    Machelle, Apple does not handle the content for 3rd party publishers on the iTune

    MoonSwan wrote:I've never heard of a validating editor but I was recently wondering what exists that could help me.  Aside from emacs, what should I search for to find one of these validating editors?
    You can use whatever tool you prefer - for someone already using emacs, emacs is a natural choice. Simple, easy to use online tools exist e.g. http://schneegans.de/sv/
    Just upload the file in question ('Validate by file upload' option) and click 'Validate':
    The '=' character cannot be included in a name. (723:10)
    <Terminal="Terminal">
    ^
    Googling 'xml validation' should give you some more tools / services if this one is not good enough.

  • I use lightroom with the soft proofing feature for my printing. I used to make a copy proof, but all of the sudden something changed, and even if I'm on the copy in the developing mode it prints the original. Also, If i chose a file that was already in li

    I use lightroom with the soft proofing feature for my printing. I used to make a copy proof, but all of the sudden something changed, and even if I'm on the copy in the developing mode it prints the original. Also, If i chose a file that was already in light room to print, even though I have the chosen file up in the developing mode, it will instead print the most recent file that I added to lightroom. If found a way to work around these problems, (check make this the copy in the soft proofing, and copy my settings and delete and reload the old files) but it's a slight hassle and it didn't use to do this. Not sure why it changed. Could I have accidentally changed a setting?

    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or              
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Features app in the Window Control Panel. Then reinstall all the Apple software components
    - Then do the other actions of:
    iOS: Device not recognized in iTunes for Windows
    paying special attention to item #5
    - New cable and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Also see:
    iPod not recognised by windows iTunes
    Troubleshooting issues with iTunes for Windows updates
    - Try on another computer to help determine if computer or iPod problem

  • Windows 8.1 PC, using reader, when searching a folder containing approx 100 doc's. If i search for a word, no results are returned. only the doc names can be found but nothing from within the doc. This is a new problem and was not the case before.

    Windows 8.1 PC, using reader, when searching a folder containing approx 100 doc's. If i search for a word, no results are returned. only the doc names can be found but nothing from within the doc.
    This is a new problem and was not the case before.

    Works perfectly fine for me with the latest Reader version (11.0.09).
    You write that it worked "before"; before what?  An update?  Update from what version to what version?

  • HT4623 i have installed the beta version of 6.1 a month ago and now i cannot open my iphone 5 it needs regestration and when i try to register it says that it couldnt complete and i need to register in the developer what can i do now to reopen my device?

    I have installed the beta version of 6.1 a month ago and now i cannot open my iphone 5 it needs regestration and when i try to register it says that it couldnt complete and i need to register in the developer what can i do now to reopen my device?

    Probably wasn't a good idea to install beta software on a device when you're not a developer.
    Apple clearly states that beta software is not to be installed on production devices.
    Not really much you can do except wait for iOS 6.1 to be officially released and then install it.

  • I am unable to print "ALL Pages" using the Adobe Print plugin in Firefox, only the first page gets printes. however IE works perfectly fine.Please advise. Is it some way that firefox identifies the complete web page..? PLease help

    I am unable to print "ALL Pages" using the Adobe Print plugin in Firefox, only the first page gets printes. however IE works perfectly fine.Please advise. Is it some way that firefox identifies the complete web page..? PLease help

    Does the entire webpage appear in Print Preview? <br />
    File > Print Preview

  • I'm trying to print a multiple page document from my ipad using an Airprint printer. Only the first page is printing, Please help?

    I'm trying to print a multiple page document from my ipad using an AirPrint printer. Only the first page is printing. Please help. The printer works correctly with my desktop and laptop.

    What version of iOS are you using?  Some people were having this problem before, and it was fixed when they updated to iOS 5.

  • HT203167 i tried downloading an album - my itunes locked up, in purchases on itunes online it says it downloaded - how do i re-download to the same computer - can not find an option to do that?

    i tried downloading an album - my itunes locked up, in purchases on itunes online it says it downloaded - how do i re-download to the same computer - can not find an option to do that?

    Assuming you are in a region where you are allowed to redownload your past music purchases, delete the corrupt tracks from the music section of your iTunes library, close & then reopen iTunes, go to the iTunes Store home page, click the Purchased link from the Quick Links section in the right-hand column, then select Music and Not on this computer. You should find download links for your tracks there.
    While downloading select Downloads in the left-hand column and make sure Allow Simultaneous Downloads is unchecked. This seems to help with partial downloads...
    If the problem persists, or that facility is not yet available in your region, contact the iTunes Store support staff through the "Report a problem" links in your account history, or via Contact Support.
    See also:
    HT5085 - iTunes in the Cloud and iTunes Match Availability
    HT2519 - Downloading past purchases from the App Store, iBookstore, and iTunes Store
    tt2

  • TV Out Issue- No display of screen but only the audio sound can be heard

    I have alway being using my iPhone 4 to watch my video/ mirroring by connected to TV (Sony) through 30-pin digital AV adapter, but after the upgrade of software to version 6.1.3 (10B329). During TV out, showing no display at screen but only the audio sound can be heard at background. Appreciated if there could be a update to fix this issue.
    Thank you
    Regards,
    Devil38

    Thanks you. Problem is solved. The cable wasn't plugged in properly.
    In spite of video rendering smoothly, audio started coming only when I disconnected the cable and plugged it in hard.
    Perhaps I was pampering my phone too much
    -3310
    -N80
    -N8

  • Only the blue color will print

    only the blue color will print cartridge has been replaced  heads have been cleaned

    Hello there! Welcome to the forums @handyhelpful 
    I saw your post about how only the blue/cyan color is printing out from your Deskjet F2120. Please check out the guide below and try the troubleshooting steps to see if the other colors will print again.
    I hope this helps!
    Missing, Faded, or Dull Colors
    If the troubleshooting does not help at all, I would lastly suggest technical support.
    Please call our technical 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. http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • HT4505 I have 4 accounts on my Mac Pro running Mavericks.  From one account I can scan with my Epson NX420, but the other three accounts do not see the scanner.  Can print from all accounts.

    Sorry, I was not given the option of posting to a Maverics community.  I have 4 accounts on my Mac Pro running Mavericks.  From one account I can scan with my Epson NX420, but the other three accounts do not see the scanner.  Can print from all accounts.

    Hi there Ira Fletcher,
    I would recommend taking a look at the troubleshooting steps found in the article below. Note: While the article was written for printer issues, many of the same troubleshooting steps apply to scanners as well.
    Troubleshooting printer issues in OS X
    http://support.apple.com/kb/ts3147
    -Griff W.

  • Only the first page is printed reduced as setup. All pages afterward are full size with information cut off. Recent problem. Can print from Safari just fine. How can I get all pages to be reduced size?

    Question
    Printing internet pages
    Reduced print size
    Only the first page is reduced and printed as desired
    All pages after the first page are full size with information cut off
    Recent problem never seen before
    Can print from Safari and other software just fine
    How can I get all pages to be reduced size?

    One suggestion worked from the Firefox prints incorrectly link mentioned above by mha007. I'm thrilled since this has been annoying me for weeks. Thanks mha007!
    Reset all Firefox printer settings
    # Open your profile folder:
    # On the menu bar, click on the Help menu and select Troubleshooting Information. The Troubleshooting Information tab will open.
    # Under the Application Basics section, click on Show in Finder. A window with your profile folder will open.
    # Note: If you are unable to open or use Firefox, follow the instructions in Finding your profile without opening Firefox.
    # On the menu bar, click on the Firefox menu and select Quit Firefox.
    # In your profile folder, copy the prefs.js file to another folder to make a backup of it.
    # Open the original prefs.js file in a text editor (such as TextEdit).
    # Remove all lines in prefs.js that start with print. and save the file.
    # If something goes wrong when you open Firefox, close it again and overwrite prefs.js with the backup you made.

  • Printing web page with select tags in IE9 and a .cfm file-only the original selected option prints

    My web page has a select tag and cfselect tags and when I print the page with a different option other than the originally selected option the print for both types of select tags reverts back to the original selection and ignores the new selection.  This happens in IE9 and .cfm files but not when the page is printed in IE8 or IE7 modes (tried in the F12 Developer Tools.)  It also needs to be a .cfm file.  FireFox printed the pages correctly for any combination.
    This was done on a Dell and ThinkCentre computers under Windows 7.  Also, I was able to reproduce the same problem on an different university web site where a selection box would revert back to the original selection for printing on a .cfm page and would print properly on a .PHP page at the same site.
    For my site, I used a print button which calls print() and right clicked and chose print and got the same results no matter which method was used.  I only had the right click method on the third party web site.
    I know this is probably a bit narrow an issue but, any help would be appreciated.

    It appears that it is probably an IE9 bug.
    I simplified the problem by turning the page source taken from the brouser of the original .cfm into an html file and found that it would still print improperly.
    When I eliminated the various parts of the file I found that it would print correctly only when I removed the first line, the "DOC type" line.
    The page will print the newly selected option but then I lose the style sheet.
    If it does not work in an HTML file it must be IE.  It is not the .cfm.  The reason that it did not work for .cfm files, is that they always have a "DOC type" statement.
    I have put the issue into an MSDN forum in addition to the one mentioned previously.

  • Only scanned document (jpeg) can print black color

    Hello everyone,
    I have a weird problem with my printer. Black ink is not printing properly. Whenever I print  any .doc or text files, a blurry page comes out..and sometimes, i got nothing but an empty page. What makes it weird is, I can print any scanned doc saved as jpeg with no problem. Black color gets printed with photos. 
    I already used the maintenance tools like cleaning and aligning the ink cartridge but to no avail. The ink level is also full.
    Any idea what's happening?  

    OK, I checked the versions of the different machines running IE and they are all 5.00.2614.3500. Also, for the time being, my policy file consists of:
    grant {
            // Allow everything for now
            permission java.security.AllPermission;
    };What other security issues to I need to investigate? Thanks so much for your responses!

Maybe you are looking for

  • Need help saving layer styles Photoshop CS6 Extended for Mac (Mountain Lion)

    I have been trying to learn Photoshop. I am using Photoshop CS6 Extended on a Macbook Pro (Mountain Lion). My Adobe software has been updated. I have been doing tutorials using a lot of layer styles. In one of these tutorials, it was suggested that i

  • What is a good control surface for Logic X

    Hello All I am thnking about purchasing logic X in the future and wanted to hear opinions on good control surfaces in the $3,000 range. Hit me up with your opinions. Stuart

  • Computer Lists and Access Control

    Hi I've got OS/X Server 10.4.6 setup to a be an OD master and have several linux boxes authenticating to it using kerberos. Currently, all OD users can login to all the linux boxes, but I'm trying to restrict access to some boxes to a group of users.

  • Adding a watermark with batch processing.

    Is it possible to add a watermark, resize an image, add jpg compression all at once via batch processing in Fireworks? Thanks!

  • Cash flow w/o TR

    Hi all, Is it possible to get Cash flow statement without TR module implementation, that is report based on FI module.  If it is possible, let me know what the configuration required the same. Regards Partha