Unable to print to Samsung M2825ND on Arch Linux
Clash 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?
arch-linux cups samsung
add a comment |Â
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?
arch-linux cups samsung
add a comment |Â
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?
arch-linux cups samsung
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
arch-linux cups samsung
asked Sep 22 at 19:14
Patrick Bucher
44319
44319
add a comment |Â
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
up vote
0
down vote
accepted
When I download the generic pxlmono
driver instead of the pxlmono-Samsung
driver, it works perfectly as described.
add a comment |Â
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.
When I download the generic pxlmono
driver instead of the pxlmono-Samsung
driver, it works perfectly as described.
answered 2 days ago
Patrick Bucher
44319
44319
add a comment |Â
add a comment |Â
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
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
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
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
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