Printing in java? Does anyone know how?

Um ......cant seem to find any tuorials on printing in java.
Does anyone know how. I have a bit of text in a JTextArea that i just wanna print directly to the printer. No hassles.

If you're trying to print in JDK 1.2 or 1.3 there is an online tutorial here:
http://java.sun.com/products/java-media/2D/forDevelopers/sdk12print.html
Things have drastically changed for Java 2, JDK 1.4, and the new printing API/User guide can be found here:
http://java.sun.com/j2se/1.4/docs/guide/jps/
I have been having trouble with the locating printservices with the jdk 1.4, but it is still in BETA, so that could be the problem.

Similar Messages

  • TS1135 i upload iPhone pics to Shutterfly, which gives me a "low resolution" warning and the prints come out blurry. does anyone know how to increase resolution of iPhone pics?

    i upload iPhone pics to Shutterfly, which gives me a "low resolution" warning and blurry prints. Does anyone know how to enhance resolution/printing quality of iPhone pictures?

    How does iPhoto play a part in this?  You're in the iPhoto forum.  Shouldn't you be asking your question in the iPhone forum?  I'll ask the powers to be to move you question to the iPhone forum.
    OT

  • I upload iPhone pics to Shutterfly, which gives me a "low resolution" warning and blurry prints. Does anyone know how to enhance resolution/printing quality of iPhone pictures? iPhone 5

    i upload iPhone pics to Shutterfly, which gives me a "low resolution" warning and blurry prints. Does anyone know how to enhance resolution/printing quality of iPhone pictures?
    iPhone 5

    How does iPhoto play a part in this?  You're in the iPhoto forum.  Shouldn't you be asking your question in the iPhone forum?  I'll ask the powers to be to move you question to the iPhone forum.
    OT

  • My iMac is connected to a Brother printer. I have Snow Leopard 10.7.3 As of yesterday, when I try to print a PDF it prints as a blank black page. Does anyone know how to correct this so that the PDF will print as I see it on screen?

    My iMac is connected to a Brother printer. I have Snow Leopard 10.7.3 As of yesterday, when I try to print a PDF it prints as a blank black page. Does anyone know how to correct this so that the PDF will print as I see it on screen?

    If you are running Mac OS X 10.7.3 then you have Lion installed, not Snow Leopard. It's probably not important to this discussion, but something you should be aware of.
    What application are you printing the PDF files from? Have you tried opening the PDF file using the Preview application that can be found in the Applications folder? Does the issue still occur? Have you tried other PDF files from a different source?
    Another poster in the following discussion thread reported that this method resolved their black blank PDF issue when viewing (and presumably printing) PDF files from Safari.
    https://discussions.apple.com/thread/3890509?start=0&tstart=0
    This solved my question by mcbuffy  on Apr 20, 2012 11:29 AM 
    There's a solution if you want to see the PDF inside Safari's window :
    Go to the folder : Your Hard Drive / Library / Internet Plug-ins.
    If you see a file with PDF in its name drag it to the trash.
    Quit and restart Safari to test with a PDF.
    If it works you can empty the trash.

  • Does anyone know how to print a text message from a bill?

    Does anyone know how to print text messages from a phone bill or view them?

    There might third party apps or iTunes or iCloud options to backup the text messages from the Apple phone itself. Then you can print the contents of the messages from the backup.
    There are similar applications for Android devices as well.

  • HT1338 I have an HP Printer/scanner, and since upgrading to Mountain Lion I can no longer scan on my HP.  HP tells me that I can get an upgrade app from 'Apple Software Upgrade' .  Does anyone know how to do this?

    I have an HP Printer/scanner, and since upgrading to Mountain Lion I can no longer scan on my HP.  HP tells me that I can get an upgrade app from 'Apple Software Upgrade' .  Does anyone know how to do this?

    HP couldn't find its own apps with both hands and a flashlight.
    As of Lion all scanning functions are incorporated natively in OS X. You can scan three ways:
    Use Preview: File > Import from scanner
    Use Image Capture
    (Preview and Image Capture are both in your Applications folder.)
    System Preferences > Print & Scan. Select your HP and use the Scan tab.
    If you have HP's "Image Zone" software installed, you no longer need it and it no longer works anyway.

  • HT4356 I have two printers on my network.  Does anyone know how to change the printer nomenclature - Officejet Pro 8600  (0B54AF) to a recognizable name...like Brad's Office?

    I have two printers on my network.  Does anyone know how to change the printer nomenclature - Officejet Pro 8600  (0B54AF) to a recognizable name...like Brad's Office when you use Airprint?

    You would have to change that in the printer's settings on the printer, if that option is offered by the manufacturer. The iPhone just finds printers on the network and uses the name they have given themselves or that were given to them when they were set up.

  • HT1338 does anyone know how to get Java for OS X Mountain Lion working?

    I updated to OS X Mountain Lion and some of the game at (Pogo.com) that use Java are not working. Does anyone know how to fix this? Thanks in advance

    Open up Java Preferences and it will offer to download and install Java for you.
    Otherwise you can open up a Terminal and type:
    java -version
    Which will do the same thing.

  • Epson Artisan 810 in duplex printing, reverses the second page, so that it is upside down in relation to the first page. Does anyone know how to set the second page i.e the reverse side of the page, in the correct direction?in the

    Epson Artisan 810 in duplex printing, reverses the second page, so that it is upside down in relation to the first page. Does anyone know how to set the second page.... i.e the reverse side of the page.....in the correct direction?
    It worked perfectly last week, now there are problems.
    Thanks for any advice.

    Epson Artisan 810 in duplex printing, reverses the second page, so that it is upside down in relation to the first page. Does anyone know how to set the second page.... i.e the reverse side of the page.....in the correct direction?
    It worked perfectly last week, now there are problems.
    Thanks for any advice.

  • Does anyone know how to reload Java SE 6 back into Lion until Apple and Oracle get it together?

    Does anyone know how to reload Java SE 6 back into Lion until Apple and Oracle get it together?

    See the following, with all of its caveats:
    http://managingosx.wordpress.com/2013/01/31/disabled-java-plugins-xprotect-updat er/
    For what it's worth, I am not using this method, nor am I re-enabling Java until Oracle comes out with a fix. I also won't be available to advise you on troubleshooting this method.

  • I recently bought an Epson Artisan 837 printer. I installed the driver and now Photoshop from CS3 will not open. It quits when the Twain portion of the program starts loading. Does anyone know how to fix this so my printer will work with Photoshop??

    I recently bought an Epson Artisan 837 printer. I installed the driver and now Photoshop from CS3 will not open. It closes every time it gets to the point where it is loading the Twain portion. Does anyone know how to fix this so my printer and Photoshop will work together? Thanks for any help I can get!

    You're welcome. 
    But, no, don't look to  Epson for fixes to their  driver in newer versions, and Adobe has deprecated the TWAIN plug-in.  Hoping for a solution there is futile.  That has not happened and it's never going to happen.  The consensus is that it's pretty foolish to tie up Photoshop to scan.  Honestly.
    Any improvement in the behavior of newer versions of the Epson drivers in that regard would be pure coincidence.
    You need to understand that you never, ever scan "within" Photoshop, as Photoshop has no scanning capabilities whatsoever.  When you use the Import > Twain plug-in all you are doing is blocking Photoshop while you call up the stand-alone Epson scanning software.  If you think about it, its most inefficient.
    VueScan has a pretty powerful scanning plug-in that can be called from the Impost menu—if you insist.  VueScan is not free, but it's a pretty good value, IMO.
    As for the Epson CD printing software, I have no clue.  Sorry. 

  • When I try to print a 4X6 photo using Elements 12 it prints out 2X3.  Does anyone know how you can get hold a live person at Adobe?

    When attempting to print a 4X6 photo using Elements 12 it prints out 2X3.  Does anyone know how you can get hold of a live person at Adobe?

    I've never done a forum and am not exactly sure what to do from here.   I
    know how to do a screen shot on my phone, but not on my computer. 
    I'm about ready to throw every adobe product I have out the window!   If
    you purchase a product you should be able to get support from the  company.
    In a message dated 4/6/2015 3:04:02 P.M. US Mountain Standard Time, 
    [email protected] writes:
    When  I try to print a 4X6 photo using Elements 12 it prints out 2X3.  
    Does anyone know how you can get hold a live person at Adobe?
    created by Peru Bob (https://forums.adobe.com/people/Peru+Bob)  in 
    Photoshop Elements - View the full  discussion
    (https://forums.adobe.com/message/7412463#7412463)

  • Does anyone know how to print from my pad to my desktop?

    does anyone know how to print from my pad to my desktop?

    A desktop is not a printer. Your question is not clear. Explain what you are trying to do.
    iOS AirPrint Printers  http://support.apple.com/kb/HT4356
    How to Print from Your iPad: Summary of Printer and Printing Options
    http://ipadacademy.com/2012/03/how-to-print-from-your-ipad-summary-of-printer-an d-printing-options
    Print from iPad / iPhone without AirPrint
    http://ipadhelp.com/ipad-help/print-from-ipad-iphone-without-airprint/
    How to Enable AirPrint on a Mac and Use Any Printer
    http://ipadhelp.com/ipad-help/how-to-use-airprint-with-any-printer/
    iPad Power: How to Print
    http://www.macworld.com/article/1160312/ipad_printing.html
    Check out these print apps for the iPad.
    Print Utility for iPad  ($3.99) http://itunes.apple.com/us/app/print-utility-for-ipad/id422858586?mt=8
    Print Agent Pro for iPad ($5.99)  http://itunes.apple.com/us/app/print-agent-pro-for-ipad/id421782942?mt=8   Print Agent Pro can print to many non-AirPrint and non-wireless printers on your network, even if they are only connected to a Mac or PC via USB.
    FingerPrint turns any printer into an AirPrint printer
    http://reviews.cnet.com/8301-19512_7-57368414-233/fingerprint-turns-any-printer- into-an-airprint-printer/
     Cheers, Tom

  • Does anyone know how i can embed a browser in my JFrame?

    In microsoft technologies they have OLE, where I can embed Internet Explorer into any application written in VB or C++ (or C Sharp).
    Does anyone know how I can do this with Java? Is there a way to make a java applet that has a browser in it?
    And then if there is, can I also put an invisible layer on top of that, and paste JLabels and stuff into that, over the browser window?

    Have a look at JEditorPane.
    From the API Guide:
    A text component to edit various kinds of content. This component uses implementations of the EditorKit to accomplish its behavior. It effectively morphs into the proper kind of text editor for the kind of content it is given. The content type that editor is bound to at any given time is determined by the EditorKit currently installed. If the content is set to a new URL, its type is used to determine the EditorKit that should be used to load the content.
    By default, the following types of content are known:
    text/plain
    Plain text, which is the default the type given isn't recognized. The kit used in this case is an extension of DefaultEditorKit that produces a wrapped plain text view.
    text/html
    HTML text. The kit used in this case is the class javax.swing.text.html.HTMLEditorKit which provides html 3.2 support.
    text/rtf
    RTF text. The kit used in this case is the class javax.swing.text.rtf.RTFEditorKit which provides a limited support of the Rich Text Format.

  • My keyboard is no longer lighting up on my macbook pro...does anyone know how to fix this issue manually?

    My backlight on my macbook pro unibody is not working. The lights do not come on. Does anyone know how to fix this manually? Im also missing screes to the back of my computer holding it in shape. My battery needs to be replaced as well. How do i do all of this? Id also like to replace my RAM.

    For the keyboard backlight:
    Have you tried pressing the "lights on" F-key, that has like a half-round rays of light over a bar symbol (currently F6 on my Mac, but may be different on other models)? If it doesn't work, does anything show on the screen?
    If a crossed-out symbol pops up onscreen when you press the F-key, that means that automatic keyboard lighting is enabled and the Mac thinks surroundings are too bright already. Go to System Preferences / Keyboard and uncheck the "Automatically illuminate keyboard..." item, then try again.
    For the screws:
    Visit www.powerbookmedic.com or www.ifixit.com and see in their Mac parts section for a replacement screw set. You will need to know your Mac's model, printed on the bottom lid, to ensure you get the correct parts for that particular computer.
    For the RAM:
    While in either of the two places I mentioned above, visit their How-To / DIY section for instructions on how to replace RAM on your Mac. Then visit www.crucial.com, www.corsair.com, www.kingston.com, www.otherworldcomputing.com or any other RAM maker, use their RAM advisor together with your Mac's model to select the correct RAM upgrade kit for your Mac.

Maybe you are looking for