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
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

60%
+1 −0
Q&A Trying to print with CUPS from Chromebook through Debian box to USB printer

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 thro...

0 answers  ·  posted 2y ago by kserwick‭  ·  edited 2y ago by kserwick‭

#4: Post edited by user avatar kserwick‭ · 2021-08-31T01:14:04Z (over 2 years ago)
fixed link
  • 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](support.google.com/chrome/a/answer/10170927?hl=en#zippy=%2Cadd-a-print-server) 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
  • 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](http://support.google.com/chrome/a/answer/10170927?hl=en#zippy=%2Cadd-a-print-server) 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
#3: Post edited by user avatar kserwick‭ · 2021-08-31T00:24:05Z (over 2 years ago)
  • 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](support.google.com/chrome/a/answer/10170927?hl=en#zippy=%2Cadd-a-print-server) that said over version 80 it was looking for ipps.
  • My lpinfo never shows any ipps:
  • Kevin@server:~$ /usr/sbin/lpinfo -v <br>
  • 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 has identical output on the server and client machine. (the hostname doesn't resolve, but I have this old airport router that I haven't had time to get into (using airport utils and wine) but I don't think that's my problem here.)
  • 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 the Add Print Server form of the client Chromebook
  • `10.0.1.29:631` 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
  • 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](support.google.com/chrome/a/answer/10170927?hl=en#zippy=%2Cadd-a-print-server) 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
#2: Post edited by user avatar Canina‭ · 2021-08-30T23:12:39Z (over 2 years ago)
Improved formatting
Trying to print with CUPS from Chromebook through Debian box to USB printer
  • 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](support.google.com/chrome/a/answer/10170927?hl=en#zippy=%2Cadd-a-print-server) that said over version 80 it was looking for ipps.
  • My lpinfo never shows any ipps:
  • >Kevin@server:~$ /usr/sbin/lpinfo -v <br>
  • >network socket<br>
  • >network beh<br>
  • >network ipp<br>
  • >file cups-brf:/<br>
  • >network http<br>
  • >network https<br>
  • >network lpd<br>
  • >network ipps<br>
  • >serial serial:/dev/ttyS0?baud=115200<br>
  • >direct hp:/usb/hp_LaserJet_1012?serial=00CNFB153153<br>
  • >direct usb://HP/LaserJet%201012?serial=00CNFB153153<br>
  • >direct parallel:/dev/lp0<br>
  • >network smb<br>
  • >direct hpfax<br>
  • (Sorry I didn't use the code block. the code markup was just putting everything on one line and the br's weren't doing it. Happy to take a suggestion on this too!)
  • nmapping the numeric ip address has identical output on the server and client machine. (the hostname doesn't resolve, but I have this old airport router that I haven't had time to get into (using airport utils and wine) but I don't think that's my problem here.)
  • But nmap doesn't list port 631 which I had expected because it's in cupsd.conf.
  • <pre>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
  • &lt;Location /&gt;
  • Order allow,deny
  • Allow localhost
  • Allow 10.0.1.*
  • &lt;/Location&gt;
  • &lt;Location /printers&gt;
  • Order allow,deny
  • Allow 10.0.1.*
  • &lt;/Location&gt;
  • &lt;Location /admin&gt;
  • Order allow,deny
  • &lt;/Location&gt;
  • &lt;Location /admin/conf&gt;
  • AuthType Default
  • Require user @SYSTEM
  • Order allow,deny
  • Allow localhost
  • Allow 10.0.1.29
  • &lt;/Location&gt;
  • &lt;Location /admin/log&gt;
  • AuthType Default
  • Require user @SYSTEM
  • Order allow,deny
  • &lt;/Location&gt;
  • &lt;Policy default&gt;
  • JobPrivateAccess default
  • JobPrivateValues default... Lots more Policies and Limits. Could post them if you think it's pertinent, but I didn't edit.</pre>
  • Unsurprisingly the Add Print Server form of the client Chromebook
  • `10.0.1.29:631` 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
  • 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](support.google.com/chrome/a/answer/10170927?hl=en#zippy=%2Cadd-a-print-server) that said over version 80 it was looking for ipps.
  • My lpinfo never shows any ipps:
  • Kevin@server:~$ /usr/sbin/lpinfo -v <br>
  • 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 has identical output on the server and client machine. (the hostname doesn't resolve, but I have this old airport router that I haven't had time to get into (using airport utils and wine) but I don't think that's my problem here.)
  • 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 the Add Print Server form of the client Chromebook
  • `10.0.1.29:631` 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
#1: Initial revision by user avatar kserwick‭ · 2021-08-30T19:52:10Z (over 2 years ago)
Trying to print with CUPS from Chromebook through Debian box to USB printer
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](support.google.com/chrome/a/answer/10170927?hl=en#zippy=%2Cadd-a-print-server) that said over version 80 it was looking for ipps.

My lpinfo never shows any ipps:

>Kevin@server:~$ /usr/sbin/lpinfo -v <br>
>network socket<br>
>network beh<br>
>network ipp<br>
>file cups-brf:/<br>
>network http<br>
>network https<br>
>network lpd<br>
>network ipps<br>
>serial serial:/dev/ttyS0?baud=115200<br>
>direct hp:/usb/hp_LaserJet_1012?serial=00CNFB153153<br>
>direct usb://HP/LaserJet%201012?serial=00CNFB153153<br>
>direct parallel:/dev/lp0<br>
>network smb<br>
>direct hpfax<br>
(Sorry I didn't use the code block. the code markup was just putting everything on one line and the br's weren't doing it. Happy to take a suggestion on this too!)

nmapping the numeric ip address has identical output on the server and client machine.  (the hostname doesn't resolve, but I have this old airport router that I haven't had time to get into (using airport utils and wine) but I don't think that's my problem here.)

But nmap doesn't list port 631 which I had expected because it's in cupsd.conf.

<pre>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
&lt;Location /&gt;
  Order allow,deny
  Allow localhost
  Allow 10.0.1.*
&lt;/Location&gt;
&lt;Location /printers&gt;
  Order allow,deny
  Allow 10.0.1.*
&lt;/Location&gt;
&lt;Location /admin&gt;
  Order allow,deny
&lt;/Location&gt;
&lt;Location /admin/conf&gt;
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
  Allow localhost
  Allow 10.0.1.29
&lt;/Location&gt;
&lt;Location /admin/log&gt;
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
&lt;/Location&gt;
&lt;Policy default&gt;
  JobPrivateAccess default
  JobPrivateValues default... Lots more Policies and Limits.  Could post them if you think it's pertinent, but I didn't edit.</pre>

Unsurprisingly the Add Print Server form of the client Chromebook
`10.0.1.29:631` 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