All of lore.kernel.org
 help / color / mirror / Atom feed
* [Printing-architecture] Mopria
@ 2014-09-30 10:25 Till Kamppeter
  2014-09-30 11:31 ` Michael Sweet
  0 siblings, 1 reply; 9+ messages in thread
From: Till Kamppeter @ 2014-09-30 10:25 UTC (permalink / raw)
  To: Open Printing

Hi,

got this link today:

http://www.mopria.org/

It is all about standardized mobile printing. Is this known inside the
PWG? It was not talked about on the Summit.

And another question: How is a printer identified as IPP Everywhere or
as accepting PWG Raster? What has to be in the device ID (in the CMD:
field)? What has to be in the Bonjour TXT record?

   Till

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

* Re: [Printing-architecture] Mopria
  2014-09-30 10:25 [Printing-architecture] Mopria Till Kamppeter
@ 2014-09-30 11:31 ` Michael Sweet
  2014-10-01 13:38   ` Till Kamppeter
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Sweet @ 2014-09-30 11:31 UTC (permalink / raw)
  To: Till Kamppeter; +Cc: printing-architecture@lists.linux-foundation.org

Till,

> On Sep 30, 2014, at 6:25 AM, Till Kamppeter <till.kamppeter@gmail.com> wrote:
> 
> Hi,
> 
> got this link today:
> 
> http://www.mopria.org/
> 
> It is all about standardized mobile printing. Is this known inside the
> PWG? It was not talked about on the Summit.

Yes, it is known.

The Mopria Alliance is mainly a marketing organization for Android printing over Wi-Fi.  It uses IPP Everywhere for infrastructure networks and P2P Print Services (a subset of IPP Everywhere) for Wi-Fi Direct.

The Mopria Alliance is a closed (members-only) organization.  When they originally were formed, they did reach out to the PWG and make some presentations at F2F meetings.  However, since they will not allow us to put those presentations online and the PWG's bylaws require everything we do to be openly available, we have not had a Mopria presentation in almost a year.  (the invitation for Mopria to participate remains open, under the terms of the PWG IP policy, and we are trying to setup a formal liaison with them...)

> And another question: How is a printer identified as IPP Everywhere or
> as accepting PWG Raster? What has to be in the device ID (in the CMD:
> field)? What has to be in the Bonjour TXT record?

An IPP Everywhere printer reports 'ipp-everywhere' in the "ipp-features-supported" Printer attribute.

At the Bonjour level, it registers the _print subtype and reports "image/pwg-raster" in the "pdl" key.

In the 1284 Device ID you can look for "PWGRaster" in the CMD field.

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair


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

* Re: [Printing-architecture] Mopria
  2014-09-30 11:31 ` Michael Sweet
@ 2014-10-01 13:38   ` Till Kamppeter
  2014-10-01 13:48     ` Michael Sweet
  0 siblings, 1 reply; 9+ messages in thread
From: Till Kamppeter @ 2014-10-01 13:38 UTC (permalink / raw)
  To: Michael Sweet
  Cc: printing-architecture@lists.linux-foundation.org, Will Cooke,
	Kennedy, Smith (Wireless Architect)

Today I did the first test with a device which is advertized as
supporting Mopria, the

HP 1200w Mobile Print Accy

an add-on module for WLAN printing from mobile devices on HP's laser
printers. I use it together with my HP Color LaserJet CM3530 MFP which
is listed as compatible with the device.

The device is connected to the printer via USB, it has also a
pass-through USB port if there is already a computer connected to the
printer via USB. Network connection is exclusively via WLAN. There it
has two interfaces, one to connect with a WLAN access point/router for
use in the existing local network and one WLAN host for direct
connection from a mobile device (if there is no WLAN access point or to
protect privacy in the local network). It also has NFC to make WLAN
connection easier.

It supports Mopria for Android and AirPrint for iOS. Both work for me,
the former with my Nexus 7 running Android 4.4.4 (Kit Kat) and with the
Mopria app from the Google Play Store installed, the latter with my
iPhone 4S running iOS 8.0.2 and no special app. So the device seems to
work as designed. This was all tested using my router's WLAN.

