[cups] Can't print to a local HP LaserJet

Jostein Berntsen jbernts at broadpark.no
Thu Mar 12 22:27:06 PDT 2020


On 12.03.20,13:49, Ken Wright wrote:
> On 3/12/20 4:28 AM, Johan Bengtsson wrote:
> > On Thu, 12 Mar 2020, Johan Bengtsson wrote:
> >
> >> On Wed, 11 Mar 2020, Ken Wright wrote:
> >>
> >>> On 3/11/20 3:37 AM, Jostein Berntsen wrote:
> >>>> Can you try to print again and post some of the last lines from
> >>>> /var/log/cups/error_log and /var/log/cups/access_log?
> >>> and here are the last several lines from the error log:
> >>> D [11/Mar/2020:17:19:28 +0000] [Client 2] No authentication data
> >>> provided.
> >>
> >> You have authentication activated on the printer? Maybe you should
> >> turn it off?
> I've got myself and other users set to "Allow".  Do I need to do
> something else?
> >
> > ..or on the server??
> 
> Umm, how would I do that?  The server is running Ubuntu Server 18.04 LTS.
> 
> Ken
> 

At the server side check that you have these settings:

#Listen localhost:631
Port 631

<Location/>       Order allow,deny
Allow @LOCAL
</Location>

and run this command:

cupsctl --share-printers --remote-any --remote-admin

then restart cups and try again.


Jostein


More information about the cups mailing list