public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] basic printing profile server?
@ 2007-04-26  1:44 Adam Goode
  2007-04-26  2:13 ` Kelly Price
  2007-04-26 17:25 ` Marcel Holtmann
  0 siblings, 2 replies; 5+ messages in thread
From: Adam Goode @ 2007-04-26  1:44 UTC (permalink / raw)
  To: bluez-devel

Hi,

I was wondering if anyone has worked on a basic printing profile server 
for Linux? By server, I mean a way that phones or other small devices 
can send jobs to a Linux desktop host which would then print through 
CUPS (or lpd, etc.).

It seems like a missing piece, since CUPS can already print to bluetooth 
printers.

My new phone supports printing of SMS messages and photos, so before I 
try writing a server for it, I wanted to check to see if someone has 
done it.


Thanks,

Adam

-------------------------------------------------------------------------
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] basic printing profile server?
  2007-04-26  1:44 [Bluez-devel] basic printing profile server? Adam Goode
@ 2007-04-26  2:13 ` Kelly Price
  2007-04-26 17:25 ` Marcel Holtmann
  1 sibling, 0 replies; 5+ messages in thread
From: Kelly Price @ 2007-04-26  2:13 UTC (permalink / raw)
  To: BlueZ development

On 4/25/07, Adam Goode <adam@evdebs.org> wrote:
> I was wondering if anyone has worked on a basic printing profile server
> for Linux? By server, I mean a way that phones or other small devices
> can send jobs to a Linux desktop host which would then print through
> CUPS (or lpd, etc.).
>

I'm intrested myself.

-- 
Kelly "STrRedWolf" Price
http://strredwolf.furrynet.com

-------------------------------------------------------------------------
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] basic printing profile server?
  2007-04-26  1:44 [Bluez-devel] basic printing profile server? Adam Goode
  2007-04-26  2:13 ` Kelly Price
@ 2007-04-26 17:25 ` Marcel Holtmann
  2007-04-27  4:20   ` Sumeet VERMA
  1 sibling, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2007-04-26 17:25 UTC (permalink / raw)
  To: BlueZ development

Hi Adam,

> I was wondering if anyone has worked on a basic printing profile server 
> for Linux? By server, I mean a way that phones or other small devices 
> can send jobs to a Linux desktop host which would then print through 
> CUPS (or lpd, etc.).

there have been ideas about it, but I can't recall an actual
implementation. However it might happen that INdT starts working on
something like this in the future.

> It seems like a missing piece, since CUPS can already print to bluetooth 
> printers.

The CUPS plugin can only print via HCRP and Serial Port Profile.

> My new phone supports printing of SMS messages and photos, so before I 
> try writing a server for it, I wanted to check to see if someone has 
> done it.

There are many printing profiles around. You should check which one the
phone actually uses. Run "hcidump -X -V" and look for the profile UUID
it requests.

Regards

Marcel



-------------------------------------------------------------------------
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] basic printing profile server?
  2007-04-26 17:25 ` Marcel Holtmann
@ 2007-04-27  4:20   ` Sumeet VERMA
  2007-10-19 14:44     ` Claudio Takahasi
  0 siblings, 1 reply; 5+ messages in thread
From: Sumeet VERMA @ 2007-04-27  4:20 UTC (permalink / raw)
  To: 'BlueZ development'

Hi
I have seen the dump of a printing application for Nokia phones (Nokia
6600). Its developed by nokia and HP collectively. It asks for BPP. However
it wont work with your device if you don't support
application/vnd.pwg-multiplexed doc format. Same goes with Nokia N Series.

Regards,
Sumeet 
-----Original Message-----
From: bluez-devel-bounces@lists.sourceforge.net
[mailto:bluez-devel-bounces@lists.sourceforge.net] On Behalf Of Marcel
Holtmann
Sent: Thursday, April 26, 2007 10:56 PM
To: BlueZ development
Subject: Re: [Bluez-devel] basic printing profile server?

Hi Adam,

> I was wondering if anyone has worked on a basic printing profile 
> server for Linux? By server, I mean a way that phones or other small 
> devices can send jobs to a Linux desktop host which would then print 
> through CUPS (or lpd, etc.).

there have been ideas about it, but I can't recall an actual implementation.
However it might happen that INdT starts working on something like this in
the future.

