aspose file tools*
The moose likes Java Micro Edition and the fly likes Infrared printing from Siemens C65 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Infrared printing from Siemens C65" Watch "Infrared printing from Siemens C65" New topic
Author

Infrared printing from Siemens C65

Daniel Gazineu
Greenhorn

Joined: Nov 09, 2004
Posts: 2
Hello members!

I have a Siemens C65 and I am trying to create a MIDlet to print text data from it infrared.

My first question, is it possible? :-)

I had created a test MIDlet that ask the "microedition.commports" to know the COM port names. When I run this MIDlet in SMTK emulator, the response is "COM0,COM1", but, when I try to run it on the real device, only "COM0" is returned.

Then, when I try to run my application that try to connect to COM0 using this code:

CommConnection cc = (CommConnection)Connector.open("comm:COM0;baudrate=19200");

The application stop working and show me the message "Connect the accessory!".

I guess that this COM0 port is the USB or Serial port of the device and the IrDA port is disable. But, how to enable this port for J2ME applications?

Anybody with any help for me?

Thank's for all.

[]'s

Daniel Gazineu
[ April 15, 2005: Message edited by: Daniel Gazineu ]

SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Infrared printing from Siemens C65