• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

printing in j2me

 
Kobe Phenom
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i would like my mobile application to print information. can anyone help me how i would be able to do that or give me an example? thanks in advance.
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For network printers, you can open a socket connection directly from the MIDlet to the printer and send print commands through the network. The "print commands" can be either in the PCL or PostScript language, depending on your printer.
For most PCL printers (HP models), if you just send text through the socket, it will print plain text.
I am not aware of generic printing toolkits under MIDP. Does anyone know?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic