You Are Here:

Community: Developer Discussion Boards

#1 Old Can I print a text directly from Java in the Nokia 9210? - 2002-05-25, 04:13

Join Date: Mar 2003
Posts: 2,428
Nokia_Archive
Offline
Super Contributor
I would like to print a text from a Java program installed in the Nokia9210 to a printer by IR.

Printer is Citizen PD-04
Communication between printer and Nokia 9210 is working properly because I can print a text from a PDA Word document.

I've tried printing from the Java program using the code JDK1.1.x compliant.
The code is :

"
PrintJob pj= f.getToolkit().getPrintJob(f,"print1",null);
if (pj!=null)
{
Graphics g=pj.getGraphics();
g.setFont(new java.awt.Font ("Dialog",0,8));

g.drawString("TEXT EXAMPLE",10,20);

g.dispose();
pj.end();
}
"

The program works in the PC (the System Print Chooser Dialog appears and the print is correct) but it doesn't work in the Nokia 9210.

Is there any specific library needed? Is there anything wrong? Is it possible to do what I want?

Posted by Oscar Soria, Oscar.Soria@db.com
on April 03, 2002 at 10:00

#2 Old RE: Can I print a text directly from Java in the Nokia 9210? - 2002-05-25, 04:13

Join Date: Mar 2003
Posts: 2,428
Nokia_Archive
Offline
Super Contributor
Posted by Adam Stevenson, adam.stevenson@ntlworld.com
on April 03, 2002 at 12:05

Printing is an omission in Symbian's Personal Java AWT implementation.
  « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d2595X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZjavaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxjavaX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