Ask Your Question
0

How to set up CUPS-LPR network printing?

asked 2017-08-21 04:48:36 -0500

toddandmargo gravatar image

updated 2017-08-23 05:23:22 -0500

FranciscoD_ gravatar image

For my notes on how to set up LPR network printing to CUPS, see:

https://forums.fedoraforum.org/showth...

edit retag flag offensive close merge delete

Comments

@toddandmargo welcome to askfedora web site, this is not trello or something like this, first, you should elaborate your question something like this how to set up CUPS-LPR network printing and provide all the information needed then after that you should answer your own question and mark as correct, this is how askfedora works, second if you write your notes in the fedora forum why write this here again?, thx.

hhlp gravatar imagehhlp ( 2017-08-21 08:27:48 -0500 )edit
1

Then it becomes a duplicate of a question asked and answered a few days ago.

villykruse gravatar imagevillykruse ( 2017-08-21 11:26:09 -0500 )edit

@villykruse thx you, I found the other TIPS question

hhlp gravatar imagehhlp ( 2017-08-21 11:49:29 -0500 )edit

Thank you for the tutorial on how to post tips.

toddandmargo gravatar imagetoddandmargo ( 2017-08-21 12:22:38 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-08-21 14:17:34 -0500

toddandmargo gravatar image

updated 2017-08-21 14:34:18 -0500

hhlp gravatar image

My cups-lpr notes Fedora: how to set up LPR/LPD network printing to CUPS:

1) Install the software and start CUPS:

 # dnf install cups cups-lpd cups-pdf
 # systemctl enable cups.server
 # systemctl enable cups-lpd.socket

 # systemctl start cups.server

Don't startcups-lpd just yet

2) Configure your printers (include sharing) at

https://127.0.0.1:631

3) Now fix all the idiot SELinux issue

 # setenforce Permissive
 # systemctl start cups-lpd.socket

One at a time fix all the SELinux popups. Trigger them by sending LPR test prints to CUPS from a networked workstation. Repeat with "Standard TCP/IP port":

# ausearch -c 'systemd' --raw | audit2allow -M my-systemd
 # semodule -X 300 -i my-systemd.pp

 # ausearch -c 'systemd' --raw | audit2allow -M my-systemd
 # semodule -X 300 -i my-systemd.pp

 # ausearch -c '(cups-lpd)' --raw | audit2allow -M my-cupslpd
 # semodule -X 300 -i my-cupslpd.pp

 # ausearch -c 'cups-lpd' --raw | audit2allow -M my-cupslpd
 # semodule -X 300 -i my-cupslpd.pp

 # ausearch -c 'systemd' --raw | audit2allow -M my-systemd
 # semodule -X 300 -i my-systemd.pp

 # ausearch -c 'systemd' --raw | audit2allow -M my-systemd
 # semodule -X 300 -i my-systemd.pp

 # ausearch -c 'systemd' --raw | audit2allow -M my-systemd
 # semodule -i my-systemd.pp

4) Once you get no more errors, turn the SELinux back on:

 # setenforce Enforcing
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-08-21 04:48:36 -0500

Seen: 1,892 times

Last updated: Aug 23 '17