Back in Oct 2023 I ran some tests on various distros to see how posible it would be to leave windows at win 10’s eol. Generally things looked good, so I parked the project for nearer the time.
That time is now(ish) and I confess I am stuck with a really odd issue on Manjaro and Linux mint (the two disros I am testing). Its the same problem, but somewhere in these forums there is the solution as I found it back in 2023. Thing is I didn’t make a note of what it was (I know :/) and now cannot find the relevent post.I also no-longer have the drive that I was testing on.
So the problem. I have a Pantum P1200w network printer connected directly to my router. Cups can see this and reports it correctly. I can print to it using Firefox’s default system but I cannot print a test page or using any other app. If I try I get the error, ‘Print job cancelled at printer’.
Back in 2023, I found that by default Firefox ignores cups, which is why it works, and if I force it to use cups, I get the same error. So there seems to be some oddity in the cups config and this is where the Majoro forum, I hope, rides to my rescue.
In 2023 I found, somewhere in these pages, a post relating to changing a single setting using the cups web back end. Doing so allowed cups to print to the Pantum without any issues. As mentioned I now cannot find that post.
Has anyone any idea what I need to change to change in the cups web back end? I know its a long shot, but right now I am stuck - and annoyed I never made a note of the solution when I 1st tested.
There were a few search results for ‘Pantum’, but the above has instructions for Firefox under the “Notes” heading, so I assume it is the one with the answer you seek.
I think this is the post @scotty65 was referring to:
Steps
Maker sure printer is on.
In printer, make sure ipp is on. It was already on.
In printer, make sure Bonjour is on. It wasn’t, so turned it on.
Configured /etc/cups/cups-browsed.conf
KeepGeneratedQueuesOnShutdown Yes
# NewIPPPrinterQueuesShared No NOTE: default was wrong in file. Changed Yes to No
IPPPrinterQueueType PPD
CreateIPPPrinterQueues Driverless
BrowseAllow xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx
DebugLogging file
Create the cups printer queue.
systemctl enable --now cups-browsed
Verify.
lpstat -t
Disable cups-browsed, only need it for a new printers (see cups-browsed.conf)
systemctl disable --now cups-browsed
Notes
A ppd file was created in /etc/cups/ppd when cups-browsed was enabled.
If all I wanted to do is print, I was done
The device is multi-function printer/scanner. Scanning at this time requires hplip because it provides hpaio for sane.
I had to change the permission of /etc/cups/ppd/<hp>.ppd, from 640 to 644, so the printer could be added to Gutenprint in GIMP.
On linux, the HP Device Manager currently does not support ipp printer queues. However, they can be managed from the cups web interface.
Using the printer’s embedded web server’s Administrative feature in firefox, I had to turn on the preference below because the printer’s TLS is deprecated.
security.tls.version.enable-deprecated : true
Right now, I’m not aware of a way to update this printer’s firmware.
The system is a new Manjaro minimal XFCE ISO. I very seldom use midori. It has a bug. You can not type a slash in the address bar (known bug). It’s a shortcut key for search. You can still paste the url, but it doesn’t matter, TLS in the printer is NOT supported in midori.
Thanks @Mirdarthos . I was scratching my head wondering why the post snippet did not appear when I pasted the link to it. Completely forgot that is what normally happens when the linked post is from the Member Hub
Many many thanks for the replies. I have now solved the issue and it was to do with IPP.
I started the web back end, selected the printer and then modify printer.
In other network printers I selected 'Internet Printing Protocol (ipps) ’
After clicking continue 3 times I selected Ipp everywhere from the drivers, replacing the system driver(?)
I then clicked modify printer and was told that was successful. Printing a test page worked and printing Lorem ipsum etc from Libre office also worked.
I have no idea if this will help other folks having similar issues with different printer makes.