Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
Posts: 6
Registered: ‎03-18-2013
My Device: BOLD 9000
My Carrier: TELKOMSEL
Accepted Solution

(Help) Need Simple Code For Print "Bluetooth Printer Blue Bamboo"

hi masters, i need sample code for print in Bluetooth Printer BLUE BAMBOO, big thanks for all 

Developer
Posts: 19,621
Registered: ‎07-14-2008
My Device: Not Specified

Re: (Help) Need Simple Code For Print "Bluetooth Printer Blue Bamboo"

The most likely people to help you with this is the manufacturer.  Have you checked with them?

New Contributor
Posts: 6
Registered: ‎03-18-2013
My Device: BOLD 9000
My Carrier: TELKOMSEL

Re: (Help) Need Simple Code For Print "Bluetooth Printer Blue Bamboo"

problem solved with code

 

btn_test.setChangeListener(new FieldChangeListener() {
			public void fieldChanged(Field field, int context) {
				try{
					
					String text = DeviceInfo.getDeviceName();
					String text2 = DeviceInfo.getManufacturerName();
					String text3 = DeviceInfo.getPlatformVersion();
					String text4 = DeviceInfo.getSoftwareVersion();
					String Hasil = "Device Name: Blackberry "+text+"\n"+
								   "Manufacturer: "+text2+"\n"+
								   "Platform Version: "+text3+"\n"+
								   "Software Version: "+text4+"\n"; 
					_dout.write(Hasil.getBytes());
					_dout.flush();
					_dout.close();
				}catch (Exception e) {
					// TODO: handle exception
					Dialog.alert("Gagal Melakukan Test Print");
				}
			}
		});