LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can I print on a raspberry pi (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-print-on-a-raspberry-pi-4175646487/)

Thegod123 01-18-2019 11:02 AM

How can I print on a raspberry pi
 
Hey! So i recently got a raspberry pi and wanted to start printing on it. what can i use to print? I got CUPS but for some reason whenever i press print and I go and CUPS to see if it print it says User Withheld. hears the error code
E [03/Jan/2019:18:38:34 -0500] [Client 9] Request from "localhost" using invalid Host: field "[v1.::1]:631".
E [03/Jan/2019:18:43:57 -0500] [cups-deviced] PID 6121 (gutenprint52+usb) stopped with status 1!
W [03/Jan/2019:18:45:51 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-L2700DW_series-Gray..\' already exists
W [03/Jan/2019:18:46:02 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-L2700DW_series-Gray..\' already exists
E [03/Jan/2019:18:46:09 -0500] [cups-deviced] PID 6209 (gutenprint52+usb) stopped with status 1!
W [03/Jan/2019:18:46:33 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-J435W-Gray..\' already exists
E [03/Jan/2019:19:57:00 -0500] [Client 86] Request from "localhost" using invalid Host: field "[v1.::1]:631".
E [03/Jan/2019:20:48:02 -0500] [cups-deviced] PID 1830 (gutenprint52+usb) stopped with status 1!
E [03/Jan/2019:20:48:29 -0500] [cups-deviced] PID 2090 (gutenprint52+usb) stopped with status 1!
E [03/Jan/2019:20:51:37 -0500] [cups-deviced] PID 2832 (gutenprint52+usb) stopped with status 1!
W [03/Jan/2019:20:51:41 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'MFCL2700DW-Gray..\' already exists
E [03/Jan/2019:20:51:58 -0500] [cups-deviced] PID 3075 (gutenprint52+usb) stopped with status 1!
E [03/Jan/2019:21:01:48 -0500] [cups-deviced] PID 4166 (gutenprint52+usb) stopped with status 1!
E [03/Jan/2019:21:01:56 -0500] [cups-deviced] PID 4416 (gutenprint52+usb) stopped with status 1!
E [03/Jan/2019:21:06:56 -0500] [cups-deviced] PID 5310 (gutenprint52+usb) stopped with status 1!
W [03/Jan/2019:21:07:00 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'MFCL2700DW-Gray..\' already exists
E [03/Jan/2019:21:07:08 -0500] [cups-deviced] PID 5560 (gutenprint52+usb) stopped with status 1!
E [03/Jan/2019:21:15:44 -0500] [cups-deviced] PID 6396 (gutenprint52+usb) stopped with status 1!
W [03/Jan/2019:21:15:49 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'MFCL2700DW-Gray..\' already exists
E [03/Jan/2019:21:15:52 -0500] [cups-deviced] PID 6647 (gutenprint52+usb) stopped with status 1!
E [03/Jan/2019:21:34:49 -0500] [cups-deviced] PID 7809 (gutenprint52+usb) stopped with status 1!
E [03/Jan/2019:21:35:00 -0500] [cups-deviced] PID 8055 (gutenprint52+usb) stopped with status 1!
E [03/Jan/2019:21:43:03 -0500] [Client 54] Empty Basic username.
E [03/Jan/2019:21:43:11 -0500] [Client 56] pam_authenticate() returned 7 (Authentication failure)
E [03/Jan/2019:21:43:18 -0500] [Client 58] pam_authenticate() returned 7 (Authentication failure)
E [03/Jan/2019:21:44:21 -0500] [Client 67] Empty Basic password.
E [03/Jan/2019:21:44:28 -0500] [Client 69] pam_authenticate() returned 7 (Authentication failure)
E [03/Jan/2019:21:44:35 -0500] [Client 71] pam_authenticate() returned 7 (Authentication failure)
E [03/Jan/2019:21:44:46 -0500] [Client 73] pam_authenticate() returned 7 (Authentication failure)
E [03/Jan/2019:21:48:19 -0500] [cups-deviced] PID 9057 (gutenprint52+usb) stopped with status 1!
W [03/Jan/2019:21:49:21 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-L2700DW_series-Gray..\' already exists
W [03/Jan/2019:21:49:40 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-L2700DW_series-Gray..\' already exists
E [03/Jan/2019:21:51:14 -0500] [cups-deviced] PID 9242 (gutenprint52+usb) stopped with status 1!
W [03/Jan/2019:21:51:55 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-J435W-Gray..\' already exists
W [03/Jan/2019:21:52:12 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-J435W-Gray..\' already exists
W [03/Jan/2019:21:52:12 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-J435W-RGB..\' already exists
E [03/Jan/2019:22:01:02 -0500] [cups-deviced] PID 1124 (gutenprint52+usb) stopped with status 1!
W [03/Jan/2019:22:02:31 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-L2700DW_series-Gray..\' already exists
E [03/Jan/2019:22:02:56 -0500] Scheduler shutting down due to program error.
E [03/Jan/2019:22:10:46 -0500] [cups-deviced] PID 2215 (gutenprint52+usb) stopped with status 1!
W [03/Jan/2019:22:11:49 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-J435W-Gray..\' already exists
W [03/Jan/2019:22:11:49 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-J435W-RGB..\' already exists
E [03/Jan/2019:22:14:11 -0500] Unable to communicate with avahi-daemon: An unexpected D-Bus error occurred
E [04/Jan/2019:18:18:52 -0500] Unable to communicate with avahi-daemon: An unexpected D-Bus error occurred
E [05/Jan/2019:15:45:09 -0500] Unable to communicate with avahi-daemon: An unexpected D-Bus error occurred
E [06/Jan/2019:11:27:57 -0500] Unable to communicate with avahi-daemon: An unexpected D-Bus error occurred
E [06/Jan/2019:13:31:54 -0500] Unable to communicate with avahi-daemon: An unexpected D-Bus error occurred
E [06/Jan/2019:19:39:59 -0500] Unable to communicate with avahi-daemon: An unexpected D-Bus error occurred
E [06/Jan/2019:21:18:15 -0500] Unable to communicate with avahi-daemon: An unexpected D-Bus error occurred
E [06/Jan/2019:21:49:09 -0500] Unable to communicate with avahi-daemon: An unexpected D-Bus error occurred
E [07/Jan/2019:16:02:23 -0500] Unable to communicate with avahi-daemon: An unexpected D-Bus error occurred
E [07/Jan/2019:18:44:33 -0500] Unable to communicate with avahi-daemon: An unexpected D-Bus error occurred
E [07/Jan/2019:21:24:35 -0500] Unable to communicate with avahi-daemon: An unexpected D-Bus error occurred
E [08/Jan/2019:16:27:21 -0500] [cups-deviced] PID 2279 (gutenprint52+usb) stopped with status 1!
W [08/Jan/2019:16:27:55 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-J435W-Gray..\' already exists
W [08/Jan/2019:16:27:55 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-J435W-RGB..\' already exists
W [08/Jan/2019:16:28:00 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-J435W-Gray..\' already exists
W [08/Jan/2019:16:28:00 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-J435W-RGB..\' already exists
E [08/Jan/2019:16:29:19 -0500] [cups-deviced] PID 2600 (gutenprint52+usb) stopped with status 1!
E [08/Jan/2019:16:29:20 -0500] [cups-deviced] PID 2625 (gutenprint52+usb) stopped with status 1!
E [08/Jan/2019:16:31:03 -0500] [cups-deviced] PID 2709 (gutenprint52+usb) stopped with status 1!
E [08/Jan/2019:16:31:14 -0500] [cups-deviced] PID 2734 (gutenprint52+usb) stopped with status 1!
W [08/Jan/2019:16:31:36 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-J435W-Gray..\' already exists
W [08/Jan/2019:16:31:36 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-J435W-RGB..\' already exists
W [08/Jan/2019:16:31:39 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-J435W-Gray..\' already exists
W [08/Jan/2019:16:31:39 -0500] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother_MFC-J435W-RGB..\' already exists
E [08/Jan/2019:16:33:10 -0500] Scheduler shutting down due to program error.
E [08/Jan/2019:18:19:30 -0500] [cups-deviced] PID 4415 (gutenprint52+usb) stopped with status 1!
E [08/Jan/2019:18:19:58 -0500] [cups-deviced] PID 4442 (gutenprint52+usb) stopped with status 1!
E [08/Jan/2019:18:36:23 -0500] [cups-deviced] PID 4812 (gutenprint52+usb) stopped with status 1!
W [15/Jan/2019:21:59:06 -0500] Notifier for subscription 70 (dbus://) went away, retrying!
W [15/Jan/2019:21:59:06 -0500] Notifier for subscription 72 (dbus://) went away, retrying!

Rickkkk 01-18-2019 02:17 PM

Hi Theogod123,

We'll probably need a little more info to proceed ...
  • the printer you're trying to use seems to be a Brother ... how is it connected to the Pi ?
  • What steps did you take to set it up ? Did you use an installation script of some type or just set it up manually using the CUPS interface ? Please describe in detail.
  • Are you able to enter the CUPS interface to just look at the status of your printer installation, without even printing ? This requires root access or your user code being part of the appropriate group (lp, I believe, but verify this).
  • What distro and DE are you using ?

Let's start with that and we'll see what we can do.

Cheers.

ceantuco 01-18-2019 03:13 PM

Thegod123, if you are using Raspian and have a Brother printer, I believe you can download the driver utility directly from Brother.

https://support.brother.com/g/s/id/l...on&redirect=on

Shadow_7 01-18-2019 03:36 PM

For debian based distros the user likely needs to be in the lp and/or lpadmin groups. Probably why you have authentication failure messages. CUPS also uses email (exim4) to handle jobs if you're using it as a print server. With various other options like cups-browsed and cups-bsd for things like remote printer discovery and lp/lpr aka the OLD ways of printing. Which might not be installed by default. If localhost:631 doesn't work you might try the actual IP of the networking interface :631.


All times are GMT -5. The time now is 11:27 PM.