Mopria
Hi,
got this link today:
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
Till,
Quoted 10 lines · Till Kamppeter
Hi,
got this link today:
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...)
Quoted 3 lines
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
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
Quoted 32 lines · Michael Sweet
Till,
Quoted 10 lines · Till Kamppeter
Hi,
got this link today:
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...)
Quoted 3 lines
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
_printsubtype 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
Till,
Quoted 7 lines · Till Kamppeter
...
For IPP Everywhere it does not look so nice. The PDL TXT record only containsimage/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.
Quoted 8 lines
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
Quoted 1 line · Michael Sweet
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
Till,
Quoted 6 lines · Till Kamppeter
Quoted 1 line · Michael Sweet
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
Hi Till,
Quoted 1 line · Michael Sweet
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
On 2 Oct 2014, at 12:07 am, Till Kamppeter <[email protected]<mailto:[email protected]>> 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
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: [email protected]
Winter 579 Park Place Saline, MI 48176 734-944-0094 Summer PO Box 221 Grand Marais, MI 49839 906-494-2434
Quoted 38 lines · Douglas Kosovic
On 2 Oct 2014, at 12:07 am, Till Kamppeter <[email protected]>
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
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/printing-architecture