Enable CUPS-LPD on Server 16.04 LTS
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
How can I enable CUPS-LPD on Server 16.04 LTS?
I've looked at the answer to this Ask Ubuntu question Ubuntu 16.04 systemd vs. cups-lpd and it wasn't helpful.
16.04 server cups-lpd
add a comment |
How can I enable CUPS-LPD on Server 16.04 LTS?
I've looked at the answer to this Ask Ubuntu question Ubuntu 16.04 systemd vs. cups-lpd and it wasn't helpful.
16.04 server cups-lpd
I did not understand how to use it. I am familiar with systemd through systemctl but I am unfamiliar with creating or adding new services to it, manually. The answer I referred to gave me the pieces but not the solution to the puzzle. I was hoping to get detailed instructions. For legacy reasons I need the LPD service.
– CNaylor
May 19 '17 at 13:59
add a comment |
How can I enable CUPS-LPD on Server 16.04 LTS?
I've looked at the answer to this Ask Ubuntu question Ubuntu 16.04 systemd vs. cups-lpd and it wasn't helpful.
16.04 server cups-lpd
How can I enable CUPS-LPD on Server 16.04 LTS?
I've looked at the answer to this Ask Ubuntu question Ubuntu 16.04 systemd vs. cups-lpd and it wasn't helpful.
16.04 server cups-lpd
16.04 server cups-lpd
edited May 19 '17 at 4:04
Zanna
51.3k13140243
51.3k13140243
asked May 18 '17 at 18:55
CNaylorCNaylor
364
364
I did not understand how to use it. I am familiar with systemd through systemctl but I am unfamiliar with creating or adding new services to it, manually. The answer I referred to gave me the pieces but not the solution to the puzzle. I was hoping to get detailed instructions. For legacy reasons I need the LPD service.
– CNaylor
May 19 '17 at 13:59
add a comment |
I did not understand how to use it. I am familiar with systemd through systemctl but I am unfamiliar with creating or adding new services to it, manually. The answer I referred to gave me the pieces but not the solution to the puzzle. I was hoping to get detailed instructions. For legacy reasons I need the LPD service.
– CNaylor
May 19 '17 at 13:59
I did not understand how to use it. I am familiar with systemd through systemctl but I am unfamiliar with creating or adding new services to it, manually. The answer I referred to gave me the pieces but not the solution to the puzzle. I was hoping to get detailed instructions. For legacy reasons I need the LPD service.
– CNaylor
May 19 '17 at 13:59
I did not understand how to use it. I am familiar with systemd through systemctl but I am unfamiliar with creating or adding new services to it, manually. The answer I referred to gave me the pieces but not the solution to the puzzle. I was hoping to get detailed instructions. For legacy reasons I need the LPD service.
– CNaylor
May 19 '17 at 13:59
add a comment |
1 Answer
1
active
oldest
votes
So I got cups-lpd to work. Here's how:
I created two files:
cups-lpd.socket
[Unit]
Description=CUPS LPD Server Socket
PartOf=cups-lpd.service
[Socket]
ListenStream=515
Accept=true
[Install]
WantedBy=sockets.target
cups-lpd@.service
[Unit]
Description=CUPS LPD server
Documentation=man:cups-lpd(8)
[Service]
ExecStart=/usr/lib/cups/daemon/cups-lpd
StandardInput=socket
[Install]
WantedBy=multi-user.target
I copied both files to /lib/systemd/system/
I ran this command:
sudo systemctl start cups-lpd.socket
, andsudo systemctl enable cups-lpd.socket
to enable it on boot
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%2f916559%2fenable-cups-lpd-on-server-16-04-lts%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
So I got cups-lpd to work. Here's how:
I created two files:
cups-lpd.socket
[Unit]
Description=CUPS LPD Server Socket
PartOf=cups-lpd.service
[Socket]
ListenStream=515
Accept=true
[Install]
WantedBy=sockets.target
cups-lpd@.service
[Unit]
Description=CUPS LPD server
Documentation=man:cups-lpd(8)
[Service]
ExecStart=/usr/lib/cups/daemon/cups-lpd
StandardInput=socket
[Install]
WantedBy=multi-user.target
I copied both files to /lib/systemd/system/
I ran this command:
sudo systemctl start cups-lpd.socket
, andsudo systemctl enable cups-lpd.socket
to enable it on boot
add a comment |
So I got cups-lpd to work. Here's how:
I created two files:
cups-lpd.socket
[Unit]
Description=CUPS LPD Server Socket
PartOf=cups-lpd.service
[Socket]
ListenStream=515
Accept=true
[Install]
WantedBy=sockets.target
cups-lpd@.service
[Unit]
Description=CUPS LPD server
Documentation=man:cups-lpd(8)
[Service]
ExecStart=/usr/lib/cups/daemon/cups-lpd
StandardInput=socket
[Install]
WantedBy=multi-user.target
I copied both files to /lib/systemd/system/
I ran this command:
sudo systemctl start cups-lpd.socket
, andsudo systemctl enable cups-lpd.socket
to enable it on boot
add a comment |
So I got cups-lpd to work. Here's how:
I created two files:
cups-lpd.socket
[Unit]
Description=CUPS LPD Server Socket
PartOf=cups-lpd.service
[Socket]
ListenStream=515
Accept=true
[Install]
WantedBy=sockets.target
cups-lpd@.service
[Unit]
Description=CUPS LPD server
Documentation=man:cups-lpd(8)
[Service]
ExecStart=/usr/lib/cups/daemon/cups-lpd
StandardInput=socket
[Install]
WantedBy=multi-user.target
I copied both files to /lib/systemd/system/
I ran this command:
sudo systemctl start cups-lpd.socket
, andsudo systemctl enable cups-lpd.socket
to enable it on boot
So I got cups-lpd to work. Here's how:
I created two files:
cups-lpd.socket
[Unit]
Description=CUPS LPD Server Socket
PartOf=cups-lpd.service
[Socket]
ListenStream=515
Accept=true
[Install]
WantedBy=sockets.target
cups-lpd@.service
[Unit]
Description=CUPS LPD server
Documentation=man:cups-lpd(8)
[Service]
ExecStart=/usr/lib/cups/daemon/cups-lpd
StandardInput=socket
[Install]
WantedBy=multi-user.target
I copied both files to /lib/systemd/system/
I ran this command:
sudo systemctl start cups-lpd.socket
, andsudo systemctl enable cups-lpd.socket
to enable it on boot
edited yesterday
Lukas Rytz
1033
1033
answered May 19 '17 at 18:42
CNaylorCNaylor
364
364
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.
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%2f916559%2fenable-cups-lpd-on-server-16-04-lts%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
I did not understand how to use it. I am familiar with systemd through systemctl but I am unfamiliar with creating or adding new services to it, manually. The answer I referred to gave me the pieces but not the solution to the puzzle. I was hoping to get detailed instructions. For legacy reasons I need the LPD service.
– CNaylor
May 19 '17 at 13:59