Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Printer XXXXX was not found in the host system error in the sap java nwa logs

Open
#1,707 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
c, java, linux

Research direction

Start by reproducing the failure with the configured network printer and compare the Java application's printer list with lpstat -p. Collect lpstat -t, lpstat -l -e, and systemctl status cups, then trace the printer-discovery or Java Print Service integration. Done means the application detects and uses a printer already available through CUPS.

Written by the indexing model from the issue text.

Description

Describe the bug

A network printer configured in CUPS is available and visible on the operating system. The printer can be verified using lpstat -p and is successfully registered in CUPS.

However, a Java-based application fails to detect the printer and displays the following error:

"Printer <printer_name> was not found in the host system"

The printer exists on the host, CUPS is running, and the printer queue is available. The issue appears to be related to printer discovery between the Java application and CUPS.

To Reproduce

  1. Configure a network printer in CUPS.
  2. Verify the printer is available using:
    lpstat -p
  3. Launch the Java application.
  4. Open the print functionality within the application.
  5. Select or search for the configured printer.
  6. The application returns:
    "Printer <printer_name> was not found in the host system"

Expected behavior

The Java application should detect and use printers that are already configured and available through CUPS on the host system.

Screenshots

Not available.

System Information

  • OS and its version:

NAME="SLES"
VERSION="15-SP7"
VERSION_ID="15.7"
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP7"
ID="sles"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:15:sp7"
DOCUMENTATION_URL="https://documentation.suse.com/"

  • Application:
    Java-based application

  • Printer Type:
    Network Printer

  • CUPS version:
    2.2.7

Additional context

The printer is successfully configured and visible in CUPS.

Verification performed:

lpstat -p

Result:
The printer is listed and available.

Additional observations:

  • CUPS service is running.
  • Network printer is reachable.
  • Printer queue exists in CUPS.
  • Issue occurs only within the Java application.
  • The printer can be seen at the operating system level but is not detected by the Java application.
  • The application may not be refreshing or retrieving the latest printer list from CUPS.
  • Possible relation to printer discovery, Java Print Service integration, printer cache, or compatibility with the CUPS version in use.

Diagnostic information available upon request:

lpstat -t
lpstat -l -e
systemctl status cups

No CUPS errors have been observed so far. The issue appears specific to printer discovery from the Java application despite the printer being available and operational in CUPS.

Dominant language
C
Stars
1.8k
Forks
331
Avg merge
16h 27m
Merged PRs (30d)
6

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenPrinting/cups

All issues in OpenPrinting/cups

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.