Color Printing in java

Can any one guide me to print colored characteres in System console?.
I am starting many processes in my application and i want to show green OK for successfully started processes and i want to show red FAILED for failed processes.
Please let me know is the above could be possible with java?
Any help will be greatly appreciated.
with regards,
Kumar

Hai JSalonen,
Could you please let me know where can I find those escape sequences?. If they are platform dependent, then is there any special reason for not getting them in java standard libraries?
Please help.
with regards,
Kumar

Similar Messages

  • Java update causes problems with color printing in Mac 10.5

    Had a big problem with color printing for the last two weeks. Thought the printer was broken because it would freeze and refuse to be "seen", or would generate error messages. Bought new Samsung 315, and had the SAME problem. Bought new HP CP1518ni, and had the SAME problem. Not resolved after talking to tech support at both places.
    Looked for software updates around the time of the onset of printing problems. on May 15 installed "Java for Mac OS X 10.5 update" (1.0) (am running on 10.5.8). Removed the Java preferences files (com.apple.java......plist) and restarted.
    Problem solved! Clearly not the printer.

    Hmmm. This is about the time my printer stopped printing too. I've now had two printers in my house and had trouble with both of them. What a pain we should not have to delete updates for our stuff to work together.
    Renee

  • Configure client printer in java.awt.print

    I have number of records in database.
    If User clicks on PRINT button (ON A JSP PAGE)each record should be printed(ON CLIENT PRINTER) on a separate sheet.
    I can only able to access printer connected to server not to client.
    I am using javax.print and java.awt.print packages

    I am not sure this..
    Instead of if pls give while and check:
    try{
    while(rsValue.next()) {
    g.setFont(fntHeading);
    g.setColor(Color.red);
    g.drawString("Main Report",200,100);

  • XML Printing from Java

    I have an urgent request from my company's client to implement a feature of printing in our application.
    Actually the application is basically an XML Builder which generates XML code at the backend, something like Dreamweaver.
    I have no clue about printing in Java, and have not much time to research on this topic. If anybody have a program to send an XML file to print (Color printing if possible), please post here or email me at [email protected]
    Any help in this regard is highly appreciated (Dukes Dollars also available).
    Thanks
    Raheel

    I realize you're under time pressure, but this link may be of assistance: Printing in Java, Part 1: Acquaint yourself with the Java printing model

  • HT3669 I have an HP deskjet color printer that only prints in black and white from my mac ... how do I get it to print in color

    I have an HP deskjet color printer that only prints in black and white from my mac ... how do I get it to print in color

    Check the printer itself.  Some printers you need to set the color & B&W settings on the printer itself instead of the Mac.   If that is not the case w/your printer, contact HP tech support and/or post in their forums if they have one. 

  • I am using Aperture 3 to edit RAW and JPEG photo images on my Macbook.  I am having color printing issues with my Canon MP640 Pixma color printer.  The image I see on my macbook is not reciprocated in printing from my printer?

    My issue is that I am not getting print quality compared to the image I see on my screen.  Just recently it has been very wishie washie.  My printer is supposed to be excellent for producing color prints
    I have contacted Canon support but they told me that the signals that are sent to the printer originate from an Apple product, therefore, it is an Apple mac problem not there's.  I am wondering if my on screen proofing and/or printing profiles are correctly set.  I notice that in 'print profiles' there are nine different options for printing from my particular printer.  How confusing is that? 
    I have also found that when I choose a high standard print option my photo print comes out very red. 
    Can some kind person please help me?  I don't seem to be getting any help from anyone else!  Thanks in anticipation.

    You didn't mention any color calibration being done on your monitor.  This is an essential part of any color-correct workflow.  What are you using to calibrate your monitor (and your printer)?
    Print profiles (for soft-proofing as well as printing) are for specific combinations of paper & printer.  The nine you have are each, most likely, for a common paper (perhaps mfr'd by Canon) to be used with your printer.
    I don't know what you mean when you say "I choose a high standard print option".
    Have you read the User Manual chapter on printing?
    Printing Your Images
    There is also a good appendix on calibration:
    Calibrating Your Aperture System

  • How to configure ePrint on LaserJet CP1025nw Color Printer

    Solution found:
    How to Configure HP ePrint on the LaserJet CP1025nw Color Printer
    System:     Windows  (Widows 7)
    Step 1 – Install Printer
    Install the CP1025nw Printer to USB, Wifi or Ethernet.
    (Printer needs to print correctly in order to pass to the next steps).
    Step2 – Check Firmware Version
    Press the “Info-Button” on the CP1025nw LaserJet for five seconds.
    The printer will print two info pages.
    Look at the first Page on the top-left for Firmware Version
    Firmware version must be 20120103 or higher.
    Step 3 – Update Firmware
    Download Firmware Update utility (LJCP1020_FWUpdate_signed.exe) from the following link:
    Utilidad de actualización del firmware de HP LaserJet CP1025nw
    or
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=lj-86491-5&cc=es&dlc=es&lc=es&...=
    Execute the Utility on the computer were the CP1025nw LaserJet is correctly installed.
    Find the CP1025nw Printer on the list. The selection Window might show the printer several times depending on how the printer was installed. Select one option and press the button “Update One”.
    Step 4 – Retrieve the Printer Code for your CP1025nw Printer
    ATTENTION:
    The “Host Name” of the printer is not the “Printer-Code” you need  for ePrint setup.
    To retrieve the Printer-Code you must run the ePrint-Setup-Wizard-Utility.
    To download of the utility, go to the link: http://www.hp.com/go/ePrint .
    Find the “HP LaserJet Pro CP1020 Color Printer Series” option in the Drop-Down-List.
    Click “Windows” to download the wizard (EPrintSetupWizard.exe ).
    Execute the Wizard on the computer where the CP1025nw Printer is correctly installed. After running the wizard press the “Info-Button” on the CP1025nw LaserJet for five seconds. The printer will print three info pages. The third info-page offers the Printer-Code you need for ePrint setup. The code is valid for 24h only. When time elapses you have to reprint the info-pages to get an actualized Printer-Code.
    Step 5 – Get Printer Email for your CP1025nw LaserJet
    In order ePrint on your CP1025nw Printer you need to assign an email address to your Printer. To do this, go to the following link: http://www.hpeprintcenter.com/
    Log in with your HP-ID. If you don’t have one, register for a new account.
    When logged in, click on “Add new Printer”-button. You will be asked to enter the Printer-Code. (On how to get the Printer-Code, see step 4).
    While evaluating the Printer-Code, be patient, the program needs its time.
    When the Printer-Code is accepted, you can assign an email address for your CP102nw5 LaserJet. Done this, your con print your CP1025nw Printer just by sending the documents per email to the email-address of your printer.
    Done.

    Hi Max, check out the link below...
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?cc=us&lc=en&dlc=en&product=4052972
    Hope this helps
    Ciara
    Although I am an HP employee, I am speaking for myself and not for HP.
    Twitter: @Ciara_B_HP

  • HP LaserJet Pro 400 color Printer M451dn won't print

    My HP LaserJet Pro 400 color Printer M451dn stopped printing after a short usage of non hp toner. How do I get this printer to accept these toner cartridge ? My 3600dn never has a problem

    If you are using non-HP toner cartridges, then I would say that the onus is on the supplier of these to resolve the problem.
    Or to accept that these cartridges aren't quite as compatible as they've no doubt been advertised to be.

  • HP Laserjet Pro 400 color printer M451dn Driver needed

    I need to install an HP Laserjet Pro 400 color printer.  When I plug in the USB - it provides a driver which I can open and get to the install process -  The process takes me to the point of plugging in the USB and starts to install.
    After 10 minutes and getting to 99% complete the install stops because it is taking to long.
    I have searched for the driver on the web site but when I click on the printer name - the HP web site goes into an
    Internet Explorer cannot display the webpage
    Need help with installing this printer - this printer is only available to me by USB

    If you are using non-HP toner cartridges, then I would say that the onus is on the supplier of these to resolve the problem.
    Or to accept that these cartridges aren't quite as compatible as they've no doubt been advertised to be.

  • Getting Darker Blacks from My HP LaserJet Pro CP1525nw Color Printer

    Hi. I own an HP LaserJet Pro CP1525nw Color Printer and am on a Windows XP system. For regular printing, it works great. However, for some graphic work I am doing, I can not get the blacks to print out dark enough. I can not find any settings on the print properties panel that would allow me to set a darker black coverage. Anyone have any suggestions?

    Hey,
    I see you are having an issue with Air Print on your CP1525nw Color Laserjet Pro.  Have you tried a full network power cycle?
    Unplug the router and printer while on
    Power down the iOS device completely.  Check out the following link for how: http://ipod.about.com/od/iphonehowtos/qt/turn_off_​iphone.htm
    Wait 30 seconds
    Power the router up and wait for it to completely initialize before proceeding
    Power the printer up and wait for it to completely initialize before proceeding
    Power the iOS device back up
    It sounds like the network most likely lost communication with the bonjour service of the printer.  
    If you need to update the firmware of the CP1525nw please click the following link: http://h10025.www1.hp.com/ewfrf/wc/softwareDownloa​dIndex?softwareitem=lj-86473-9&cc=us&dlc=en&lc=en&​...
    Let me know how it goes.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • LaserJet Enterprise 500 color Printer M551 walk up usb printing

    We have a few  LaserJet Enterprise 500 color Printer M551 that we use with walk up usb printing.
    the problem is that somtimes when a document is saved directly on the usb drive you get two files called "documentname.pdf" and "._documentname.pdf", now the hidden file is normaly a few kb in size and no problem exept it shows up as the first documents on the printer and this makes the printer spew out random characters,
    is there a way to make the printer not show hidden files?
    (model number: CF082A)

    I am sorry, but to get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial printer. You can do this at http://h30499.www3.hp.com/hpeb/
    I hope this helps.
    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!
    Gemini02
    I work on behalf of HP

  • HP Color Laserjet CM1015 MFP prints colors looking like 3D while single colors print fine.

    HP Color Laserjet CM1015 MFP prints colors looking like 3D while single colors print fine.  I have tried several calibrations with no change.  I have reset printer to factory default with no success. 

    Hi AFace; hope you are doing well and sorry to hear that you are having this issue.  
    Your HP Color Laserjet CM1015 MFP is a commercial product. I will suggest posting and looking in the forum for HP Business Support for a better chance at finding a prompt solution.
    You may find the commercial Laserjet board here.
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
    Thanks;
    RobertoR
    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

  • HP Color LaserJet CP1215 - Color printing - Page prints yellow background

    Good morning --- I don't believe I have posted to this forum before, so I hope someone can help me solve this issue. 
    My CP1215 color LaserJet -
    printing pref set to color-
    printing a document with colored icons, etc. or color photograph
    Results: the "background" or what should be the white area, is yellow - bright yellow.  
    If I switch printing pref to B/W, I get a black/white document or photo.  Of course, no color.
    I have replaced the yellow toner cartridge (HP product) TWICE, the second one just this morning.
    There are NO error messages.
    Tried running the cleaning tool; disconnect/reconnect, etc.  No luck.
    I gave up trying to solve this issue 2 years ago, and have kept the pref set to black/white with no tech issues.
    Now, however, I have the need to print in color, and I would really like to figure out how to correct this problem.
    This printer is a monster - ~30 lbs or more, and I would rather not have to haul it to a computer shop or ship it.
    If anyone out there has had this problem, please let me know how/if you were able to resolve it.  Many thanks.
    Susan - Threecats

    Hi Threecats
    I understand when you print in color you are getting a yellow background.
    I have included a document for troubleshooting the all yellow background printing.
    Print out a configuration page from Solution eight first. This document  will provide steps for cleaning and calibrating the printer. The Print quality troubleshooting page will identify the print cartridge that is causing the issue.
    Let me know the results when you compare it to the one in the document and if the background printed yellow again. Also the Print quality troubleshooting page results.
    What kind of paper are you using?
    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!
    Gemini02
    I work on behalf of HP

  • HP LaserJet Pro CP1525nw Color Printer with Apple iPad & iPhones

    I have an HP LaserJet Pro CP1525nw Color Printer that I've successfully used as an "air print" device to print from both iPhones and iPads.  For some unknown reason, I can't print from iPhones and iPads anymore.  Is anyone else experiencing this problem?
    Is this a result of Apple most recent iOS upgrades?  Everything was working with iOS 6.0.x and seems to have stopped working with iOS 6.1.x.
    I "think" I'm try to determine what I need to upgrade (printer firmware or iOS device firmware . . . or both).
    Thanks in advance.

    Hey,
    I see you are having an issue with Air Print on your CP1525nw Color Laserjet Pro.  Have you tried a full network power cycle?
    Unplug the router and printer while on
    Power down the iOS device completely.  Check out the following link for how: http://ipod.about.com/od/iphonehowtos/qt/turn_off_​iphone.htm
    Wait 30 seconds
    Power the router up and wait for it to completely initialize before proceeding
    Power the printer up and wait for it to completely initialize before proceeding
    Power the iOS device back up
    It sounds like the network most likely lost communication with the bonjour service of the printer.  
    If you need to update the firmware of the CP1525nw please click the following link: http://h10025.www1.hp.com/ewfrf/wc/softwareDownloa​dIndex?softwareitem=lj-86473-9&cc=us&dlc=en&lc=en&​...
    Let me know how it goes.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • Is there any way to fix the "Fatal Error" that my HP LaserJet CP1525nw color printer is having?cc=us

    I am getting a "Fatal Error" when I am trying to install my HP LaserJet CP 1525nw color printer on my new wireless network (using the CD). Anybody have an idea how to fix this?

    Take it in for service.

Maybe you are looking for