Printing
Chris Gransden (337) 1209 posts |
The ippdiscover.zip file has been updated. The ippdiscover executable is now aif format so longer needs the somanager module. |
Dave Higton (1515) 3575 posts |
I’ve updated the IPP printing stuff on my web site https://davehigton.me.uk to new versions of GetIPP, dumper modules and IPPTrnspt. If you update, please update all of them together. The new versions support duplexed printing, on an Epson XP-8700 at least, and possibly more printers – I’d like to know whether or not it all works for you. |
Dave Higton (1515) 3575 posts |
I’ve looked more at FindIPP. I can see why it would not work for many people. Or, to put it another way: how did that /ever/ work? (A thought that, I suspect, might be familiar to some other programmers.) I’m on the case. |
Rick Murray (539) 13934 posts |
You’re not a real programmer until you discover a bug that means that a program should absolutely not have worked, and/or should have exploded messily… yet when you tested it on your machine it worked just fine. I look forward to trying out the fixed version. |
nemo (145) 2630 posts |
A schrödinbug. |
Jean-Michel BRUCK (3009) 371 posts |
A cat story…. |
Steve Pampling (1551) 8210 posts |
Hmmm. Today I decommissioned a set of old Cisco Expressway units as all1 the traffic in/out of the DMZ they sit in was to/from the new kit… …except the new units not in DMZ talking, locally, to the old ones not in DMZ and those talking to the old DMZ ones, that talked, locally, to the new ones in DMZ. Why did they not do that new —> new? Made the change at 10:00, which is why someone sat on the video feature failure report until this evening, when I was on the bus to part way home… 1 OK, not all, just 99.999% |
nemo (145) 2630 posts |
Only tangentially related, but Gavin Crawford of this parish asked if apps like Ovation Pro could exercise more control over the Printer Manager, so I’ve extended the print protocol a little. Here’s a demo:
This API enables apps to:
Not remotely useful unless you’re an advanced app developer, but it’s quite interesting. |
Dave Higton (1515) 3575 posts |
Can you make an API available, please? Is this something you would like to go into the general releases of RO5? |
nemo (145) 2630 posts |
That’s the intention, once we’ve finalised the capabilities. Printers, papers and even multiple Printer Managers are supported. But Feeds and Bins were added very late to !Printers and have never been standardised, so are private data unique to the back-ends. That’s less attractive from an API POV because third-party backends would not implement any new interface, which makes that less useful. I know people round here would just say “Change the source we have and everyone else be damned” but I’m painfully aware it’s easier to update !Printers than the printer classes within. Paper, for example, should probably be specific to class and instance, but !Printers has always kept paper and printers quite separate and you can select any paper on any device (subject to backend complaining). But feeds & bins absolutely must be specific to the class and instance. |
Dave Higton (1515) 3575 posts |
Interesting. Very interesting. I started IPPTrnspt just to transport data to printers that support IPP, but of course printers can be interrogated for their attributes such as support for duplexing and feed trays, and the same attributes can be specified for print jobs. It’s all very much the same sort of communication and all goes through the same path. So I can see the possibility that IPPTrnspt, or an improved successor, can take the place of !Printers. What’s missing is the ability to specify resolution and colour/monochrome to RISC OS’s rasterising system. |
Dave Higton (1515) 3575 posts |
Interrogating a printer for supported paper sizes usually results in a very long list, the last member of which is (usually?) pick your own. However, I don’t think the cheap sort of printers we buy for SOHO purposes can be interrogated for what it actually has in its feed trays. Maybe if the user specifies it to the printer via its front panel; I don’t know, I haven’t investigated because I’ve had more important things to try to get working. |
Steve Pampling (1551) 8210 posts |
More enterprise stuff tends to require SNMP queries to see what is defined in user config in the printer (or SNMP written to the printer) – a bit of a dialogue between the print “server” driver and the hardware. Terminal PITA, as they usually use a wonderfully insecure SNMP setup. |
Rick Murray (539) 13934 posts |
HP inkjets can. They support three paper sizes (small, medium, large) and this is detected by way of two or three optosensors in the paper tray. The upside to this method is that setting up printing to a photo is as simple as taking out the A4 and dropping in photo sizes paper.
Front panel?!? 😂 You log into the thing these days, and argue with the configuration interface, which insists upon sending a self signed certificate “for your security”. |
Steve Pampling (1551) 8210 posts |
Ah, certificates (sigh) 1 Like, perhaps, your router, or, as you mention, your printer. The latter type of object tends to have a certificate import facility, mostly(ish) |
nemo (145) 2630 posts |
PJL is widely supported on multi-PDL printers, and can tell you what (the printer thinks) is in the trays. |