> It seems like a missing piece, since CUPS can already print to 
> bluetooth printers.

The CUPS plugin can only print via HCRP and Serial Port Profile.

> My new phone supports printing of SMS messages and photos, so before I 
> try writing a server for it, I wanted to check to see if someone has 
> done it.

There are many printing profiles around. You should check which one the
phone actually uses. Run "hcidump -X -V" and look for the profile UUID it
requests.

Regards

Marcel



-------------------------------------------------------------------------
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel


-------------------------------------------------------------------------
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] basic printing profile server?
  2007-04-27  4:20   ` Sumeet VERMA
@ 2007-10-19 14:44     ` Claudio Takahasi
  0 siblings, 0 replies; 5+ messages in thread
From: Claudio Takahasi @ 2007-10-19 14:44 UTC (permalink / raw)
  To: BlueZ development

Does someone still interested on help me?

The objective is create a BPP server(CUPS proxy). The objects/jobs are
pushed to the desktop(BPP server), PostScripts and raw text documents
it works perfect since CUPS already supports filters for these
formats. However for XHTML-Print we have to implement a new CUPS
filter. I don't want convert XHTML-Print to PostScript inside in the
BlueZ.

The simple push model is trivial, however for the Job-Based transfer
model we need put more effort. The current prototype is able to handle
SOAP messages, but I am facing a problem: I have no idea how retrieve
a referenced image.

This is the last data received after create a job:
<?xml version="1.0" encoding="UTF-8"?>
...
        <body>
...
                <div class="page_last">

                        <div id="img_frame" class="position1">
                                <img class="img_details1"
src="obex:1120/mmc/09242007082.jpg" alt=""/>
                        </div>
                </div>
        </body>
</html>


According to the BPP spec the referenced img should be retrived using
a object channel/reverse channel, defined in the Sender's Basic
Printing Referenced Objects Service Record. But my N95 doesn't
contains any record with this UUID. How can I retrieve this img? I
tried to send a GetReferencedObjects msg in the same job
channel(instead of establish a reverse connection) but it is not
working. The printer I ordered will arrive next week only :-(

BR,
Claudio.
-- 
---------------------------------------------------------
Claudio Takahasi
Instituto Nokia de Tecnologia - INdT

On 4/27/07, Sumeet VERMA <sumeet.verma@st.com> wrote:
> Hi
> I have seen the dump of a printing application for Nokia phones (Nokia
> 6600). Its developed by nokia and HP collectively. It asks for BPP. However
> it wont work with your device if you don't support
> application/vnd.pwg-multiplexed doc format. Same goes with Nokia N Series.
>
> Regards,
> Sumeet
> -----Original Message-----
> From: bluez-devel-bounces@lists.sourceforge.net
> [mailto:bluez-devel-bounces@lists.sourceforge.net] On Behalf Of Marcel
> Holtmann
> Sent: Thursday, April 26, 2007 10:56 PM
> To: BlueZ development
> Subject: Re: [Bluez-devel] basic printing profile server?
>
> Hi Adam,
>
> > I was wondering if anyone has worked on a basic printing profile
> > server for Linux? By server, I mean a way that phones or other small
> > devices can send jobs to a Linux desktop host which would then print
> > through CUPS (or lpd, etc.).
>
> there have been ideas about it, but I can't recall an actual implementation.
> However it might happen that INdT starts working on something like this in
> the future.
>
> > It seems like a missing piece, since CUPS can already print to
> > bluetooth printers.
>
> The CUPS plugin can only print via HCRP and Serial Port Profile.
>
> > My new phone supports printing of SMS messages and photos, so before I
> > try writing a server for it, I wanted to check to see if someone has
> > done it.
>
> There are many printing profiles around. You should check which one the
> phone actually uses. Run "hcidump -X -V" and look for the profile UUID it
> requests.
>
> Regards
>
> Marcel
>

-------------------------------------------------------------------------
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-19 14:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-26  1:44 [Bluez-devel] basic printing profile server? Adam Goode
2007-04-26  2:13 ` Kelly Price
2007-04-26 17:25 ` Marcel Holtmann
2007-04-27  4:20   ` Sumeet VERMA
2007-10-19 14:44     ` Claudio Takahasi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox