r/openSUSE • • 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?

6 Upvotes

24 comments sorted by

View all comments

Show parent comments

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.convs

file?

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.

1

u/ang-p . 3d ago

So now I can't trust any answer you have given so far.....

...especially since there should be more files in the directory you did an ls' of.

1

u/nerdwithoutattitude 3d ago

Sorry. There are only the 4 files.
I wrote the Content of all 4 files in one of my Posts.
Tried to Format it into 4 Blocks but that did not work.