Strange printer behavior on NT

I was wondering if anyone else may be experiencing the following (on windows 2k):
1. Multi page print (10 pages)
2. Multiple copies (11 copies)
3. Large images (I'm expanding 150K jpegs)
What actually comes out of the printer, is 110 copies of the same page!
I'm not ruling out Windows or the HP printer driver on this one, but I thought I would see if anyone else might have an idea.
thanks is advance!
brian

Yes, the Java API set has enabled me to quickly craft a nice image processing utility for a client. The only gotcha we have at this point is the before mentioned printer issue. This is a 100% pure Java program (no JIMI, and I'm even using a TYPE4 jdbc driver).
brian

Similar Messages

  • Strange Print Behavior

    While using Pages '08 (3.0.1) and Leopard (10.5) and attempting to print a document, each option I change in the print dialog causes the document preview to be reduced in size, and the document to print a size smaller than normal.
    For example, clicking the 'From Page' setting causes this behavior or checking & unchecking the 'Collated' check box causes this behavior.
    If I close the Print dialog without printing, the next time I open it the document is the correct size again. But any further adjustments cause the print to be reduced once more.
    Any assistance would be appreciated.
    bj

    Thank You!
    You have saved me a massive amount of work. I was just about ready to manually find and replace dozens and dozens of uses of a particular font I thought might have been causing this issue.
    Much appreciated!
    Bj

  • Yet Another CS5 Strange Printer Behavior

    All of a sudden, when I open the print dialog it is set to the right printer (Epson R1900), but it wouldn’t take any changes. Clicking “Printer settings…” generated a message “because the requested printer does not exist.”  
    One way to overcome this is to select a different printer and then switch back to the Epson.  Printer settings can now be changed, but only for one printout. Trying to print the same picture again does not recognize the printer.  Also, using this method, the number of copies to print has no effect.
    Another solution, mentioned by others, is to set the Epson to be the default Windows printer.  However, if the number of copies was previously set to a number greater than one, the printer is set as the default printer, and a picture is printed while the number of copies is 1, the driver  “remembers” the previous settings and prints multiple copies.
    It’s about time Adobe fixes the printing problems in CS5.

    Another "evidence" http://www.shootsmarter.com/index.php?option=com_content&view=article&id=873&catid=57&Item id=52

  • Printer Setup Utility always crashes- and am getting weird printer behavior

    Just installed 10.5 on a fresh internal drive- machine is G5 2X2- settings imported from a 10.4 installation on another drive. Printer is a Brother HL-5170DN
    If I try to print from any app, the app doesn't crash, as has been reported by others, but the printer behavior is strange. I added the printer from the Print and Fax control pane, which saw the printer and appeared to be happy. But when I try to print any test document, the printer starts printing an error message on every sheet in its tray, literally running through the whole stack and then complaining it's out of paper, even though the document to be printed was only one page. Have never seen anything like that. The error message printed on paper is: ERROR NAME; undefined COMMAND; y OPERAND STACK;
    Cannot launch Printer Setup Utility- always crashes. Have tried reseting printer system and rebooting, but no luck. It seems to be complaining that a file called "_CPLPPDGetFileInfo" is missing. The error log when I try to launch Printer Setup Utility is:
    Process: Printer Setup Utility [550]
    Path: /Volumes/fatherhood/Applications/Utilities/Printer Setup Utility.app/Contents/MacOS/Printer Setup Utility
    Identifier: com.apple.print.PrintCenter
    Version: 4.7 (161.10)
    Build Info: PrintCenter-1611000~1
    Code Type: PPC (Native)
    Parent Process: launchd [85]
    Date/Time: 2007-11-03 10:53:29.649 -0700
    OS Version: Mac OS X 10.5 (9A581)
    Report Version: 6
    Exception Type: EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000001, 0x000000008fe0105c
    Crashed Thread: 0
    Dyld Error Message:
    Symbol not found: _CPLPPDGetFileInfo
    Referenced from: /Volumes/fatherhood/Applications/Utilities/Printer Setup Utility.app/Contents/MacOS/Printer Setup Utility
    Expected in: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services

    Thanks for the helpful info. I had upgraded to Leopard using Archive & Install and had an alias to the Printer Setup Utility from Tiger, which I kept trying to use not realizing that this now pointed to the old version in the Previous Systems folder.
    Now I've deleted the whole thing and will remember to use the System Preference panel to configure my printers.

  • Capturing DVCAM in FCP 6.0.2 and encountering strange capture behavior

    I have FCP 6.0.2 and OSX 10.5.2 and QT 7.3.1. I have been capturing several DVCAM cassettes using my Sony DSR-20 deck. Although I have done this countless times before in earlier versions of FCP, I am encountering some strange repetitive behavior. I am capturing 30 minute clips one at a time. When I use batch capture it will cue the tape up properly to the in point...and then start capturing until it gets to about 10-12 minutes in, and then capture unexpectedly stops, no dialogue box, the tape rewinds and starts capturing again from the original in point. On this second capture, the tape sails past the 10 minute mark and keeps going to the end of the 30 minute clip. It then stops, gives me the dialogue box that it has successfully captured. And it has.
    But every DVCAM tape I captured today exhibited the same behavior. Capture would be successful until about about 10 minutes in, then FCP aborts (no dropped frame message, no dialogue box) rewinds the tape back to the in point, tries again, and this time succeeds with the second pass capturing the entire clip. Note at the 10 minute mark there is no scene change or no camera start/stop.
    Have other users experienced this issue? And if so, is there a workaround or a possible patch forthcoming from FCP?
    Many thanks,
    John

    Yes, each tape has an in and out point defined. In my 6 years of editing with Final Cut and DVCAM tapes I've never encountered this issue before in the capturing process until now. I will have to see in future weeks with other captures whether this is an on-going issue or not, but at least I can capture for now.

  • Bug in my code or strange memory behavior ?

    Hi, Guys !
    It's been a while since I post something in this forum - trying to use your help when it's really needed.
    So, here we go ...
    (we use Oracle 8.1.7 on Unix box and SQL * Plus 8.1.6)
    While back I wrote "core" PL/SQL package that resides in let's say DB1 database. It has RECORD_EXISTS_FNC function designed to dynamically check If the record exists in certain table/view. Assumptions are that you pass in :
    Table/View name, Column name, and unique numeric value (because by DBA rules all of our Tables have SEQUENCE as a Primary Key. And I plan soon to put in overloaded function to accept unique character value)
    Also every Table has SYS_TIME_STAMP and SYS_UPDATE_SEQuence columns that populated by Trigger before Insert/Update representing Last Update time_stamp
    and how many times record was updated within same second.
    (in case more than one User updates same record in same time - that was written before Oracle had more granular date/time). So function has SYS_TIME_STAMP and SYS_UPDATE_SEQUENCE parameters (optional) accordingly.
    And It looks something like :
    FUNCTION RECORD_EXISTS_FNC
    (iBV_NAME IN USER_VIEWS.VIEW_NAME%TYPE,
    iPK_FIELD IN USER_TAB_COLUMNS.COLUMN_NAME%TYPE,
    iPK_VALUE IN NUMBER,
    iSYS_TIME_STAMP IN DATE DEFAULT NULL,
    iSYS_UPDATE_SEQ IN NUMBER DEFAULT NULL) RETURN BOOLEAN IS
    TYPE REF_CUR IS REF CURSOR;
    CR REF_CUR;
    i PLS_INTEGER DEFAULT 0;
    vRESULT BOOLEAN DEFAULT FALSE;
    vQUERY USER_SOURCE.TEXT%TYPE;
    BEGIN
    vQUERY := 'SELECT 1 FROM ' || iBV_NAME || ' WHERE ' || iPK_FIELD || ' = ' || iPK_VALUE;
    IF iSYS_TIME_STAMP IS NOT NULL AND iSYS_UPDATE_SEQ IS NOT NULL THEN
    vQUERY := vQUERY || ' AND SYS_TIME_STAMP = TO_DATE (''' || iSYS_TIME_STAMP || ''')
    AND SYS_UPDATE_SEQ = ' || iSYS_UPDATE_SEQ;
    END IF;
    IF iBV_NAME IS NOT NULL AND
    iPK_FIELD IS NOT NULL AND
    iPK_VALUE IS NOT NULL THEN
    OPEN CR FOR vQUERY;
    FETCH CR INTO i;
    vRESULT := CR%FOUND;
    CLOSE CR;
    END IF;
    RETURN vRESULT;
    EXCEPTION
    WHEN OTHERS THEN
    IF CR%ISOPEN THEN
    CLOSE CR;
    END IF;
    INSERT_ERROR_LOG_PRC ('CORE_PKG', 'ORACLE', SQLCODE, SQLERRM, 'RECORD_EXISTS_FNC');
    RETURN vRESULT;
    END RECORD_EXISTS_FNC;
    So the problem is when I call this function from let's say
    database DB2 (via db remote link and synonym) and I know exactly that record does exists (because I am selecting those SYS fields before pass them in) - I get the correct result TRUE. The other programmer (Patrick) calls this function within same DB2 database, within same UserID/password (obviously different session), running exactly the same testing code and gets result FALSE (record doesn't exist, but it does !) He tried to Logoff/Login again several times within several days and try to run it and still was getting FALSE !
    I tried to Logoff/Login again and I was getting mostly TRUE and sometimes FALSE too !!!
    I thought may be It has something to do with REF CURSOR that I use to build SQL on the fly, so I changed to NDS
    using EXECUTE IMMEDIATE statement - nothing changed.
    vQUERY := 'SELECT COUNT (1) FROM ' || iBV_NAME || ' WHERE ' || iPK_FIELD || ' = ' || iPK_VALUE;
    IF iSYS_TIME_STAMP IS NOT NULL AND iSYS_UPDATE_SEQ IS NOT NULL THEN
    vQUERY := vQUERY || ' AND SYS_TIME_STAMP = TO_DATE (''' || iSYS_TIME_STAMP || ''') AND SYS_UPDATE_SEQ = ' || iSYS_UPDATE_SEQ;
    END IF;
    EXECUTE IMMEDIATE vQUERY INTO i;
    vRESULT := NOT (i = 0);
    RETURN vRESULT;
    Interesting note : when Patrick doesn't pass SYS parameters (Time_stamp, Update_sequence), or passes NULLs - function always finds the record ! (Statement 2 below)
    May be it has to do with the way TO_DATE () function gets parsed in that dynamic SQL - I don't know ...
    Here's the test code :
    SET SERVEROUTPUT ON;
    DECLARE
    SYS_TIME DATE;
    SYS_SEQ NUMBER;
    bEXISTS BOOLEAN DEFAULT FALSE;
    BEGIN
    SELECT SYS_TIME_STAMP, SYS_UPDATE_SEQ INTO SYS_TIME, SYS_SEQ FROM LOCATION_BV WHERE PK = 1;
    bEXISTS := CORE_PKG.RECORD_EXISTS_FNC ('LOCATION_BV','PK',1, SYS_TIME, SYS_SEQ); -- STATEMENT 1
    --bEXISTS := CORE_PKG.RECORD_EXISTS_FNC ('LOCATION_BV','PK',1, NULL, NULL);        -- STATEMENT 2
    IF bEXISTS THEN
    DBMS_OUTPUT.PUT_LINE ('TRUE');
    ELSE
    DBMS_OUTPUT.PUT_LINE ('FALSE');
    END IF;
    END;
    I asked our DBA, he has no clue about this strange inconsistent results.
    I debugged line by line, extracted that generated SQL and ran it in same account - works fine !
    Does anyone knows or have clues or can help what's going on ???
    I don't know If this is bug in my code or strange memory behavior ?
    (Please let me know If anything unclear)
    Thanx a lot for your help and time !
    Steve K.

    see your other thread
    Bug in my code or strange memory behavior ?

  • Strange Permissions Behavior with Public/Private Drop Box

    Strange Permissions Behavior with Non-Course Drop Box
    In an effort to promote iTunes U on campus this semester (and to get people working with audio and video more) we're having a contest in which people can submit personal or group audio/video projects.
    This being an iTunes promo, we intend for students to submit their contributions via a drop box.
    To that end, I began experimenting with drop boxes in iTunes U, which I haven't done much of previously. I've created a course called "iTunes U Drop Box Test" under "Campus Events". Within that, I have two tabs: "Featured Submissions" and "Dropbox". My goal with this drop box was to allow faculty, students and college folks the ability to use the drop box ("college" being a role I've defined for those who don't fit into the faculty/student roles).
    When I first started experimenting, access to the "iTunes U Drop Box Test" course looked like this:
    --- Credentials (System) ---
    Edit: Administrator@urn:mace:itunesu.com:sites:lafayette.edu
    Download: Authenticated@urn:mace:itunesu.com:sites:lafayette.edu
    Download: Unauthenticated@urn:mace:itunesu.com:sites:lafayette.edu
    Download: All@urn:mace:itunesu.com:sites:lafayette.edu
    --- Credentials ----
    Download: College@urn:mace:lafayette.edu
    Download: Instructor@urn:mace:lafayette.edu
    Download: Instructor@urn:mace:lafayette.edu:classes:${IDENTIFIER}
    Download: Student@urn:mace:lafayette.edu
    Download: Student@urn:mace:lafayette.edu:classes:${IDENTIFIER}
    For the "Featured" Submissions tab, I gave the non-system credentials the "download" right, and for the "Dropbox" tab I gave the non-system credentials the "dropbox" right.
    My understanding of this setup is that everyone should have had the ability to view the course and the contents of the "Featured Submissions" tab and that those in the College/Instructor/Student roles would be able to upload files via the "Dropbox" tab ... but not see the contents of said tab after the files were uploaded (aside from any files they uploaded themselves).
    This is not the behavior we saw however. While the College/Instructor/Student roles could upload files to the dropbox, everyone (including the unauthenticated public) was able to see all of the contents of the dropbox.
    The only way I could get this to work as advertised was to change all of the system credentials save the "Administrator" to "No Access":
    --- Credentials (System) ---
    Edit: Administrator@urn:mace:itunesu.com:sites:lafayette.edu
    No Access: Authenticated@urn:mace:itunesu.com:sites:lafayette.edu
    No Access: Unauthenticated@urn:mace:itunesu.com:sites:lafayette.edu
    No Access: All@urn:mace:itunesu.com:sites:lafayette.edu
    Once I did this, everything worked as advertised: College/Instructor/Student roles could upload tracks, and the "Dropbox" tab would only display tracks they uploaded.
    So my question is ... is this the correct behavior for the drop box? It looks like when the system credentials are in play, they're simply overriding whatever the normal "view" rule is for the drop box, which doesn't seem right.

    Your current configuration where things work as you wanted does seem correct to me. You are not using any System Credentials to accomplish the functionality and that's fine.
    Here's some more info to clarify how / why this is working for you and why you had to set "No Access" for the System Credentials:
    The System Credential "Authenticated@..." is going to get assigned to any user that goes through your transfer script. Even if you transfer script assigns no credentials to a user, upon entering iTunes U they will have at least 1 - the "Authenticated@..." credential. Therefore, unless you block access using "No Access", any user that passes through your transfer script is going to be able to access the area in question.
    When you change values for "Unauthenticated@..." or "All@..." you are defining what someone that DOES NOT pass through your transfer script can do. You want both of those to be "No Access" at the top level of your site if you do not want unauthenticated visitors.
    The distinction between "Unauthenticated" and "All" is that "All" applies to all users whether they pass through the transfer script or not.
    Here's another way to remember things:
    User passes through your transfer script, iTunes U automatically assigns:
    Authenticated@....
    All@....
    User does not pass through your transfer script and instead access your iTunes U site through derivable URL*, they get assigned:
    Unauthenticated@....
    All@....
    *The derivable URL for a site is: http://deimos.apple.com/WebObjects/Core.woa/Browse/site-domain-name
      Mac OS X (10.4.6)  

  • Strange XSLT Behavior: xsl:template match

    Hello I found the following strange XSLT behavior when using xsl:template. I only want to read the content of the element /Source/Surname/Details. Therefore I match this path using xsl:template match.
    What is strange that in the target message also the value of the Element LastName is written at the end. Please see example below. This is just a short example to point out the problem. I have a bigger message structure where I have to match a similar path. How can I avoid the the value of the FullDetails is just written at the end (not even beeing in an element)? I would have expected that the path is only matched once and the instructions then executed without <LastName> beeing even touched.I used XML Spy for this test.
    Here is an example:
    Source message:
    <?xml version="1.0" encoding="UTF-8"?>
    <Source>
         <Surname>
              <Details>MyFirstName</Details>
         </Surname>
         <LastName>
              <FullDetails> MyLastName </FullDetails>
         </LastName>
    </Source>
    XSLT
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:template match="/Source/Surname">
    <PORR>
    <Name><xsl:value-of select="Details"/></Name>
    </PORR>
    </xsl:template>
    </xsl:stylesheet>
    Target Message
    <?xml version="1.0" encoding="UTF-8"?>
    <PORR xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <Name>MyFirstName</Name></PORR>MyLastName
    Edited by: Florian Guppenberger on Oct 8, 2009 4:35 AM
    Edited by: Florian Guppenberger on Oct 8, 2009 4:36 AM
    Edited by: Florian Guppenberger on Oct 8, 2009 4:36 AM
    Edited by: Florian Guppenberger on Oct 8, 2009 4:37 AM

    Hi,
    I am not sure why your XSLT behaving like that,please try this XSL,what i did chnages is Templete match /*,I given exact path in Value of select,.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:template match="/*">
    <PORR>
    <Name><xsl:value-of select="/Source/Surname/Details"/></Name>
    </PORR>
    </xsl:template>
    </xsl:stylesheet>
    Regards,
    Raj

  • Strange typeover behavior in Newsfeeds

    I am getting this strange intermittent behavior when create a post in the Newsfeed.
    As you begin to type the text compress and it almost looks like the letters are typing over themselves
    The resulting text can be posted and looks fine when posted, it some times does throw an error but the error and type over don't seem connected
    It happens on all browser types and even phones and tablets

    Hi,
    Thank you for your post.
    This is a quick note to let you know that we are performing research on this issue.
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Strange Printing Issue With New HP & Pages

    Hello!
    I have a very strange printing issue with a new HP printer. I have written pages documents heavy in Texts which are located within tables. The documents print fine on a Cannon and Epson printer and look great but when I print the document on my new HP Laserjet Pro 400 Colour M451nw some of the text on some rows come out of the printer looking like they are bold / slightly fuzzy. This only happens with some of the rows of text, not all of them. The font is the same in every row with the same format.
    You can see this in the attached image. The first line (Thanks very much) has printed correctly but the subsequent lines look bold / slightly fuzzy.
    After a lot of testing the only way I can resolve this is if I copy the content into a new pages document and only then it will print and look ok with the HP printer.
    This must be a problem within my origional document. I would simply copy and paste everything into a new document however this would take a very, very long time (over 5 years of work producing teaching materials and over 100 documents and thousands of tables and formatting that cannot be copied and pasted).
    Also, on other printers you can see the lines seperating each row of the table. These lines are not visible on the HP print outs, even when the table is copied into a new document.
    Has anyone come accross an issue like this before? Is there a way I can fix this without creating a new document? Do I need to get a new another new printer (the 4th printer this week!)?
    Any advise, wise words would be greatly apprechiated!
    Thanks!

    Sorry, Fruhulda. After 4 hours on the phone with Apple care they are taking this issue further themselves. It seems to be a problem with our pages document and the compatibility with certain drivers. We have still not gotton to the bottom of it and Apple are going to get back to me when they have an answer.
    We also worked out that the issue only happens when you print via Ethrenet & USB. Printing via Wifi is ok and there are no quality issues.
    Very Strange!

  • Printing Behavior Between Versions And Platforms

    We have received some feedback regarding printing behavior between MAC OS and Windows. The application in question is Adobe line of products, mainly PhotoShop CS 4 and CS 5.
    The scenario is as follows: Customer has mixed platform environment with Adobe Suites installed i.e. Photoshop, Illustrator and so on. Our MFP has entering of credentials before printing enabled for auditing and controlling purposes. On the computer side (Printer Driver), we have configured toprompt the user for their User Credentials at all times. The reason for doing so is because the computers are in a public environment hence we would like to know who is printing and how much.
    The first problem is this: In Adobe Illustrator on Microsoft Windows, when the user selects to print, they are immediately presented with the printer dialouge box to enter their respective credentials to continue printing, but in MAC OS, this is not the case. On the MAC OS, the user has to select an additional button, "Printer...", then select "Print" again before being prompted to enter their credentials.
    Customer is puzzled as to why in Windows Adobe Illustrator, the number of steps required to print is lesser then in MAC OS Adobe Illustrator. Customer feels that there is inconsistancy in terms of behavior between the Mac and Windows platform.
    Secondly, in Photoshop CS 4, the same symptoms occurs as above, however, in CS 5, it is worse. In PS CS 5, after the user enters their credentials, the next time they reopen and create a new docucment, they no longer need to enter their credentials again as it is already "Saved" for them. This defeats the purpose of setting the printer to always prompt for user credentials when they print.
    I have taken this case up to the respective vendor thinking that it is a printer driver issue. However their reply came back stating that this is a specification of Adobe and Mac.
    Does anyone has any ideas about this?

    >> On the MAC OS, the user has to select an additional button, "Printer...", then select "Print" again before being prompted to enter their credentials.
    That sounds like your printer drivers are inconsistent on different code paths (carbon and cocoa), and saving the credentials in the print ticket instead of using them as one time authentication.  Yes, it could be that they are implementing the driver according to Apple guidelines (which just don't match what you want), or it could be a bug in the way they implement authentication in the driver.  This has little or nothing to do with the applications, which just query the driver for it's capabilities, then send data to the driver for printing.  Using different applications just exercises slightly different code paths in the driver.

  • Strange ZWSREG behavior

    We are in the middle of a rollout of about 300 new machines. (used sysprep in the image) The first 100 are doing something strange. They boot up get renamed and join the windows domain with their new name, but register with ZEN as the randomly generated Microsoft name. (usually someting like N-398477634379d979) I deleted the workstation object, unreged and rereged the computer, but it always reregisters with the randomly generated name. What gives? I found a TID that said this was fixed by an update on the latest desktop agent, but that I could work around it by deleting the incorrectly named object and waiting for the machine to reboot, However it still registers with the wrong name. Any ideas? Thanks.
    J. Daniel Treadwell

    But these are new computers. They should not have image safe data yet. I tried it, but got the same result.
    Originally Posted by Craig Wilson
    Try running ZISWIN -R when you unregister.
    My guess is that it's pulling the old info from Image Safe Data.
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Support Forums Volunteer Sysop
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.
    "jtreadwell" <[email protected]> wrote in message
    news:[email protected]..
    >
    > We are in the middle of a rollout of about 300 new machines. (used
    > sysprep in the image) The first 100 are doing something strange. They
    > boot up get renamed and join the windows domain with their new name,
    > but register with ZEN as the randomly generated Microsoft name.
    > (usually someting like N-398477634379d979) I deleted the workstation
    > object, unreged and rereged the computer, but it always reregisters
    > with the randomly generated name. What gives? I found a TID that said
    > this was fixed by an update on the latest desktop agent, but that I
    > could work around it by deleting the incorrectly named object and
    > waiting for the machine to reboot, However it still registers with the
    > wrong name. Any ideas? Thanks.
    >
    >
    > J. Daniel Treadwell
    >
    >
    > --
    > jtreadwell
    > ------------------------------------------------------------------------
    > jtreadwell's Profile: NOVELL FORUMS - View Profile: jtreadwell
    > View this thread: Strange ZWSREG behavior - NOVELL FORUMS
    >

  • Strange System.out.print behavior inside a for loop

    I'm trying to create a simple ASCII progress bar in the console that would display like this:
    |--------------------------------------------|
    ============================More equal signs would appear as time goes on. At least this is what I want to happen.
    Instead, what happens is, none of the equal signs are printed until the very end, after the for loop in which the System.out.print("=") statement is in, has exited.
    This is my code (probably more than necessary is shown, but the important part is the for loop):
        public void addSomeDiffys(int numOfDiffys, int minInt, int maxInt) {
            Diffy currentDiffy;
            System.out.println("\nCreating Diffys.");
            System.out.println("|--------------------------------------------|");
            for (int i=0; i < numOfDiffys; i++) {
                currentDiffy = new Diffy(minInt, maxInt);
                if ((i/(double)numOfDiffys)*100 % 2 == 0)
                    System.out.print("=");
                diffyList.add(currentDiffy);           
            System.out.println("\n" + diffyList.size() + " Diffys created.\n");
            System.out.println("Sorting according to highest rating...");
            Collections.sort(diffyList,Diffy.HIGHEST_RATING_ORDER);
            System.out.println("Done.\n");
        }I also tried changing the System.out.print("="); to System.out.println("="); This time it works as expected, its just not very pretty...
    I get something like this:
    |--------------------------------------------|
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =
    =So again, when I use println, rather than print, the equal signs are printed over time, slowly, as the progress increases. When using print, Nothing happens for a long time, and then suddenly they all appear after the for loop has terminated, which makes no sense.
    Thanks for any help.

    When using print, Nothing happens
    for a long time, and then suddenly they all appear
    after the for loop has terminated, which makes no
    sense.
    Yes it does make sense! The characters are buffered inside the PrintStream and written when there is a full line to write. You could try a flush() after each = is written but I have no confidence that it will make any difference.

  • Strange window behavior with CS5

    I have begun experiencing strange behavior with PS CS5. I should begun with the machine configuration: 2.66GHz iMac (8,1) Intel Core Duo with 4GB RAM and OSX 10.6.6, Radeon HD 2600 Pro graphics card. The initial symptom showed up suddenly as an inability to display an image window; that is, I could open PS normally, everything would show up properly, but when I opened an image file of any sort, there would be no image window. Other cues indicated that the file was open; for example, the window menu would show it selected, and the layers palette would show the file's layers.
    It did not seem to matter what type of file was involved: PSD, JPG, TIF, whatever. Occasionally, this behavior would begin during a session. Sometimes it would happen right off the bat. Sometimes, stopping and restarting PS seemed to clean things up; other times, this had no effect. After messing around quite a bit with different permutations and combinations, all I could say was that the problem was random.
    I might add that I've had PS CS5 on this machine pretty much since it was announced, and had not had problems with it before. So this issue came along quite suddenly a couple of weeks ago. This was a little after I'd installed an update for Nik's Viveza 2; and I began to suspect that. Although why Viveza should do such a strange thing was odd, and Viveza was never part of the files I was experiencing issues with. Anyway, I went back to an earlier version of Viveza and the problem persisted.
    Since I run Time Machine, I also went back to versions of the entire PS folder from a month back, and found the same problem. Along the way, I experimented with the files I was using with PS CS4 & CS3, which I also have installed on this machine. These two versions of PS run perfectly well. At least the CS4 version has precisely the same plugins as the CS5 folder, and this seems to discount the potential problem with plugins.
    To be sure about CS5, I completely deactivated, deinstalled, and reinstalled it. The same issues occurred. Now, I have to admit that I let PS run its update process so that I brought it back to the most recent version in this step of my troubleshooting. So, I can't be certain that the issue isn't with some update of CS5.
    I might add that I have been running CS5 in 32-bit mode, for compatibility with certain plugins. This may or may not be an issue, since I have limited experience with running in 64-bit mode. At this point, I should add a bit more about the confusing behavior.
    While messing around with CS5, I also suspected the GPU support, since my problem had to do with windows. When the problem presents itself, the usual cycle through window views that you get by pressing the "F" key seems to get messed up. In particular, the "F" key doesn't work at all. Next, if you use the View menu to select different views, the full screen with menu bar view will often have garbled pixels, while the full screen view will show a blank grey screen. Then, cycling back to a window view will show a window with blank grey contents. This is interesting since the starting point was no window at all; but going into full screen and then back will produce a window with bogus contents.
    Now, the next strange thing, having to do with the GPU, is that CS5 often fails to recognize the Radeon HD 2600 card. Oddly enough, it did originally. And I had it running in Basic mode. However, CS4 does recognize the GPU; and I can set it in any variety of modes: Basic, Normal, and Advanced. This behavior is not consistent at all either; that is, while CS5 almost always now fails to detect the GPU, sometimes it does. As near as I can tell, this failure to detect the card does not depend upon whether I start CS5 in 32-bit or 64-bit mode. OTOH, CS4 always recognizes the GPU.
    Another form of this odd behavior arises if I start CS5 cold, and then just open a new blank window. This almost always works. I get a blank white window, and I can paint on it with a brush, etc. However, if I go ahead at this point and open a file, then the new file takes over the window; and there are no tabs. If I select the original new file, usually labelled "Untitled", the window bar will show the change of filename but the window's contents and the layers palette will continue to show the old file that I had opened. Cycling through views can sometimes get back to the new Untitled file, but just selecting file windows never works.
    Yet another aspect of this messed up window behavior is that the workspace bar, which shows the Bridge, MiniBridge and view icons on the upper left and the various workspace options and CS Live on the upper right, is present but blank. OTOH, the tool bar is always displayed correctly, as is the horizontal bar that shows the various tool options. Likewise, the palettes for the workspace such as layers, swatches, adjustments, and so on, are always correctly displayed on the left.
    My next steps in trying to figure this out will be to ensure that I am running the latest of all plugins so that I can get everything running in 64-bit mode and try this again. However, the single factor that seems consistent in this whole mess is that whenever I do find this odd behavior, the performance preferences window will indicate that CS5 is not detecting the GPU. Whenever this happens, if I open up CS4 and check the same performance preference in it, the GPU is detected. I can have the two preference windows side by side on the screen in fact, CS4 sees the GPU and CS5 does not. The counter-indication is that sometimes CS5 will work properly and the preferences window still shows that the GPU has not been detected. Having said that, I can add that if I have opened up CS5, and it has found the GPU, and I have set it into, say, Basic mode, and then later found CS5 messing up, and I go back and check the performance preferences again, the GPU has always been lost. So, CS5 can mess up windows with or without the GPU detected and active; but when if it started with the GPU present, it will show up as lost after the weird behavior starts.
    To add one more observation, I have had Macs and other computers with failing GPUs. This computer is showing none of the typical signs of that. Every other program seems to be working just fine, and I have a lot of these, many graphics intensive; e.g., Corel Painter 11, Parallels v6 running Windows 7, PS CS4, Lightroom v3, Aperture v3, and so on. It is just CS5 that is messing up.
    I could load up this message with screen shots of all this nonsense, but I'm not sure what that would add to the strange tale, other than I'm not pulling your legs. I am, however, pulling out my own hair.
    As I stated before, this began quite suddenly a couple of weeks ago, early Feb 2011. My best guess as to cause is some combination of incompatible updates between CS5, OSX, and maybe some plugin or other. I found unusual behavior with onOne's FocalPoint v2 last year after Apple updated GPU drivers in some OSX update, and cratered that program. It took onOne a month or two to fix that. I have CS5 on a laptop with the same OSX version, and on that I haven't seen these issues; but then, I haven't been using it as intensely over there. Also, that machine has different CPU and GPU models than this iMac.
    So, to the community: is anybody else starting to see this odd stuff? Am I alone?

    Here's the reason I say that the same plugins exist for both CS4 & CS5. Sometime last year, the internal hard drive on this computer died (as they so often do), and it was replaced under the Apple care warranty. As a consequence, I decided to rebuild the OS and applications from scratch and bring back my user files from backup. I among other things, I reinstalled all of CS4 as well as CS5 (and I had to put CS3 back too for reasons having to do with printing calibration images for Quad Tone RIP). Then, I went to reinstall the plugins that I needed. I use Nik Software, onOne, Portrait Professional and various Topaz plugins. To my recollection, most of these install in PS CS3, CS4, CS5, Aperture, and Lightroom. In short, it is not that I've copied or moved plugin folders from one application folder to another, just that the installers automatically detect the presence of the various applications and put the various plugins into each, as appropriate.
    The only 32-bit plugins that I have that don't fit into this category are from Vincent Versace. He provides special versions of certain Nik plugins (Tonal Contrast, Contrast Only, etc) that function with some Acme Educational extensions for performing B&W conversion, sharpening, blah blah blah. These plugins are only 32-bit and the extensions are only CS5 compatible. I've installed these ones only into CS5; so, you've got me. OTOH, I've had these from Vincent as soon as CS5 was available; and they've worked so far without problems. Perhaps I should just edit the extensions so I could use the latest plugins direct from Nik instead of the Versace special editions...
    I've checked fonts and repaired permissions. I am presently going through the rather tedious process of disabling plugins and extensions to see if anything yields consistent results. The rather random arrival of the strangeness makes ensuring that a change is really having an effect more difficult to validate, as you will appreciate.
    I apologize for my long-winded original post. I add all of the detail so that anyone who'd experienced similar strange behaviors might properly pattern-match what they were seeing. On the one hand, in finding the cause of a problem, you look for what's changed; and theoretically nothing is new. On the other hand, there's always so much changing behind the scenes with automatic updates of this, that, and the other thing that it's impossible to make the claim that nothing's new. 

  • "Print" to pdf function missing in Word and other strange print behaviour

    I'm trying to narrow down an issue I'm having with printing. I just noticed that the ability to creat a pdf in Word (print -> save as pdf) has disappeared. The button is now gone for some strange reason. I also noticed when trying to print a Keynote outline, when selecting ColorSync (print -> copies and pages [click and select ColorSync]) all my choices are gone (grayscale, b&w, etc.). Something's obviously wrong, but is it my printer software (HP 7310 aio) or OSX? My guess is the two issues are tied together.
    Also, I haven't added any new software to my computer and all software updates have been installed.
    Thanks in advance for any help!

    I have no idea whether this will help you or not, but IF some system software somewhow got corrupted, it should help.
    1. Download either OS 10.4.10 COMBO update for Intel or OS 10.4.10 COMBO update for PPC
    2. Run disk Utility Verify Disk
    3. Run Disk Utility Repair Permissions
    4. Reinstall OS 10.4.10 from the combo installer that you downloaded in (1).
    5. Run Disk Utility Repair Permissions
    6. Run  Software Update to make sure you have all the security patches that were released since the COMBO update was released.
    7. If you got downloads in (6), run Disk Utility Repair Permissions
    8. See whether you are working now

Maybe you are looking for

  • How do I block my roommate's apple tv from connecting to my macbook pro?

    My roommate now has an Apple TV and it is connecting to my macbook pro. Is there a way to completely block the signal and get rid of the apple tv icon on my mac? At first I didn't know what the new icon was on my menu bar, so I opened it up to see if

  • OC4J shuts down servlet in web-app A during deployment of web-app B ?!

    Hey all, We have a web-app A deployed to OAS 10g that contains a servlet with <load-on-startup> set to 2. This servlet loads fine when the app is deployed. However, when we deploy web-app B to our server, we notice in the logs that the destroy() meth

  • How can I get login.c, passwd.c command source code in Solaris 8.0 ?

    Hi, Everybody, How are you doing? I have lots of questions. Q1) I can't rebuild kernel of Solaris 8.0 source. If someone has an answer, would you give it to me ? It will help for me. Q2) In addition I want get login.c and passwd.c command source. I u

  • Unmatched report issue

    Hi, This is regarding AS400 resource. There are some IDs which are having account on AS400 system but they do not exist in IDM. But, the issue is that, they do not show up in unmatched report which we get when we see the reconciliation status/history

  • RV042 v4.2.2.08 problem connecting to ISP with WAN Connection Type PPTP

    Hi, I have an issue with an RV042V3. It does not connect to my ISP with PPTP connection type and username 'comsulting/[email protected]' , pwd 6 digit alphanumeric. Using the RVS4000 or the old RV082V2 with firmware 2.0.2.01-tm, the WAN PPTP connecti