-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cups-filters missing #159
Comments
I have no
P.S. After upgrading |
OK, I'll label it as a package request. BTW, I printed using current |
At least you will be unable to print from iOS (AirPrint) as image/urf type is missing. |
@PiotrC1 I see, it makes much sense to add it then |
Thanks for your effort. There are two issues now:
Previously there is a message about filters needed for job:
But image/urf is not advertised by CUPS:
Before last upgrade and installing cups-filters it was possible to print test page - now it is not possible due to previously mentioned problem with starting filter.
|
Did you try to launch imagetopdf manually?
|
Yes. With option -h (I do not know options so I have chosen -h) it creates valid black and white pdf file.
There is one more warning message in log but I do not think it matters: |
Well, the problem was indeed connected to directory permissions - after changing it from 775 to 755 filters can be started by CUPS without problems. Now it is ghostscript to fail:
After changing rendering from GS to pdftops issuing command: |
Good catch! |
Thanks.
Due to unknown for me reason my OKI printer attached to USB port is not visible. |
This needs further investigation
Yeah, I think I know this issue. If my guess is correct, the fix is to edit cupsd.conf and change line
to
See http://bugs.ghostscript.com/show_bug.cgi?id=691499#c15
I had this too with TomatoUSB back then, so I added my USB printer to cups as a local RAW printer (using firmware's p910nd). Worked good as a workaround, but it would be nice to discover why it can't see usb printers.
You mean 'LP'? Or 'IPP'? |
@PiotrC1 The reason I can't probably test this all myself is that the router (armv7) that has a printer attached to it has Optware dedicated pen drive broken. So I need to get a spare pen drive. The other router (mipsel) where doesn't have a printer attached |
OK, thanks. I think it's not only image/urf but image/tiff as well.
OK, thanks for a tip. I will checki it and let you know.
As a matter of fact, it's and option of TomatoUSB to make USB printer being attached to /dev/lp0. p910nd adds a gateway that usb port is connected to TCP port 910n (where n is 0..2).
Sorry, IPP of course. The printer has print server allowing some protocols (ports 9100, 631, 515) - none of them is visible now (as before upgrade at least one was visible).
Maybe I can donate one for you? General remark about access right of files and directories - they are a little bit messy, I think you should generally revise them. |
p910nd actually uses
I'll add this dir to postinst script then.
The permissions are set by cups build system itself: they're being installed with
99% or so of file permissions are being set by respective packages build systems, and mostly they don't need to be tempered with, others are generally taken care of (but there can bugs here and there I suspect). As for directories, it might be a bit tricky, since I don't think that packager (the packager is actually opkg) changes permissions for already existing directories, so sensible directories should be chmod'ed in postinst scripts. Or, vice versa, if it does, some other package can break permissions. I'll have too look closer who's the culprit in case of cups.
Thanks, I appreciate it a lot, but I should have one somewhere, it's just a matter of finding it. Also, the ones of smallest capacity are really cheap - it's just that I didn't have a real need for it recently (I've been doing most Optware-ng testing on my NAS and the other router, and a phone).
Not sure what's wrong with image/tiff, but this patch should fix image/urf. I'll try porting it soon |
@PiotrC1 |
Hi @alllexx88!
Tomorrow I will gather everything together (what settings I have made). |
@PiotrC1 |
I have wrote my remarks (just a few) in CUPS issue so I close the case. |
Due to problems with Avahi I was unable to print from CUPS so far, but I have noticed that whole cups-filters is missing. Actual version is 1.11.2.
The text was updated successfully, but these errors were encountered: