Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs

Dashboard
Notifications
Mark all as read
Q&A

Trying to print with CUPS from Chromebook through Debian box to USB printer

+0
−0

Hi everyone,

First post!

I'm trying to be able to print from a client machine over my lan to an older HP Laserjet 1012 connected via USB to a Debian box. It prints fine directly.

I've gone through many CUPS tutorials and made queues with the web interface and with lpadmin.

I did these basic things too: lpadmin -p NetworkLaserjet -o -printer-is-shared=true cupsctl --share-printers

The client machine is a chromebook (Chrome OS version 92). I saw on this google page for enterprise help that said over version 80 it was looking for ipps.

My lpinfo never shows any ipps:

Kevin@server:~$ /usr/sbin/lpinfo -v
network socket
network beh
network ipp
file cups-brf:/
network http
network https
network lpd
network ipps
serial serial:/dev/ttyS0?baud=115200
direct hp:/usb/hp_LaserJet_1012?serial=00CNFB153153
direct usb://HP/LaserJet%201012?serial=00CNFB153153
direct parallel:/dev/lp0
network smb
direct hpfax

nmapping the numeric ip address of the server has identical output on the server and client machine,but nmap doesn't list port 631 which I had expected because it's in cupsd.conf.

cupsd.conf:

LogLevel warn
PageLogFormat
MaxLogSize 0
Listen localhost:631
Listen /var/run/cups/cups.sock
Listen 10.0.1.*:631
Browsing Yes
DefaultEncryption IfRequested
BrowseLocalProtocols all
DefaultAuthType Basic
WebInterface Yes
<Location />
  Order allow,deny
  Allow localhost
  Allow 10.0.1.*
</Location>
<Location /printers>
  Order allow,deny
  Allow 10.0.1.*
</Location>
<Location /admin>
  Order allow,deny
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
  Allow localhost
  Allow 10.0.1.29
</Location>
<Location /admin/log>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>
<Policy default>
  JobPrivateAccess default
  JobPrivateValues default...

(followed by lots more Policies and Limits. Could post them if you think it's pertinent, but I didn't edit.)

Unsurprisingly when I put the server address, 10.0.1.29:631 into the Add Print Server form on the client Chromebook, it says "Couldn't detect the print server. Please check the address and try again."

Any help on what I'm missing is greatly appreciated. Thanks, kserwick

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

0 answers

Sign up to answer this question »

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!