Page truncated when printing a transparent color with Windows 2000

Hi,
We use the JDK 1.5.0_11 in a Windows 2000 SP4 platform with 2GB of RAM.
When printing a transparent color on a large page with a Windows 2000 platform,
- The printed page is unexpectedly truncated (the bottom of the page is not printed) or
- Even worse, the operating system crashes with a blue screen.
Notice that we neither have any exception thrown nor any log written !
Notice that this problem never occurs with a Windows XP platform !
The problem can be reproduced as follows:
1. Run the sample below,
2. The "Page Setup" dialog is opened,
3. Select a large paper size such as A2 or A1,
4. Press the "Ok" button,
5. The "Print" dialog is opened,
6. Select a printer which can handle this paper size,
7. Press the "Ok" button,
8. The printed page is unexpectedly either truncated or the operating system crashes.
If you do not have a printer handling such large paper sizes,
the problem can still be reproduced using the latest version of "PDFCreator".
Could anybody provide us with some hints ?
Thank you very much for your help ...
Xavier
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.geom.Rectangle2D;
import java.awt.print.PageFormat;
import java.awt.print.Paper;
import java.awt.print.Printable;
import java.awt.print.PrinterException;
import java.awt.print.PrinterJob;
public class Main {
    public static void main(String[] args) throws Exception {
        PrinterJob job = PrinterJob.getPrinterJob();
        job.pageDialog(job.defaultPage());
        job.setPrintable(new MyPrintable());
        if (job.printDialog()) {
            try {
                job.print();
            } catch (PrinterException exception) {
                System.out.println(exception);
class MyPrintable implements Printable {
    public int print(Graphics g, PageFormat format, int pageIndex) {
        if (pageIndex != 0) {
            return NO_SUCH_PAGE;
        Graphics2D g2 = (Graphics2D) g;
        g2.setFont(new Font("Serif", Font.PLAIN, 36));
        g2.setPaint(new Color(255, 0, 0, 127));
        for (long i= 0; i<format.getImageableWidth(); i++) {
            g2.drawString("www.java2s.com", (long) format.getImageableX() + i*18, (long) format.getImageableY() + i*18);
        Rectangle2D outline = new Rectangle2D.Double(
                format.getImageableX(),
                format.getImageableY(),
                format.getImageableWidth(),
                format.getImageableHeight());
        g2.draw(outline);
        return PAGE_EXISTS;
}

I did this with the Windows de-installer and it did not work. Is there something more I need to do? Does Mozilla have a program for removing its software that is more complete?

Similar Messages

  • Printing on Transparency Paper with a Mac.

    Printing on Transparency Paper with a Mac.
    Hi there
    I am having issues printing to transparency paper with my Mac.
    I am using a Epson DX5000 ink jet printer, with ink jet transparency paper.
    I've created my design at 600dpi (a little bit overkill I guess you could say).
    What I am doing is creating/printing (none coloured) black images that are then displayed using a projector.
    My problem is that I don't think enough ink is being printed onto the transparency paper and so when its displayed on to a wall you can see through the black ink too much and also the ink all looks cracked.
    This maybe also possibly caused by the fact that with ink jet transparency paper you print on the one side that has a rough type feel to it, that must have some kind of coating so that the ink dries on it correctly and doesnt just smear.
    here's a little image of what I mean.
    As you will see the image just isnt clear enough and light leaks through the black.
    You are only actually supposed to be able to see anything thats white. So thats only the white text around the outside and the white images in the middle. (this is a little hard to explain as of course a printer doesnt print white, what its actually doing it NOT printing the white sections at all, so this is where the light shines through)
    Ive tried numerous print settings when printing from Adobe Acrobat
    Print>Printer>Print Settings
    Media Type setting are:-
    Plain papers
    Epson Matt
    Epson Ultra Glossy
    Epson Premium Glossy
    Epson Premium Semi Gloss
    Epson Glossy
    Envelope
    Color settting are:-
    Color
    Black
    Print Quality setting (More and less appear depending on what type of paper you say you are using) are:-
    Fast Economy
    Economy
    Draft
    Normal
    Fine
    Super Fine
    Photo
    Best Photo
    Photo RPM
    I assume that Photo RPM is the best setting and to be honest I'm not really sure which type of paper to choose?
    Ive tried many different settings, Ive tried printing in just Black, but that doesnt put out enough ink, I then tried printing in colour (even though my designs are just in black), it definitely produced on a page more ink, but still not enough.
    Does anyone have any suggestions here at all, I'm all out of ideas?
    thanks      

    Gary Scotland wrote:
    Use an image editing application to create a pure black and white image with maximum contrast, painting in where needed in the black area to produce maximum black.
    This is how I have already created them.
    In the printer driver settings set:
    colour settings option:   print in Greyscale not in colour mode
    Greyscale option is not available, but I can just print in black, which does not cover enough.
    paper or media settings option choose:   Transparency
    There is no option for Transparency paper

  • HP LASERJET CP1525nw print error when printing online Gmail emails with Google Chrome

    HP LASERJET CP1525nw print error when printing online Gmail emails with Google Chrome. Extra large font sizes and weird formatting issues only when printing emails from Gmail within Chrome. No problems when printing the same email from Gmail+Internet Exolorer or Thunderbird. Using the IE Tab extension in Chrome prints the email correctly but the style of Gmail's message window is completely weird ie: formatting bar is spread out vertically instead of horizontally. I believe it is clear that this is an application specific issue between the HP LASERJET CP1525nw printer and Google Chrome + Gmail. This printing scenario does not occur when printing anything else or when printing via another printer. I would appreciate receiving any suggestions to solve this issue.
    OS: Windows 7 Ultimate x64
    Browser: Google Chrome 15
    HP Print driver: HP Universal Print Driver for Windows PCL6 v5.4.0
    Printer is connected by WiFi to 4 computers

    Hi AbZu, 
    You need to contact Google Chromes technical support as this is only an issue with Chrome. You have indicated that the printer functions correctly everywhere else. Check out the link below for Google Chrome technical support. Let me know if you need additional assistance?
    http://support.google.com/chrome/?hl=en
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • When I click on a link in an email, it does not automatically open the site page? When I receive an email with a link in it, if I click on the link to open the page, nothing happens. It does not open the internet to that page.

    When I click on a link in an email, it does not automatically open the site page?
    When I receive an email with a link in it, if I click on the link to open the page, nothing happens. It does not open the internet to that page.

    I don't appear to have a toolbar either.

  • When printing a signed document with Adobe Reader, the comment icons appear.  How do I prevent this

    When printing a signed document with Adobe Reader, the comment icons appear.  How do I prevent this ?

    When printing from Reader, select Document instead of Document and Markups:

  • Im getting error 2 when tryig to download ITUNES with windows 7, you know what i can do?

    Im getting error 2 when tryig to download ITUNES with windows 7, you know what i can do?

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • Default Strata navigation buttons used to have colors besides blue with Windows 2000.

    I recently moved from Windows 2000 to Windows 7 and noticed that the default Strata navigation buttons are now all blue. For example, with Windows 2000 the stop "X" was red and the "Forward" and "Back" arrow buttons were green. No biggie, but is there any way to get these colors with the default navigation buttons in Windows 7?
    Thanks!

    Hello and thank you for the reply!
    While I am waiting for the issue to start up again, I'd just like to cover some things you mentioned in your post. :)
    I only updated the bios because I was originally experiencing these issues. It was a method to hopefully resolve them, which did not work. I was very careful, and the process was a success. I updated to the most recent recommended driver for my motherboard
    from the manufacturers.
    As for Auslogics Boost Speed, it is not running on my computer, as it is a piece of software I only have used to clean junk files (cache/temp) for a very long time now with no issue. I have also tried updating all of my drivers with success, however that
    did not solve the issue either. I even rolled back my network card driver just in case with no luck.
    I have not thought of disabling my audio driver yet, being how it effects far more than just my audio when it happens. My mouse is jittery/laggy as well when no sound is playing. But other tests have shown that it may be a network issue. Next time it happens
    I'll temporary disable my network drivers to see if that causes the issue to clear up.
    I will be sure to mark answers which help appropriately. Thanks again! I should return with the information requested from Zigzag's wiki within 2 days of on-time, when this happens again. 

  • HP 8600 all in one Printer Scanner to Computer with Windows 8

    i can not get the printer to reconize the Computor i want to scan to  i Have HP Printer 8600 all in one printer and HP computor with Windows 8 (wireless)

    Hello Stringfield, and welcome to the HP Forums, I hope you enjoy your experience!
    I see you are experiencing scan issues.  I would like to help.
    I would suggest performing a power reset on the printer.  Disconnect the power cord from the printer and the power outlet, then wait 60 seconds. After 60 seconds, plug the printer back in. Ensure you plug the printer directly to a wall outlet. Make sure to bypass any sort of surge protector or power bar.
    I would then recommend downloading and running the HP Print and Scan Doctor.
    Please let me know the results.  Thanks for posting on the HP Forums!
    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" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • HT1296 When I sync my iphone with Windows 7, the contact moves to my computer, but the contact is not complete. No phone numbers. What am I doing wrong? I have also tried sync-ing with Yahoo, and that doesn't work either.

    When I sync my iphone with Windows 7, the contact moves to my computer, but the contact is not complete. No phone numbers. What am I doing wrong? I have also tried sync-ing with Yahoo, and that doesn't work either.

    The music sync is one way - computer to iphone.  The only exception is itunes purchases.  File>Transfer Purchases
    It has always been very basic to always maintain a backup copy of your computer for just such an occasion.  Use your backup copy to move everything to your new computer.

  • When I change the color using windows 7 color, I get a prompt to change back to firefox default or everything is very slow. Isn't there another way to fix the i

    When I change the color using windows 7, apparently firefox runs slower. The videos I watch are spotty and looking like it's in slow motion. Sometimes I get a prompt to use firefox colors and this fixes it. But why can't I use other colors, and are there settings to help me fix this problem? Thank you for any information you can give me. Joyce

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/
    You can check for problems caused by recent Flash updates and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in Flash 11.3 and later
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Troubleshooting

  • Need to download printer driver for 3510 with windows 10

    I need to download printer driver for 3510 with Windows 10

    Here is the link to the Deskjet 3510 drivers.
    Please mark the post that solves your issue as "Accept as Solution".
    If my answer was helpful click the “Thumbs Up" on the left to say “Thanks”!
    I am not a HP employee.

  • Install oracle 8.0.6 with Windows 2000

    hello all,
    today we have oracle 8.0.6 on NT Server ...
    we need install the same release oracle 8.0.6 on new IBM server, with Windows 2000 Server ...
    we are looking information about differences between config oracle 8.0.6 in NT Server and Windows 2000 Server
    thanks in advance
    rodolfo

    My tnsnames.ora file is using SID and not SERVICE NAME.
    The configuration is the same as the other NT server I am using, this is actually a new server we are trying to replace the production with. The only difference is the OS so far. I looked at all the configuration files and the only error I get is that TNS 12203 error when I try to connect to Oracle.
    When I try from any client it does the same thing, TNS 12203 and no connection to database.
    Could it be the OS, or does anyone know anyone that has Oracle 8.0.6 on a 2003 Server Box.
    Thanks for your help guys.

  • Labview 2009 .exe not working with windows 2000

    I created a simple vi with Labview 2009 to reset a counter in registry key. I changed it to an exe. The program runs fine on any machine with XP but it does not work on the machine I need it on which is running Windows 2000 SP4. I installed the 2009 runtime but I continue to get an error when it starts up saying the vi is not executable and that I need the full development to fix the errors. But like I said it works every where else. I've tried other exe wrote in LV2009 on this machine and they work. Is there something in my vi that is not compatible with Windows 2000?
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Serial Number Reset Cell 2.vi ‏15 KB

    There was an issue with building DLLs on Windows 2000 - http://digital.ni.com/public.nsf/allkb/431C9BD8F3482033862576A90073441F. Since you say you are trying an EXE, this may not be applicable.
    George M
    National Instruments

  • Is the JDK (1.2.2) compatible with Windows 2000 Pro?

    Hi Friends!,
    It seems that the JDK - Version: 1.2.2 - is not
    compatible with Windows 2000 Pro. I know
    how to configure the kit in this operating system
    even if I'am not able to understand the reason for which
    I receive the error in the Command Prompt window - the JAVAC
    utility says:
    "Can't read: BigDebt.java - 1 error".
    I have added the following command line from
    the System Control Panel->System->Environment->System Variables:
    C:\jdk1.2.2\bin ( where I have installed the kit ).
    I also have added the CLASSPATH command line there:
    set CLASSPATH=.;C:\jdk1.2.2\lib\tools.jar but the problem persists
    and I'am unable to create the BigDebt.class file.
    To avoid another nervous wreck please send me the instructions
    to configure correctly the JDK (1.2.2) for Windows 2000 Pro.
    Thanks.
    Julian Jerman - from Italy.

    when you runs the java compiler like this
    javac BigDebt.java
    You need to be in the directory of your BigDebt.java file located.
    BTW, it is kind of weird that your java file is saved to System32 directory, there is no benefit doing that.
    --lichu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • What version work with windows 2000

    I just updated firefox and it prompted me to update flashplayer, but when I got to that scrren,  windows 2000 was not listed -- WHat version could I use?

    Hi, I know it's not listed but others are using it for 2000. Pat one of the helpers on here has used it. I would try it.
    The Forum has technical issues and can't search right now for that thread. I just remember he responded to someone with the concern you raised.
    eidnolb

Maybe you are looking for

  • Photoshop CS5 and Bridge CS5

    I recently purchased a new PC and transferred Photoshop CS5 from my old PC to the new PC via PCmover Professional and a Laplink USB cable attached to both PC's. The transfer appeared to work without a hitch until I tried to open Bridge CS5 from withi

  • Maximum size of a JComboBox in a GridBagLayout

    I'm having a problem with a JComboBox inside a GridBagLayout. The general layout is a GridBag with labels / combo / textfields on the first line, a large table in a scrollpane that takes all columns on the second line, and a few labels / combo / text

  • Switching from a PC server to a MAC

    Hello, I've finally convinced my office to switch our PC server to a MAC server. About half the computers that will be on this network are MAC and Half are PC. I have a couple small questions/issues. 1) will the PC's be able to access everything the

  • Clarification about SAP CRM 5.0, SAPPHONE

    Hi Buddies, Long time no see. Curently we are considering integrating SAP with our telephony system  AVAYA. According to our vendor, there are 2 approaches: SAPPHONE or ICI connectors. It is clear that ICI connector will be based on latest version of

  • Creating PDF when No Files Match Search

    I am trying to create a pdf from an existing word document.  When I go to the folder containing the particular document (and other documents as well), I get the response "No items match your search" and no documents are shown at all when I know there