Unable to print to Samsung M2825ND on Arch Linux

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm using the printer Samsung M2825ND in my home network. It worked great so far, as well as on Linux as on Windows, but since I re-installed Arch Linux on my laptop, I cannot print any longer.



Here's how I set it up:



I installed, activated and started cups and avahi:



pacman -S cups cups-filters ghostscript
systemctl enable org.cups.cupsd.service
systemctl start org.cups.cupsd.service

pacman -S nss-mdns
systemctl enable avahi-daemon.service
systemctl start avahi-daemon.service


In the file /etc/nsswitch.conf, I extended the line



hosts: files mymachines myhostname resolve [!UNAVAIL=return] dns


to



hosts: files mymachines myhostname mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns


as described on the Arch Linux Wiki.



Then I downloaded the pxlmono-Samsung driver, which I used earlier, and moved it to /usr/share/cups/model/samsung.ppd.



Then I figured out the parameters with lpinfo:



$ lpinfo -m | grep samsung
samsung.ppd Samsung M262x 282x Series PXL
driverless:ipp://samsung.local:631/ipp/print Samsung M262x 282x Series, driverless, cups-filters 1.21.2

$ sudo lpinfo -v
network ipp
network socket
network beh
network http
network https
network lpd
network ipps
network dnssd://samsung._printer._tcp.local/
network lpd://192.168.178.10/
network ipp://samsung.local:631/ipp/print


There are different network options, and since I always used dnssd so far, I configure it that way:



$ sudo lpadmin -p samsung -E -v 'dnssd://samsung._printer._tcp.local/' -m samsung.ppd


I set the printer as my default, use A4 as paper size and activate long-edge duplex printing:



$ lpoptions -d samsung
$ lpoptions -o PageSize=A4
$ lpoptions -o sides=two-sided-long-edge
$ lpoptions
device-uri=ipp://samsung._ipp._tcp.local/ PageSize=A4 printer-info=samsung printer-location printer-make-and-model='Samsung M262x 282x Series' printer-type=16810068 sides=two-sided-long-edge


But when I try to print a document using lpr document.txt, the file is just stuck in the queue with any other information.



How can I find the error here?