The device can be configured by a web interface, as usual for network
devices. To start, you press the button of the device for 2 seconds to
get a config page with the device's IP printed, select the device's own
WLAN on a laptop or mobile device and call the IP with a browser. The
you can connect the device to your WLAN router (the device's own WLAN
stays active) and do some other settings (mostly the usual ones of a
printer's network interface).

Now with the device known in my local network I have run

avahi-discover

one one of my Ubuntu machines. There the device appears as an "Internet
Printer" (= IPP printer) with the service name "HP 1200w Mobile Print
Accy[000000]".

The whole Bonjour record is the following:

----------
Service Type: _ipp._tcp
Service Name: HP 1200w Mobile Print Accy[000000]
Domain Name: local
Interface: eth0 IPv4
Address: NPIE8F64A.local/192.168.178.39:631
TXT Binary = T
TXT Duplex = T
TXT Copies = F
TXT Collate = F
TXT Sort = F
TXT priority = 40
TXT Fax = F
TXT rp = ipp/print
TXT ty = HP 1200w Mobile Print Accy
TXT PaperCustom = F
TXT Punch = F
TXT note = no location set
TXT adminurl = http://NPIE8F64A.local./SSI/Auth/airprint.htm
TXT txtvers = 1
TXT Transparent = T
TXT usb_CMD = ZJ/URF
TXT product = (HP 1200w Mobile Print Accy)
TXT usb_MDL = HP 1200w Mobile Print Accy
TXT qtotal = 1
TXT usb_MFG = HP
TXT Bind = F
TXT mac = 40:f0:2f:e8:f6:4aUUID=af32c5c0-cc96-6258-1572-e184c4c2a578
TXT URF = CP1,IS1,OB10,PQ3-4-5,RS300-600,W8,V1.3,DM1,SRGB24
TXT kind = document,envelope,label,photo
TXT UUID = af32c5c0-cc96-6258-1572-e184c4c2a578
TXT Scan = F
TXT Color = T
TXT pdl = image/urf,application/PCLm,image/jpeg,application/octet-stream
TXT PaperMax = legal-A4
TXT Staple = F
----------

I assume (and hope) that the capability info is based on the HP Color
LaserJet CM3530 MFP which is connected to the device and changes
appropriately if one connects another printer.

For Airprint it looks all fine, the device accepts image/urf under its
PDLs and there is an URF TXT record.

For IPP Everywhere it does not look so nice. The PDL TXT record only
contains

image/urf,application/PCLm,image/jpeg,application/octet-stream

There is no PWG Raster. The only language which looks like that it could
be an open standard language with which a machine running Ubuntu could
print on this device is application/PCLm, some kind of PCL. I have tried
the following PCL flavors, but did not get any printout:

- PCL 6/XL (Foomatic pxlcolor/pxlmono)
- PCL 5c (HPIJS)
- PCL 5e (HPIJS)

I also tried to send a file in PWG Raster format (24-bit RGB, 600 dpi)
and a JPG image (photo directly from Olympus OM-D E-M5, 16 MPixel). None
of these files got printed and nowhere any error message appeared. The
device simply accepts all these jobs, so on the computer all jobs finish
without error. In the device's web interface there is no job viewer and
no log of failed jobs. The printer is configured to print error pages if
it gets a job which it does not understand, but no error pages came out.

How do I generate PCLm? Does the device need any PJL to be able to
print? Does the device have a bug? What does it get sent by the Mopria
app? Is the device known to the PWG?

   Till

On 09/30/2014 01:31 PM, Michael Sweet wrote:
> Till,
> 
>> On Sep 30, 2014, at 6:25 AM, Till Kamppeter <till.kamppeter@gmail.com> wrote:
>>
>> Hi,
>>
>> got this link today:
>>
>> http://www.mopria.org/
>>
>> It is all about standardized mobile printing. Is this known inside the
>> PWG? It was not talked about on the Summit.
> 
> Yes, it is known.
> 
> The Mopria Alliance is mainly a marketing organization for Android printing over Wi-Fi.  It uses IPP Everywhere for infrastructure networks and P2P Print Services (a subset of IPP Everywhere) for Wi-Fi Direct.
> 
> The Mopria Alliance is a closed (members-only) organization.  When they originally were formed, they did reach out to the PWG and make some presentations at F2F meetings.  However, since they will not allow us to put those presentations online and the PWG's bylaws require everything we do to be openly available, we have not had a Mopria presentation in almost a year.  (the invitation for Mopria to participate remains open, under the terms of the PWG IP policy, and we are trying to setup a formal liaison with them...)
> 
>> And another question: How is a printer identified as IPP Everywhere or
>> as accepting PWG Raster? What has to be in the device ID (in the CMD:
>> field)? What has to be in the Bonjour TXT record?
> 
> An IPP Everywhere printer reports 'ipp-everywhere' in the "ipp-features-supported" Printer attribute.
> 
> At the Bonjour level, it registers the _print subtype and reports "image/pwg-raster" in the "pdl" key.
> 
> In the 1284 Device ID you can look for "PWGRaster" in the CMD field.
> 
> _________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
> 


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

* Re: [Printing-architecture] Mopria
  2014-10-01 13:38   ` Till Kamppeter
@ 2014-10-01 13:48     ` Michael Sweet
  2014-10-01 14:07       ` Till Kamppeter
  2014-10-01 14:25       ` Tobias Hoffmann
  0 siblings, 2 replies; 9+ messages in thread
From: Michael Sweet @ 2014-10-01 13:48 UTC (permalink / raw)
  To: Till Kamppeter
  Cc: printing-architecture@lists.linux-foundation.org, Will Cooke,
	Kennedy, Smith (Wireless Architect)

[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]

Till,

On Oct 1, 2014, at 9:38 AM, Till Kamppeter <till.kamppeter@gmail.com> wrote:
> ...
> For IPP Everywhere it does not look so nice. The PDL TXT record only
> contains
> 
> image/urf,application/PCLm,image/jpeg,application/octet-stream
> 
> There is no PWG Raster.

Right, this printer does not conform to IPP Everywhere.

The Mopria Alliance print support in Android supports both PWG Raster and PCLm (HP's version of a streamable PDF raster format...), and P2P Print requires either PWG Raster or PCLm.

> The only language which looks like that it could
> be an open standard language with which a machine running Ubuntu could
> print on this device is application/PCLm, some kind of PCL. I have tried
> the following PCL flavors, but did not get any printout:
> 
> - PCL 6/XL (Foomatic pxlcolor/pxlmono)
> - PCL 5c (HPIJS)
> - PCL 5e (HPIJS)

PCLm is a PDF-based raster format.  Unfortunately, the spec is currently only available via the Wi-Fi Alliance which means you need to either pay for it or become a member (in which case it is "free"...)

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4881 bytes --]

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

* Re: [Printing-architecture] Mopria
  2014-10-01 13:48     ` Michael Sweet
@ 2014-10-01 14:07       ` Till Kamppeter
  2014-10-01 14:12         ` Michael Sweet
  2014-10-01 14:55         ` Douglas Kosovic
  2014-10-01 14:25       ` Tobias Hoffmann
  1 sibling, 2 replies; 9+ messages in thread
From: Till Kamppeter @ 2014-10-01 14:07 UTC (permalink / raw)
  To: Michael Sweet
  Cc: printing-architecture@lists.linux-foundation.org, Will Cooke,
	Kennedy, Smith (Wireless Architect)

On 10/01/2014 03:48 PM, Michael Sweet wrote:
> PCLm is a PDF-based raster format.  Unfortunately, the spec is currently only available via the Wi-Fi Alliance which means you need to either pay for it or become a member (in which case it is "free"...)

So PCLM has nothing to do with PCL and it is a proprietary protocol sold
to OS vendors by the Wi-Fi Alliance? To be paid either directly or by
the membership fee?

   Till


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

* Re: [Printing-architecture] Mopria
  2014-10-01 14:07       ` Till Kamppeter
@ 2014-10-01 14:12         ` Michael Sweet
  2014-10-01 14:55         ` Douglas Kosovic
  1 sibling, 0 replies; 9+ messages in thread
From: Michael Sweet @ 2014-10-01 14:12 UTC (permalink / raw)
  To: Till Kamppeter
  Cc: printing-architecture@lists.linux-foundation.org, Will Cooke,
	Kennedy, Smith (Wireless Architect)

[-- Attachment #1: Type: text/plain, Size: 896 bytes --]

Till,

On Oct 1, 2014, at 10:07 AM, Till Kamppeter <till.kamppeter@gmail.com> wrote:
> On 10/01/2014 03:48 PM, Michael Sweet wrote:
>> PCLm is a PDF-based raster format.  Unfortunately, the spec is currently only available via the Wi-Fi Alliance which means you need to either pay for it or become a member (in which case it is "free"...)
> 
> So PCLM has nothing to do with PCL and it is a proprietary protocol sold
> to OS vendors by the Wi-Fi Alliance? To be paid either directly or by
> the membership fee?

It has nothing to do with PCL.

It is HP's file format that is included in the P2P Print service spec, but if they wanted to they could release it freely - ask them if you are interested in getting a copy.  (they still own the rights to the format)

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4881 bytes --]

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

* Re: [Printing-architecture] Mopria
  2014-10-01 13:48     ` Michael Sweet
  2014-10-01 14:07       ` Till Kamppeter
@ 2014-10-01 14:25       ` Tobias Hoffmann
  1 sibling, 0 replies; 9+ messages in thread
From: Tobias Hoffmann @ 2014-10-01 14:25 UTC (permalink / raw)
  To: Michael Sweet
  Cc: printing-architecture@lists.linux-foundation.org, Will Cooke,
	Kennedy, Smith (Wireless Architect), Till Kamppeter

Hi Till,

On 01/10/14 15:48, Michael Sweet wrote:
> PCLm is a PDF-based raster format. Unfortunately, the spec is 
> currently only available via the Wi-Fi Alliance which means you need 
> to either pay for it or become a member (in which case it is "free"...)

there's an Apache-licensed PCLm generator (for Android) on github:

https://github.com/ibevilinc/WFDSPrintPlugin/blob/master/jni/wprint/plugins/lib_pclm.c
https://github.com/ibevilinc/WFDSPrintPlugin/tree/master/jni/wprint/plugins/genPCLm 
...etc...

which also seems to create some kind of job ticket.

   Tobias

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

* Re: [Printing-architecture] Mopria
  2014-10-01 14:07       ` Till Kamppeter
  2014-10-01 14:12         ` Michael Sweet
@ 2014-10-01 14:55         ` Douglas Kosovic
  2014-10-01 15:08           ` Ira McDonald
  1 sibling, 1 reply; 9+ messages in thread
From: Douglas Kosovic @ 2014-10-01 14:55 UTC (permalink / raw)
  To: printing-architecture@lists.linux-foundation.org

[-- Attachment #1: Type: text/plain, Size: 1281 bytes --]


On 2 Oct 2014, at 12:07 am, Till Kamppeter <till.kamppeter@gmail.com<mailto:till.kamppeter@gmail.com>> wrote:

So PCLM has nothing to do with PCL and it is a proprietary protocol sold
to OS vendors by the Wi-Fi Alliance? To be paid either directly or by
the membership fee?


Extract from the US20130100486 A1 patent application ( https://www.google.com/patents/US20130100486 ) :

To create a streamable PDF document, a new protocol called Printer Control Language—Mobile (PCLm) has been created. PCLm has been developed using a subset of the PDF grammar. PCLm allows for consumption of the print files by all PDF 1.4 or later compliant devices and allows for both printing and viewing of the rasterized pages. PCLm may exclude a number of PDF grammar constructs including text, vector, images, patterns, transparency and blending instructions. The exclusion of these commands makes PCLm deterministic because commands that could be retroactively applied to data which has already been streamed have been eliminated. This allows printers to begin printing as soon as the PCLm data stream begins to be received. This minimizes the amount of memory and computation required by the printer and allows low end printers to effectively print large documents.



Doug


[-- Attachment #2: Type: text/html, Size: 3197 bytes --]

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

* Re: [Printing-architecture] Mopria
  2014-10-01 14:55         ` Douglas Kosovic
@ 2014-10-01 15:08           ` Ira McDonald
  0 siblings, 0 replies; 9+ messages in thread
From: Ira McDonald @ 2014-10-01 15:08 UTC (permalink / raw)
  To: Douglas Kosovic; +Cc: printing-architecture@lists.linux-foundation.org

[-- Attachment #1: Type: text/plain, Size: 2475 bytes --]

Hi,

Hmm - interesting synopsis in that patent application - IANAL.

But 10 years ago, with an Adobe primary editor, the IEEE-ISTO PWG
published the open standard PDF: Image Streamable (PDF/is):

http://ftp.pwg.org/pub/pwg/candidates/cs-ifxpdfis10-20040315-5102.3.pdf

Cheers,
- Ira



Ira McDonald (Musician / Software Architect)
Co-Chair - TCG Trusted Mobility Solutions WG
Chair - Linux Foundation Open Printing WG
Secretary - IEEE-ISTO Printer Working Group
Co-Chair - IEEE-ISTO PWG Internet Printing Protocol WG
IETF Designated Expert - IPP & Printer MIB
Blue Roof Music / High North Inc
http://sites.google.com/site/blueroofmusic
http://sites.google.com/site/highnorthinc
mailto: blueroofmusic@gmail.com
Winter  579 Park Place  Saline, MI  48176  734-944-0094
Summer  PO Box 221  Grand Marais, MI 49839  906-494-2434


On Wed, Oct 1, 2014 at 10:55 AM, Douglas Kosovic <doug@uq.edu.au> wrote:

>
>  On 2 Oct 2014, at 12:07 am, Till Kamppeter <till.kamppeter@gmail.com>
> wrote:
>
> So PCLM has nothing to do with PCL and it is a proprietary protocol sold
> to OS vendors by the Wi-Fi Alliance? To be paid either directly or by
> the membership fee?
>
>
>
>  Extract from the US20130100486 A1 patent application (
> https://www.google.com/patents/US20130100486 ) :
>
>  To create a streamable PDF document, a new protocol called Printer
> Control Language—Mobile (PCLm) has been created. PCLm has been developed
> using a subset of the PDF grammar. PCLm allows for consumption of the print
> files by all PDF 1.4 or later compliant devices and allows for both
> printing and viewing of the rasterized pages. PCLm may exclude a number of
> PDF grammar constructs including text, vector, images, patterns,
> transparency and blending instructions. The exclusion of these commands
> makes PCLm deterministic because commands that could be retroactively
> applied to data which has already been streamed have been eliminated. This
> allows printers to begin printing as soon as the PCLm data stream begins to
> be received. This minimizes the amount of memory and computation required
> by the printer and allows low end printers to effectively print large
> documents.
>
>
>
>  Doug
>
>
> _______________________________________________
> Printing-architecture mailing list
> Printing-architecture@lists.linux-foundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/printing-architecture
>
>

[-- Attachment #2: Type: text/html, Size: 5051 bytes --]

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

end of thread, other threads:[~2014-10-01 15:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-30 10:25 [Printing-architecture] Mopria Till Kamppeter
2014-09-30 11:31 ` Michael Sweet
2014-10-01 13:38   ` Till Kamppeter
2014-10-01 13:48     ` Michael Sweet
2014-10-01 14:07       ` Till Kamppeter
2014-10-01 14:12         ` Michael Sweet
2014-10-01 14:55         ` Douglas Kosovic
2014-10-01 15:08           ` Ira McDonald
2014-10-01 14:25       ` Tobias Hoffmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.