Enable CUPS-LPD on Server 16.04 LTS





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















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.










share|improve this question

























  • 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




















1















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.










share|improve this question

























  • 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
















1












1








1








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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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





















  • 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












1 Answer
1






active

oldest

votes


















3














So I got cups-lpd to work. Here's how:





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


  2. I copied both files to /lib/systemd/system/


  3. I ran this command: sudo systemctl start cups-lpd.socket, and sudo systemctl enable cups-lpd.socket to enable it on boot







share|improve this answer


























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    3














    So I got cups-lpd to work. Here's how:





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


    2. I copied both files to /lib/systemd/system/


    3. I ran this command: sudo systemctl start cups-lpd.socket, and sudo systemctl enable cups-lpd.socket to enable it on boot







    share|improve this answer






























      3














      So I got cups-lpd to work. Here's how:





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


      2. I copied both files to /lib/systemd/system/


      3. I ran this command: sudo systemctl start cups-lpd.socket, and sudo systemctl enable cups-lpd.socket to enable it on boot







      share|improve this answer




























        3












        3








        3







        So I got cups-lpd to work. Here's how:





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


        2. I copied both files to /lib/systemd/system/


        3. I ran this command: sudo systemctl start cups-lpd.socket, and sudo systemctl enable cups-lpd.socket to enable it on boot







        share|improve this answer















        So I got cups-lpd to work. Here's how:





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


        2. I copied both files to /lib/systemd/system/


        3. I ran this command: sudo systemctl start cups-lpd.socket, and sudo systemctl enable cups-lpd.socket to enable it on boot








        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited yesterday









        Lukas Rytz

        1033




        1033










        answered May 19 '17 at 18:42









        CNaylorCNaylor

        364




        364






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            GameSpot

            日野市

            Tu-95轟炸機