public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Николай Комаров" <k1sk@yandex.ru>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] printing with blueZ on Maemo (Nokia N800)
Date: Fri, 20 Jul 2007 18:09:46 +0400	[thread overview]
Message-ID: <713121184940586@webmail17.yandex.ru> (raw)

Hi!

I need to make it possible to print documents via Bluetooth on the

Nokia N800 device (based on ARM with Debian-like OS installed, see

http://maemo.org/development/ for developer details).

There are these libs in the system: bluez-cups 3.7osso11,

bluez-hcidump 1.36-0osso1, bluez-utils 3.9-osso4 , bluez-utils-test

3.9-osso4. ( http://tablets-dev.nokia.com/3.2/content_comparison.html )



First of all, I assured that the printer is visible from

N800:

I perform 'hcitool scan --scan' under root console and see

this printer with its BD address, name, and class.



I found a code example (in Python, here:

http://wiki.bluez.org/wiki/HOWTO/SerialConnections) that

allows communicate to the printer using SPP. I have Python

installed, so I run the example script (I called file

dbus.py) and receive error:



File "./dbus.py", line 3, in <module>

import dbus

File "/media/mmc1/dbus.py", line 7, in <module>

bus= dbus.SystemBus()

AttributeError: 'module' has no attribute 'System.Bus'



Someone advised me to check that there are 'necessary python D-Bus

bindings' installed but I have no idea where to look for it. I only

have a simple Python installation from here:

http://pymaemo.garage.maemo.org/installation.html 



I can't understand whether there are enough libs to print to a

bluetooth-enabled printer using 'serial port' bluetooth profile. 



If there's someone who has experience with using bluez in Maemo,

please contact me. What's the best language to use in this case? What

could this error message mean?



Best regards,

 Nikolay Komarov

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

                 reply	other threads:[~2007-07-20 14:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=713121184940586@webmail17.yandex.ru \
    --to=k1sk@yandex.ru \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox