• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Join the HP Community Solve‑a‑thon | Help Others & Share Your Solutions | Live on Zoom | 2:30 PM to 2:30 AM IST | Every Wednesday Click here to know more
Check some of the most frequent questions about Instant Ink: HP INSTANT INK, HP+ PLANS: INK AND TONER.


Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs AND MORE.
HP Recommended

I want to set up a shared printer with HP LaserJet Pro MFP M28a and Raspberry Pi OS via the CUPS sharing feature.

 

The printer is set up as IPP Everywhere and it prints via lp command (in the Rasp. Pi), but can't via a web UI: it cancels the job (given state is "Print job canceled at printer."). Also, the printer can't print via a remote host (CUPS (2.4.14), Linux manjaro 6.16.8-1-MANJARO #1 SMP PREEMPT_DYNAMIC Fri, 19 Sep 2025 16:09:36 +0000 x86_64 GNU/Linux), where I added that shared printer, its connection is dnssd://HP%20LaserJet%20Pro%20MFP%20M28a%20%40%20raspberrypi._ipp._tcp.local/cups?uuid=f5824a6f-023f-3dc2-7703-7aca0a8a45bc. The reason for it is the same (canceled at the printer).

 

Printing works fine in Android 15 @ OPPO A78 via Default Print Service, which finds the printer and prints jobs without any issues.

 

What may a problem be?

 

Here is CUPS log of the Rasp (debug mode) after a print attempt:

journalctl -u cups | tail -n 10
Oct 10 23:37:20 raspberrypi systemd[1]: cups.service: Deactivated successfully.
Oct 10 23:37:20 raspberrypi systemd[1]: Stopped cups.service - CUPS Scheduler.
-- Boot b43cabebbe414178a6fdc9b46b9dda1b --
Oct 10 23:37:34 raspberrypi systemd[1]: Starting cups.service - CUPS Scheduler...
Oct 10 23:37:38 raspberrypi systemd[1]: Started cups.service - CUPS Scheduler.
Oct 11 09:49:43 raspberrypi systemd[1]: Stopping cups.service - CUPS Scheduler...
Oct 11 09:49:43 raspberrypi systemd[1]: cups.service: Deactivated successfully.
Oct 11 09:49:43 raspberrypi systemd[1]: Stopped cups.service - CUPS Scheduler.
Oct 11 09:49:43 raspberrypi systemd[1]: Starting cups.service - CUPS Scheduler...
Oct 11 09:49:43 raspberrypi systemd[1]: Started cups.service - CUPS Scheduler.

 

Here is CUPS log of the Manjaro (debug mode) after the print attempt:

journalctl -u cups | tail -n 10
Oct 10 15:20:20 manjaro systemd[1]: Stopped CUPS Scheduler.
-- Boot 4054f7879eae41faa6c385cb4774a272 --
Oct 10 20:54:03 manjaro systemd[1]: Starting CUPS Scheduler...
Oct 10 20:54:03 manjaro systemd[1]: Started CUPS Scheduler.
Oct 10 23:37:00 manjaro systemd[1]: Stopping CUPS Scheduler...
Oct 10 23:37:00 manjaro systemd[1]: cups.service: Deactivated successfully.
Oct 10 23:37:00 manjaro systemd[1]: Stopped CUPS Scheduler.
-- Boot e793edb059f844d297e92a0612c6632b --
Oct 11 09:49:07 manjaro systemd[1]: Starting CUPS Scheduler...
Oct 11 09:49:07 manjaro systemd[1]: Started CUPS Scheduler.

Here is CUPS conf:

LogLevel debug
PageLogFormat
MaxLogSize 0
ErrorPolicy retry-job
Port 631
Listen *:631
Listen /run/cups/cups.sock
Browsing On
BrowseLocalProtocols dnssd
DefaultAuthType Basic
DefaultEncryption IfRequested
DefaultProtocol ipp
DefaultShared yes
WebInterface Yes
IdleExitTimeout 60
<Location />
  Order allow,deny
  Allow from @LOCAL 
  Allow from 192.168.0.*
</Location>
<Location /admin>
  Order allow,deny
  Allow from @LOCAL
  Allow from 192.168.0.*
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Allow from 192.168.0.*
</Location>
<Location /admin/log>
  AuthType Default
  Require user @SYSTEM
  Allow from 192.168.0.*
</Location>
<Policy default>
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
  </Limit>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
<Policy authenticated>
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
  </Limit>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
<Policy kerberos>
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default
  <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Negotiate
    Order deny,allow
  </Limit>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Negotiate
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Negotiate
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.