Skip to contentSkip to conversation

Configuration for a Linux Bluetooth print Server

Bluez-devel Don Alexander 2 participants 2 messages Jul 14, 2007 – Jul 23, 2007 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi All,

I know it is perhaps breaking etiquette as this really ought to be a user issue. But I have to say I cannot find anywhere in the code or in the documentation how to achieve the above task. Simply put, should we not be able to set up the stack to emulate a Bluetooth enable printer and be able to pass print data onto the normal printer functions of CUPS etc. ? Now before anyone starts misunderstanding me I am NOT talking about printing TO bluetooth printers (using the CUPS driver) but printing TO a Linux box that identifies itself as being a compatible bluetooth printer. Obviously the advantages of this are enormous by converting any CUPS attached printer into being a bluetooth enabled one.

So my question are :

1) Is this feasible to implement a printer class into the Bluez stack or it is a userspace problem?

2) If it is the right thing to do via the stack how would it best be implemented?

3) What extensions/ API's ought we attach to a generic printer class so that data can be exported to the normal print subsystem.

I realise I am very new to the whole bluez codebase and so fully admit I don't know all the specifications and capabilities of it, but hopefully someone here can stop me from making a complete gaff if this is already implemented and I am just too clueless to see it.

Anyway, thanks for your feedback any pointers will be greatly appreciated.

Cheers.

Signature · 18 lines
==

D Alexander

Technical Support

RooSoft Ltd


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
#1 lore raw
Quoted 14 lines · Don Alexander

Hi All,

I know it is perhaps breaking etiquette as this really ought to be a user issue. But I have to say I cannot find anywhere in the code or in the documentation how to achieve the above task. Simply put, should we not be able to set up the stack to emulate a Bluetooth enable printer and be able to pass print data onto the normal printer functions of CUPS etc. ? Now before anyone starts misunderstanding me I am NOT talking about printing TO bluetooth printers (using the CUPS driver) but printing TO a Linux box that identifies itself as being a compatible bluetooth printer. Obviously the advantages of this are enormous by converting any CUPS attached printer into being a bluetooth enabled one.

Quoted 4 lines

So my question are :

1) Is this feasible to implement a printer class into the Bluez stack or it is a userspace problem?

User-space.

Quoted 5 lines

2) If it is the right thing to do via the stack how would it best be implemented?

3) What extensions/ API's ought we attach to a generic printer class so that data can be exported to the normal print subsystem.

You need to implement a full SPP or HCRP server. HCRP is probably easier, as you would just push everything to the CUPS server as-is.

Both specs are available on the Bluetooth SIG website.

Cheers

Signature · 12 lines
Bastien Nocera <[email protected]> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel