Error: 'Unsupported document-format “application/pdf”'
I'm trying to print .pdf documents from the command line using the lpr
command and I'm getting this error:
Unsupported document-format "application/pdf"
Could you please help me what can be the issue? I'm using Ubuntu 18.04 and CUPS 2.27
printing pdf
add a comment |
I'm trying to print .pdf documents from the command line using the lpr
command and I'm getting this error:
Unsupported document-format "application/pdf"
Could you please help me what can be the issue? I'm using Ubuntu 18.04 and CUPS 2.27
printing pdf
Have you tried pdf2ps?
– minmaxavg
Nov 5 at 0:43
What do you mean? Transform the pdf to ps then print it?
– Minee
Nov 7 at 20:22
Yes, it's done on many occasions, and certainly no formatting would be lost anyway.
– minmaxavg
Nov 7 at 22:18
CUPS v2.27 does not exist. Do you mean v2.2.7?
– Kurt Pfeifle
Dec 15 at 17:02
add a comment |
I'm trying to print .pdf documents from the command line using the lpr
command and I'm getting this error:
Unsupported document-format "application/pdf"
Could you please help me what can be the issue? I'm using Ubuntu 18.04 and CUPS 2.27
printing pdf
I'm trying to print .pdf documents from the command line using the lpr
command and I'm getting this error:
Unsupported document-format "application/pdf"
Could you please help me what can be the issue? I'm using Ubuntu 18.04 and CUPS 2.27
printing pdf
printing pdf
edited Dec 15 at 18:31
Kurt Pfeifle
92079
92079
asked Nov 3 at 23:29
Minee
162
162
Have you tried pdf2ps?
– minmaxavg
Nov 5 at 0:43
What do you mean? Transform the pdf to ps then print it?
– Minee
Nov 7 at 20:22
Yes, it's done on many occasions, and certainly no formatting would be lost anyway.
– minmaxavg
Nov 7 at 22:18
CUPS v2.27 does not exist. Do you mean v2.2.7?
– Kurt Pfeifle
Dec 15 at 17:02
add a comment |
Have you tried pdf2ps?
– minmaxavg
Nov 5 at 0:43
What do you mean? Transform the pdf to ps then print it?
– Minee
Nov 7 at 20:22
Yes, it's done on many occasions, and certainly no formatting would be lost anyway.
– minmaxavg
Nov 7 at 22:18
CUPS v2.27 does not exist. Do you mean v2.2.7?
– Kurt Pfeifle
Dec 15 at 17:02
Have you tried pdf2ps?
– minmaxavg
Nov 5 at 0:43
Have you tried pdf2ps?
– minmaxavg
Nov 5 at 0:43
What do you mean? Transform the pdf to ps then print it?
– Minee
Nov 7 at 20:22
What do you mean? Transform the pdf to ps then print it?
– Minee
Nov 7 at 20:22
Yes, it's done on many occasions, and certainly no formatting would be lost anyway.
– minmaxavg
Nov 7 at 22:18
Yes, it's done on many occasions, and certainly no formatting would be lost anyway.
– minmaxavg
Nov 7 at 22:18
CUPS v2.27 does not exist. Do you mean v2.2.7?
– Kurt Pfeifle
Dec 15 at 17:02
CUPS v2.27 does not exist. Do you mean v2.2.7?
– Kurt Pfeifle
Dec 15 at 17:02
add a comment |
1 Answer
1
active
oldest
votes
This could mean two things:
CUPS does not know how to convert incoming PDF documents to the final format your printer (What printer model is it at all??? Troubleshooting stuff like this and trying to help you out is not easy if you are so tight-lipped...) wants.
- You should check if you have installed the
cups-filters
package:dpkg -l cups*
. - If it is missing, install it:
sudo apt-get install cups-filters
- You should check if you have installed the
CUPS does not have an entry (or a commented out entry) naming
application/pdf
as one of the formats allowed for print submission, and/or does not have a ruleset to allow for auto-detection of this format -- but yet some print client explicitly told CUPS that it is wanting to sendapplication/pdf
.
Check if the following entry is in /usr/share/cups/mime.types:
application/pdf
Check if above entry also has the second field like in the following line:
application/pdf pdf regex(0,^[nr]*%PDF)
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1089829%2ferror-unsupported-document-format-application-pdf%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This could mean two things:
CUPS does not know how to convert incoming PDF documents to the final format your printer (What printer model is it at all??? Troubleshooting stuff like this and trying to help you out is not easy if you are so tight-lipped...) wants.
- You should check if you have installed the
cups-filters
package:dpkg -l cups*
. - If it is missing, install it:
sudo apt-get install cups-filters
- You should check if you have installed the
CUPS does not have an entry (or a commented out entry) naming
application/pdf
as one of the formats allowed for print submission, and/or does not have a ruleset to allow for auto-detection of this format -- but yet some print client explicitly told CUPS that it is wanting to sendapplication/pdf
.
Check if the following entry is in /usr/share/cups/mime.types:
application/pdf
Check if above entry also has the second field like in the following line:
application/pdf pdf regex(0,^[nr]*%PDF)
add a comment |
This could mean two things:
CUPS does not know how to convert incoming PDF documents to the final format your printer (What printer model is it at all??? Troubleshooting stuff like this and trying to help you out is not easy if you are so tight-lipped...) wants.
- You should check if you have installed the
cups-filters
package:dpkg -l cups*
. - If it is missing, install it:
sudo apt-get install cups-filters
- You should check if you have installed the
CUPS does not have an entry (or a commented out entry) naming
application/pdf
as one of the formats allowed for print submission, and/or does not have a ruleset to allow for auto-detection of this format -- but yet some print client explicitly told CUPS that it is wanting to sendapplication/pdf
.
Check if the following entry is in /usr/share/cups/mime.types:
application/pdf
Check if above entry also has the second field like in the following line:
application/pdf pdf regex(0,^[nr]*%PDF)
add a comment |
This could mean two things:
CUPS does not know how to convert incoming PDF documents to the final format your printer (What printer model is it at all??? Troubleshooting stuff like this and trying to help you out is not easy if you are so tight-lipped...) wants.
- You should check if you have installed the
cups-filters
package:dpkg -l cups*
. - If it is missing, install it:
sudo apt-get install cups-filters
- You should check if you have installed the
CUPS does not have an entry (or a commented out entry) naming
application/pdf
as one of the formats allowed for print submission, and/or does not have a ruleset to allow for auto-detection of this format -- but yet some print client explicitly told CUPS that it is wanting to sendapplication/pdf
.
Check if the following entry is in /usr/share/cups/mime.types:
application/pdf
Check if above entry also has the second field like in the following line:
application/pdf pdf regex(0,^[nr]*%PDF)
This could mean two things:
CUPS does not know how to convert incoming PDF documents to the final format your printer (What printer model is it at all??? Troubleshooting stuff like this and trying to help you out is not easy if you are so tight-lipped...) wants.
- You should check if you have installed the
cups-filters
package:dpkg -l cups*
. - If it is missing, install it:
sudo apt-get install cups-filters
- You should check if you have installed the
CUPS does not have an entry (or a commented out entry) naming
application/pdf
as one of the formats allowed for print submission, and/or does not have a ruleset to allow for auto-detection of this format -- but yet some print client explicitly told CUPS that it is wanting to sendapplication/pdf
.
Check if the following entry is in /usr/share/cups/mime.types:
application/pdf
Check if above entry also has the second field like in the following line:
application/pdf pdf regex(0,^[nr]*%PDF)
answered Dec 15 at 17:12
Kurt Pfeifle
92079
92079
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1089829%2ferror-unsupported-document-format-application-pdf%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you tried pdf2ps?
– minmaxavg
Nov 5 at 0:43
What do you mean? Transform the pdf to ps then print it?
– Minee
Nov 7 at 20:22
Yes, it's done on many occasions, and certainly no formatting would be lost anyway.
– minmaxavg
Nov 7 at 22:18
CUPS v2.27 does not exist. Do you mean v2.2.7?
– Kurt Pfeifle
Dec 15 at 17:02