?
Solved

Printing in java

Posted on 2005-03-23
2
Medium Priority
?
249 Views
Last Modified: 2008-03-06
Hi!!

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?

thanks
0
Comment
Question by:accarvajal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
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.
0

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month11 days, 7 hours left to enroll

752 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