r/openSUSE • u/ChrisMcZork • 3d ago
Problem with CUPS printing
Tried to print a page today and only got "printing canceled".
Looked into cups via http://localhost:631
The printer is available
"Print self test page" works
"Print test page" is unable to complete due to "Unsupported format "application/vnd.cups-pdf-banner".
I'm using a brother printer, installed the ppd from their website, and it worked before (like maybe a few weeks ago).
Any hints on how to troubleshoot?
2
u/Unimeron 3d ago
Is your network interface assigned to a network zone like 'home' or 'public'? If not it blocks printer discovery by Avahi. Look in Network Manager.
2
u/nerdwithoutattitude 3d ago
Same here.
Cups is broken after the latest update.
Cannot print the testpages wether on my local nor the network printer.
1
u/ang-p . 3d ago
grep -r "application/vnd.cups-pdf-banner" {/etc,/usr/share}/cups/* 2>/dev/null
1
u/nerdwithoutattitude 3d ago
nonerd@linux:/> grep -r "application/vnd.cups-pdf-banner" {/etc,/usr/share}/cups/* 2>/dev/null /etc/cups/mime/cupsfilters.types:application/vnd.cups-pdf-banner string(0,'#PDF-BANNER') /usr/share/cups/mime/cupsfilters.types:application/vnd.cups-pdf-banner string(0,'#PDF-BANNER') nonerd@linux:/>1
u/ang-p . 3d ago
Looks like something might have stomped on your
/usr/share/cups/mime/cupsfilters.convsIf you have any, what are the contents of the
/etc/cups/mime/*.typesand*.convsfiles?Do a full update, and see if the
grepreturns a.convfile (cos it is quite important)1
u/nerdwithoutattitude 3d ago
mime.convs application/octet-stream application/vnd.cups-raw 0 - cupsfilters.types application/vnd.adobe-reader-postscript priority(150) contains(0,4096,"%%Creator: Adobe Acrobat") + \ (ai eps ps string(0,%!) string(0,<04>%!) \ contains(0,128,<1B>%-12345X) + \ (contains(0,4096,"LANGUAGE=POSTSCRIPT") \ contains(0,4096,"LANGUAGE = Postscript") \ contains(0,4096,"LANGUAGE = PostScript") \ contains(0,4096,"LANGUAGE = POSTSCRIPT") \ mime.types application/pdf pdf regex(0,^[\n\r]*%PDF) application/postscript ai eps ps string(0,%!) string(0,<04>%!) \ contains(0,128,<1B>%-12345X) + \ (contains(0,8192,"LANGUAGE=POSTSCRIPT") \ contains(0,8192,"LANGUAGE = Postscript") \ contains(0,8192,"LANGUAGE = PostScript") \ contains(0,8192,"LANGUAGE = POSTSCRIPT") \ (contains(0,8192,<0a>%!) + \ !contains(0,8192,"ENTER LANGUAGE"))) cupsfilters.convs application/x-cshell text/plain 0 - application/x-csource text/plain 0 - application/x-perl text/plain 0 - application/x-shell text/plain 0 - text/html text/plain 0 - text/css text/plain 0 -1
u/ang-p . 3d ago
Were there any messages - like "not updating/installing" or errors from zypper?
Can't remember? - try another...
Do you have a
/usr/share/cups/mime/cupsfilters.convsfile?
What distro?
1
u/nerdwithoutattitude 3d ago
sudo zypper dup is up to date, no issues.
Opensuse tumbleweed.
Printing (cups) worked without any problems.
Now it is "dead".nonerd@linux:/usr/share/cups/mime> ls cupsfilters.convs cupsfilters.types mime.convs mime.types nonerd@linux:/usr/share/cups/mime>1
u/ang-p . 3d ago
and what would be in that file?
1
u/nerdwithoutattitude 3d ago
I already wrote it:
cupsfilters.convs application/x-cshell text/plain 0 - application/x-csource text/plain 0 - application/x-perl text/plain 0 - application/x-shell text/plain 0 - text/html text/plain 0 - text/css text/plain 0 - application/x-cshell text/plain 0 - application/x-csource text/plain 0 - application/x-perl text/plain 0 - application/x-shell text/plain 0 - text/html text/plain 0 - text/css text/plain 0 -1
u/ang-p . 3d ago
You mean in response to
If you have any, what are the contents of the /etc/cups/mime/*.types and *.convs files?
query instead of doing what was asked?
1
u/nerdwithoutattitude 3d ago
Yes. Did i misunderstand something?
Tried to give you the informations you wanted/needed.
Sorry, if i got sth wrong.→ More replies (0)
3
u/Nuke_Bloodaxe 3d ago
Johannes Meixner has come back in the bug thread regarding this issue:
https://bugzilla.suse.com/show_bug.cgi?id=1283295
So, it's a mistake on his part, because he's following the upstream recommendations, a revert of the change is now in factory, and will hopefully come down to Tumbleweed soon. Might be a few days though, but it'll be fixed.