Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Printing in java

Posted on 2005-03-23
Medium Priority
Last Modified: 2008-03-06

Is well known visual c++ MFC uses Device Context (CDC) for drawing text or graphics to a screen or a printer. One can print text using x,y coordinates (eg: dc.DrawText, dc.TextOut, etc) that it indicates where must be printed on page. How can I do for open a printer device and for sending text, jpeg or bmp images?

Question by:accarvajal

Accepted Solution

Bob_Everard earned 100 total points
ID: 13628954
There's an excellent 5-part tutorial on JavaWorld by Jean-Pierre Dubé.

You'll find it at http://www.javaworld.com/

You'll have to search the archives to find it, but it describes pretty well  how to achieve printing in Java.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month15 days, 20 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question