lpadmin add a network printer
I am having problems configuring a laserjet printer using lpadmin.
I am using the following command:
$ lpadmin -p LaserJet -E -v socket://10.1.1.1 -m laserjet.ppd
lpadmin: Unable to copy PPD file.
http://www.computerhope.com/unix/ulpadmin.htm
$ find /| grep laserjet.ppd (returns nothing)
I understand this means the ppd driver file does not exist yet the following does not identify a driver for my printer:
$ lpinfo --make-and-model "Laserjet Pro M402dn" -m
lpinfo: client-error-not-found
On my Ubuntu desktop I am using the M806 driver to print to this printer so:
$ lpinfo --make-and-model "Laserjet M806" -m
HP/hp-laserjet_m806-ps.ppd.gz HP LaserJet M806 Postscript (recommend)
Now the following does not produce an error:
$ lpadmin -p LaserJet -E -v socket://10.1.1.1 -m HP/hp-laserjet_m806-ps.ppd.gz
To verify the printer has been created I ran the following:
$ lpstat -d
system default destination: Laserjet
$ lpstat -p
printer laserjet@ts_6666 unknown state. enabled since Jun 22...
Printer: laserjet@tx_6666 - ERROR: spool queue for 'laserjet' does not exist on server ts_6666
check for correct printer name or you may need to run
'checkpc -f' to create queue
What am I missing?
cups
add a comment |
I am having problems configuring a laserjet printer using lpadmin.
I am using the following command:
$ lpadmin -p LaserJet -E -v socket://10.1.1.1 -m laserjet.ppd
lpadmin: Unable to copy PPD file.
http://www.computerhope.com/unix/ulpadmin.htm
$ find /| grep laserjet.ppd (returns nothing)
I understand this means the ppd driver file does not exist yet the following does not identify a driver for my printer:
$ lpinfo --make-and-model "Laserjet Pro M402dn" -m
lpinfo: client-error-not-found
On my Ubuntu desktop I am using the M806 driver to print to this printer so:
$ lpinfo --make-and-model "Laserjet M806" -m
HP/hp-laserjet_m806-ps.ppd.gz HP LaserJet M806 Postscript (recommend)
Now the following does not produce an error:
$ lpadmin -p LaserJet -E -v socket://10.1.1.1 -m HP/hp-laserjet_m806-ps.ppd.gz
To verify the printer has been created I ran the following:
$ lpstat -d
system default destination: Laserjet
$ lpstat -p
printer laserjet@ts_6666 unknown state. enabled since Jun 22...
Printer: laserjet@tx_6666 - ERROR: spool queue for 'laserjet' does not exist on server ts_6666
check for correct printer name or you may need to run
'checkpc -f' to create queue
What am I missing?
cups
add a comment |
I am having problems configuring a laserjet printer using lpadmin.
I am using the following command:
$ lpadmin -p LaserJet -E -v socket://10.1.1.1 -m laserjet.ppd
lpadmin: Unable to copy PPD file.
http://www.computerhope.com/unix/ulpadmin.htm
$ find /| grep laserjet.ppd (returns nothing)
I understand this means the ppd driver file does not exist yet the following does not identify a driver for my printer:
$ lpinfo --make-and-model "Laserjet Pro M402dn" -m
lpinfo: client-error-not-found
On my Ubuntu desktop I am using the M806 driver to print to this printer so:
$ lpinfo --make-and-model "Laserjet M806" -m
HP/hp-laserjet_m806-ps.ppd.gz HP LaserJet M806 Postscript (recommend)
Now the following does not produce an error:
$ lpadmin -p LaserJet -E -v socket://10.1.1.1 -m HP/hp-laserjet_m806-ps.ppd.gz
To verify the printer has been created I ran the following:
$ lpstat -d
system default destination: Laserjet
$ lpstat -p
printer laserjet@ts_6666 unknown state. enabled since Jun 22...
Printer: laserjet@tx_6666 - ERROR: spool queue for 'laserjet' does not exist on server ts_6666
check for correct printer name or you may need to run
'checkpc -f' to create queue
What am I missing?
cups
I am having problems configuring a laserjet printer using lpadmin.
I am using the following command:
$ lpadmin -p LaserJet -E -v socket://10.1.1.1 -m laserjet.ppd
lpadmin: Unable to copy PPD file.
http://www.computerhope.com/unix/ulpadmin.htm
$ find /| grep laserjet.ppd (returns nothing)
I understand this means the ppd driver file does not exist yet the following does not identify a driver for my printer:
$ lpinfo --make-and-model "Laserjet Pro M402dn" -m
lpinfo: client-error-not-found
On my Ubuntu desktop I am using the M806 driver to print to this printer so:
$ lpinfo --make-and-model "Laserjet M806" -m
HP/hp-laserjet_m806-ps.ppd.gz HP LaserJet M806 Postscript (recommend)
Now the following does not produce an error:
$ lpadmin -p LaserJet -E -v socket://10.1.1.1 -m HP/hp-laserjet_m806-ps.ppd.gz
To verify the printer has been created I ran the following:
$ lpstat -d
system default destination: Laserjet
$ lpstat -p
printer laserjet@ts_6666 unknown state. enabled since Jun 22...
Printer: laserjet@tx_6666 - ERROR: spool queue for 'laserjet' does not exist on server ts_6666
check for correct printer name or you may need to run
'checkpc -f' to create queue
What am I missing?
cups
cups
edited Jun 22 '16 at 2:56
asked Jun 22 '16 at 2:35
Dercni
14518
14518
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
This question is a bit older, and I hope you resolved it in the meantime, but for others who find this question:
The problem is likely that the package that contains your PPD file has not been installed. Not being familiar with Ubuntu, I can't tell which package that is. On CentOS, it is probably hplip for HP printers. It could also be one of the foo* or foomatic* packages.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f291279%2flpadmin-add-a-network-printer%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 question is a bit older, and I hope you resolved it in the meantime, but for others who find this question:
The problem is likely that the package that contains your PPD file has not been installed. Not being familiar with Ubuntu, I can't tell which package that is. On CentOS, it is probably hplip for HP printers. It could also be one of the foo* or foomatic* packages.
add a comment |
This question is a bit older, and I hope you resolved it in the meantime, but for others who find this question:
The problem is likely that the package that contains your PPD file has not been installed. Not being familiar with Ubuntu, I can't tell which package that is. On CentOS, it is probably hplip for HP printers. It could also be one of the foo* or foomatic* packages.
add a comment |
This question is a bit older, and I hope you resolved it in the meantime, but for others who find this question:
The problem is likely that the package that contains your PPD file has not been installed. Not being familiar with Ubuntu, I can't tell which package that is. On CentOS, it is probably hplip for HP printers. It could also be one of the foo* or foomatic* packages.
This question is a bit older, and I hope you resolved it in the meantime, but for others who find this question:
The problem is likely that the package that contains your PPD file has not been installed. Not being familiar with Ubuntu, I can't tell which package that is. On CentOS, it is probably hplip for HP printers. It could also be one of the foo* or foomatic* packages.
answered May 30 at 18:58
Kevin Keane
327111
327111
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f291279%2flpadmin-add-a-network-printer%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