share|improve this question

























    up vote
    0
    down vote

    favorite












    I'm using the printer Samsung M2825ND in my home network. It worked great so far, as well as on Linux as on Windows, but since I re-installed Arch Linux on my laptop, I cannot print any longer.



    Here's how I set it up:



    I installed, activated and started cups and avahi:



    pacman -S cups cups-filters ghostscript
    systemctl enable org.cups.cupsd.service
    systemctl start org.cups.cupsd.service

    pacman -S nss-mdns
    systemctl enable avahi-daemon.service
    systemctl start avahi-daemon.service


    In the file /etc/nsswitch.conf, I extended the line



    hosts: files mymachines myhostname resolve [!UNAVAIL=return] dns


    to



    hosts: files mymachines myhostname mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns


    as described on the Arch Linux Wiki.



    Then I downloaded the pxlmono-Samsung driver, which I used earlier, and moved it to /usr/share/cups/model/samsung.ppd.



    Then I figured out the parameters with lpinfo:



    $ lpinfo -m | grep samsung
    samsung.ppd Samsung M262x 282x Series PXL
    driverless:ipp://samsung.local:631/ipp/print Samsung M262x 282x Series, driverless, cups-filters 1.21.2

    $ sudo lpinfo -v
    network ipp
    network socket
    network beh
    network http
    network https
    network lpd
    network ipps
    network dnssd://samsung._printer._tcp.local/
    network lpd://192.168.178.10/
    network ipp://samsung.local:631/ipp/print


    There are different network options, and since I always used dnssd so far, I configure it that way:



    $ sudo lpadmin -p samsung -E -v 'dnssd://samsung._printer._tcp.local/' -m samsung.ppd


    I set the printer as my default, use A4 as paper size and activate long-edge duplex printing:



    $ lpoptions -d samsung
    $ lpoptions -o PageSize=A4
    $ lpoptions -o sides=two-sided-long-edge
    $ lpoptions
    device-uri=ipp://samsung._ipp._tcp.local/ PageSize=A4 printer-info=samsung printer-location printer-make-and-model='Samsung M262x 282x Series' printer-type=16810068 sides=two-sided-long-edge


    But when I try to print a document using lpr document.txt, the file is just stuck in the queue with any other information.



    How can I find the error here?










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm using the printer Samsung M2825ND in my home network. It worked great so far, as well as on Linux as on Windows, but since I re-installed Arch Linux on my laptop, I cannot print any longer.



      Here's how I set it up:



      I installed, activated and started cups and avahi:



      pacman -S cups cups-filters ghostscript
      systemctl enable org.cups.cupsd.service
      systemctl start org.cups.cupsd.service

      pacman -S nss-mdns
      systemctl enable avahi-daemon.service
      systemctl start avahi-daemon.service


      In the file /etc/nsswitch.conf, I extended the line



      hosts: files mymachines myhostname resolve [!UNAVAIL=return] dns


      to



      hosts: files mymachines myhostname mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns


      as described on the Arch Linux Wiki.



      Then I downloaded the pxlmono-Samsung driver, which I used earlier, and moved it to /usr/share/cups/model/samsung.ppd.



      Then I figured out the parameters with lpinfo:



      $ lpinfo -m | grep samsung
      samsung.ppd Samsung M262x 282x Series PXL
      driverless:ipp://samsung.local:631/ipp/print Samsung M262x 282x Series, driverless, cups-filters 1.21.2

      $ sudo lpinfo -v
      network ipp
      network socket
      network beh
      network http
      network https
      network lpd
      network ipps
      network dnssd://samsung._printer._tcp.local/
      network lpd://192.168.178.10/
      network ipp://samsung.local:631/ipp/print


      There are different network options, and since I always used dnssd so far, I configure it that way:



      $ sudo lpadmin -p samsung -E -v 'dnssd://samsung._printer._tcp.local/' -m samsung.ppd


      I set the printer as my default, use A4 as paper size and activate long-edge duplex printing:



      $ lpoptions -d samsung
      $ lpoptions -o PageSize=A4
      $ lpoptions -o sides=two-sided-long-edge
      $ lpoptions
      device-uri=ipp://samsung._ipp._tcp.local/ PageSize=A4 printer-info=samsung printer-location printer-make-and-model='Samsung M262x 282x Series' printer-type=16810068 sides=two-sided-long-edge


      But when I try to print a document using lpr document.txt, the file is just stuck in the queue with any other information.



      How can I find the error here?










      share|improve this question













      I'm using the printer Samsung M2825ND in my home network. It worked great so far, as well as on Linux as on Windows, but since I re-installed Arch Linux on my laptop, I cannot print any longer.



      Here's how I set it up:



      I installed, activated and started cups and avahi:



      pacman -S cups cups-filters ghostscript
      systemctl enable org.cups.cupsd.service
      systemctl start org.cups.cupsd.service

      pacman -S nss-mdns
      systemctl enable avahi-daemon.service
      systemctl start avahi-daemon.service


      In the file /etc/nsswitch.conf, I extended the line



      hosts: files mymachines myhostname resolve [!UNAVAIL=return] dns


      to



      hosts: files mymachines myhostname mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns


      as described on the Arch Linux Wiki.



      Then I downloaded the pxlmono-Samsung driver, which I used earlier, and moved it to /usr/share/cups/model/samsung.ppd.



      Then I figured out the parameters with lpinfo:



      $ lpinfo -m | grep samsung
      samsung.ppd Samsung M262x 282x Series PXL
      driverless:ipp://samsung.local:631/ipp/print Samsung M262x 282x Series, driverless, cups-filters 1.21.2

      $ sudo lpinfo -v
      network ipp
      network socket
      network beh
      network http
      network https
      network lpd
      network ipps
      network dnssd://samsung._printer._tcp.local/
      network lpd://192.168.178.10/
      network ipp://samsung.local:631/ipp/print


      There are different network options, and since I always used dnssd so far, I configure it that way:



      $ sudo lpadmin -p samsung -E -v 'dnssd://samsung._printer._tcp.local/' -m samsung.ppd


      I set the printer as my default, use A4 as paper size and activate long-edge duplex printing:



      $ lpoptions -d samsung
      $ lpoptions -o PageSize=A4
      $ lpoptions -o sides=two-sided-long-edge
      $ lpoptions
      device-uri=ipp://samsung._ipp._tcp.local/ PageSize=A4 printer-info=samsung printer-location printer-make-and-model='Samsung M262x 282x Series' printer-type=16810068 sides=two-sided-long-edge


      But when I try to print a document using lpr document.txt, the file is just stuck in the queue with any other information.



      How can I find the error here?







      arch-linux cups samsung






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 22 at 19:14









      Patrick Bucher

      44319




      44319




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          When I download the generic pxlmono driver instead of the pxlmono-Samsung driver, it works perfectly as described.






          share|improve this answer




















            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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f470748%2funable-to-print-to-samsung-m2825nd-on-arch-linux%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote



            accepted










            When I download the generic pxlmono driver instead of the pxlmono-Samsung driver, it works perfectly as described.






            share|improve this answer
























              up vote
              0
              down vote



              accepted










              When I download the generic pxlmono driver instead of the pxlmono-Samsung driver, it works perfectly as described.






              share|improve this answer






















                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                When I download the generic pxlmono driver instead of the pxlmono-Samsung driver, it works perfectly as described.






                share|improve this answer












                When I download the generic pxlmono driver instead of the pxlmono-Samsung driver, it works perfectly as described.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 days ago









                Patrick Bucher

                44319




                44319



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f470748%2funable-to-print-to-samsung-m2825nd-on-arch-linux%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay