-
So this is the info from my printer itself which oddly shows up in mDNS-SD only when it's connection is shared from the pc:
TXT Punch = 0
TXT Staple = F
TXT Sort = F
TXT Collate = F
TXT Bind = F
TXT PaperCustom = T
TXT Duplex = F
TXT Copies = F
TXT Color = F
TXT Binary = T
TXT Transparent = T
TXT usb_MDL = Type 104
TXT usb_MFG = MFP
TXT adminurl = http://192.168.0.20
TXT pdl = application/octet-stream,application/vnd.hp-PCL,application/vnd.hp-PCLXL,application/postscript,application/x-QPDL
TXT product = (MFP Type 104)
TXT ty = MFP Type 104
TXT priority = 51
TXT qtotal = 1
TXT note = Network
TXT txtvers = 1
This is the info from the printer shared by the pc (bridged)
TXT pdl = application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png
TXT Scan = F
TXT Sort = F
TXT Bind = F
TXT Punch = F
TXT Collate = F
TXT Copies = T
TXT Staple = F
TXT Duplex = T
TXT Color = F
TXT Fax = F
TXT Binary = T
TXT Transparent = T
TXT printer-type = 0x809056
TXT printer-state = 3
TXT product = (MFP Type 104)
TXT priority = 0
TXT note = Network
TXT adminurl = http://EON-Sound-Base:631/printers/Ricoh
TXT ty = Type 104 PS
TXT rp = printers/Ricoh
TXT qtotal = 1
TXT txtvers = 1
in the image attached you can see the settings which makes me able to connect to the pc that is sharing the printer via wifi, here, when I try to print the test page, playcloud crashes.
Still can't figure out the right settings for direct connection to the printer I tried a bunch of them but always fails to connect.
thank you Nicolas
We need tools, not toys.05-30-13 05:02 AMLike 0 - Ok
So for the first, URI seems to be :
http://192.168.0.20
(or ipp://192.168.0.20)
But not sure
It seems don't support PDF - only PS
For the second, you have the right URI.
http://192.168.0.18:631/printers/Ricoh
Or
ipp://192.168.0.18/printers/Ricoh
It should work - and support PDF. What tool do you use on your computer to share the printer?
Do you have tried to print a PDF file? Instead of test page?
Nicolas
Posted via CB1005-30-13 05:29 AMLike 0 - first uri won't ever connect, says fail to connect.
second uri will connect, will try do send document to printer (TestPage.pdf) but eventually will crash playcloud. I use a Mac so the printer is shared through system preferences (second uri)
We need tools, not toys.05-30-13 05:38 AMLike 0 - OmnitechDragon SlayerIn trying to get this working with an older HP Laserjet, here is what I have discovered.
The device itself supports IPP, verified in the documentation. (Laserjet 4050 with JetDirect 600n card)
I can ping the printer from the device fine using the built-in BB10 ping tool.
According to HP, the ipp URL should be:Code:http://[IP address/hostname]/ipp/[optional port number]
So for my device the correct URL should be:Code:http://[IP address]/ipp/
Under the printer object in settings, it lists the following detected capabilities:
text/plain, text/plain; charset=US-ASCII, application/postscript, application/vnd.hp-PCL, application/octet-stream
I see no indication that the printer is receiving any data during these attempts.05-30-13 07:19 PMLike 0 - Code:
http://[IP address]/ipp/
In your mime type list, I don't see PDF support (application/pdf)
Try to print a postscript file with the extension ".ps" you can create the document from your computer.
In the next release, I'll provide print support for PDF, PS and "new" for JPEG.
Nicolas
Posted via CB1005-31-13 01:25 AMLike 0 - OmnitechDragon Slayer
Well I tried something even simpler, since the Laserjet claims to support "text/plain" - I tried printing a text file. (*.txt)
PlayCloud would not print it, it showed the print option as "greyed out".
Also - what does it mean when the printer object shows in the list with a white background, as opposed to a blue background?
I notice when I press the button "Check and load settings", it re-prints the list of supported document types, and then when I select "Back" the printer object now has a blue background rather than white.
It seems the challenge of printing using a simple handheld device revolves around the lack of printer driver. Apparently in most cases you just copy the file to the device and leave it to the device to figure out what to do with it, I guess. Unless it is one of those proprietary apps built by a printer manufacturer, like Epson or HP.
Because the Laserjet obviously supports PCL, but it is probably not realistic to expect handheld devices to have PCL formatters embedded. Pity.
(Also, I thought a PDF file might print "as is" to a postscript-compatible printer, since PDF is more-or-less based on postscript. Maybe not similiiar enough. )05-31-13 04:36 AMLike 0 -
For network printer with IPP support, we don't need driver. We just need to post a readable document for the printer : PDF, PS, TXT...
The printer says the format it supports. So PlayCloud just need to convert the document...
But... I can't implement a convert format tool as pdf to ps ; or doc to ps... DocToGo has to be able to export a document in the good format.
Or use a convert format tool inline as Google drive...
Thank's
Nicolas
Posted via CB1005-31-13 05:42 AMLike 0 - OmnitechDragon Slayer
Printer info
State: Idle
Accept job: Yes
Document format supported:
text/plain, text/plain; charset=US-ASCII, application/postscript, application/vnd.hp-PCL, application/octet-stream (It seems to repeat again from here), text/plain, text/plain; charset=US-ASCII, application/postscript, application/vnd.hp-PCL,application/octet-stream05-31-13 06:08 AMLike 0 - Do you have tried mDNS - SD tool?
Can you return me the result?
By the way
http://[IP]/ipp
And
ipp://[IP]/ipp
It isn't the same thing... first work on 80 port. second on 631.
Your error is a connection error.
Nicolas
Posted via CB1005-31-13 06:51 AMLike 0 - OmnitechDragon SlayerDo you have tried mDNS - SD tool?
Can you return me the result?
By the way
http://[IP]/ipp
And
ipp://[IP]/ipp
It isn't the same thing... first work on 80 port. second on 631.
Your error is a connection error
Tried both ipp:// and http:// -- same result.
I did not download the tool. Not a big fan of sideloading.
I did find a bunch of open-source mDNS command-line tools for Windows on sourceforge. Poorly-documented though.
SourceForge.net: mDNS Tools - Project Web Hosting - Open Source Software
mDNS Tools - Browse Files at SourceForge.net
I'm wondering if this is the one we want to use, but I just can't figure out which query to send. I keep getting 10035 socket errors:
>mdnslookup
Usage: mdnslookup [-t:Target] [-q:Question] [-r:Record Type]
Target Host to which you want to send the question.
(Defaults to multicast address, 224.0.0.251)
Question Question to ask the target.
_workstation._tcp.local.
_http._tcp.local.
_telnet._tcp.local.
_sftp-ssh._tcp.local.
_ssh._tcp.local.
_services._dns-sd._udp.local.
Record Type HINFO, PTR, SRV, or TXT.
(Defaults to PTR)
Examples:
C:\>mdnslookup -t:10.234.61.133 -q:_workstation._tcp.local -r:PTR
C:\>mdnslookup -t:10.234.63.67 -q:_http._tcp.local -r:PTR
C:\>mdnslookup -q:_telnet._tcp.local -r:PTR
'mDNSLookup v1.0' is by GDP @ Hellfire Security
I tried the various "scan" tools, didn't detect anything on the IPP host. It did detect mDNS running on my Z10 on port 5353 though.05-31-13 07:37 AMLike 0 -
Finally! I was able to print through my computer!!
ipp://computer_ip:631/printers/printer_name
Note that the printer name must be the one you set on your computer (if your bridging the printing through a pc)
The crashing of Playcloud was because I had to put the same username and password I use to login into my PC at start up right into Playcloud settings page.
I'm still not able to directly connect playcloud to the printer though, but at least I can print right from Z10 now!
We need tools, not toys.05-31-13 10:01 AMLike 0 - I notice two thongs:
1) page's orientation doesn't work, no matter how I set it, it always print the file vertically (but this could depend from my computer settings because I'm printing through the pc connection)
2) It would be useful an in-built "fit to printing page size" function given that some bad layered out pdf files won't be printed good.
Anyway great job Nicolas.
We need tools, not toys.05-31-13 10:47 AMLike 0 - It's great to have your feedback and see that you have now a solution.
For print options it's very difficult. Because the IPP server doesn't support all functions. In general only "document" itself and copies number.
By the way, on AirPrint you don't have options...
Only a real IPP server as CUPS supports all : side, margin, color, gray...
For automargin... or best fit, it's difficult too! Moreover I need to know your paper size...
For PDF, it's easy all info are in the file, the printer has to implement all features...
Nicolas
Posted via CB1005-31-13 11:32 AMLike 0 -
- OmnitechDragon SlayerFinally! I was able to print through my computer!!
ipp://computer_ip:631/printers/printer_name
Note that the printer name must be the one you set on your computer (if your bridging the printing through a pc)
The crashing of Playcloud was because I had to put the same username and password I use to login into my PC at start up right into Playcloud settings page.
I'm still not able to directly connect playcloud to the printer though, but at least I can print right from Z10 now!
It's curious to me why you need to explicitly specify port 631 in the URL. Did you try it without that?
I tried this to a W7-64 PC and got nowhere. Then again, my printer name has several spaces in it, and I don't have it set to share the printer. (Though I thought printer sharing on Windows was an SMB thing, not an IPP thing.)
Ultimately I don't want to depend on routing print jobs through a computer, but I thought I would just see if I could get that to work. No joy.05-31-13 04:47 PMLike 0 - It's curious to me why you need to explicitly specify port 631 in the URL. Did you try it without that?
I tried this to a W7-64 PC and got nowhere. Then again, my printer name has several spaces in it, and I don't have it set to share the printer. (Though I thought printer sharing on Windows was an SMB thing, not an IPP thing.)
Ultimately I don't want to depend on routing print jobs through a computer, but I thought I would just see if I could get that to work. No joy.
Yeah you're right it's a little bit "twisted"... the fact is that I'm using my computer as the server to my printer and, more important, I have the printer ipp driver installed on my computer, maybe that's why you 're not able to make it working on your pc. I didn't try without specifying port 631 inside the Uri, maybe it works too.
The PlayCloud test page which I printed is generated by the app itself, It's a pdf file that Nicolas put inside the app; you can access it by tapping and holding on one of your printers in PlayCloud printers list and clicking "print" (see image)
Well Nicolas, let's say it straight: what do you think it would be like to interface PlayCloud with the new BlackBerry Link option available on new os 10.1 to make it possible to print over the Internet when out of office?? Wouldn't that be awesome?? Further more we now have the BlackBerry Link option inside PlayCloud!
We need tools, not toys.lindajm22 likes this.06-01-13 01:21 AMLike 1 - OmnitechDragon Slayer
Hah, that's what I hate about UI's like this - all these "hidden" things. Thanks for the heads-up.
And yep, certainly didn't install any IPP driver on the Windoze box - just figured that since some of the mDNS tools I was playing around with were reporting things visible from the IP of that PC that maybe it was natively supporting that.06-01-13 01:35 AMLike 0
- Forum
- BlackBerry 10 Phones & OS
- BlackBerry 10 Apps
Playcloud 10 - IPP Printing
Similar Threads
-
PlayCloud 10 - more simple cloud access...
By nicklas79 in forum BlackBerry 10 AppsReplies: 641Last Post: 04-07-24, 08:12 PM -
PlayCloud 10 preview
By nicklas79 in forum BlackBerry 10 Dev DevicesReplies: 128Last Post: 04-25-14, 02:44 PM -
Removing Screen Printed Logo on Face of your 8300 Curve
By Drex22 in forum New to the Forums? Introduce Yourself Here!Replies: 3Last Post: 08-15-07, 08:41 PM -
Google leads in top 10 eCommerce Developments
By MMB916 in forum General BlackBerry News, Discussion & RumorsReplies: 0Last Post: 07-16-07, 01:52 AM -
Berry only holding 10 e-mails at a time
By crackberrynelson in forum BlackBerry 87xx SeriesReplies: 3Last Post: 06-20-07, 10:16 AM
LINK TO POST COPIED TO CLIPBOARD