Printer XXXXX was not found in the host system error in the sap java nwa logs
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Ambito
- backend, operating-systems
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Configure a network printer in CUPS.
- Verify the printer is available using:
lpstat -p - Launch the Java application.
- Open the print functionality within the application.
- Select or search for the configured printer.
- 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.
- Lingua principale
- C
- Stelle
- 1.8k
- Fork
- 331
- Merge medio
- 15h 28m
- PR unite (30g)
- 5
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenPrinting/cups
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
OpenPrinting/cups#1721 ·
I maintainer di solito rispondono entro 1 giorno
-
I18n for CUPS webapp pagesAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
OpenPrinting/cups#1724 ·
I maintainer di solito rispondono entro 1 giorno
-
Buffer overflow in cupsSideChannelSNMPGet()Forse già presa @michaelrsweet l’ha presa 3 giorni fa. Apertainvestigating
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
OpenPrinting/cups#1719 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Integer overflow in httpGetDateTime()Forse già presa @michaelrsweet l’ha presa 3 giorni fa. Apertabug priority-low
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
OpenPrinting/cups#1717 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Integer overflow in show_supplies()Forse già presa @michaelrsweet l’ha presa 3 giorni fa. Apertaenhancement investigating
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
OpenPrinting/cups#1715 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di OpenPrinting/cups
Issue simili
-
bug needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
netdata/netdata#24062 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
BasedHardware/omi#19463 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
EchoTools/nevr-runtime#30 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
riscv-software-src/riscv-isa-sim#2448 ·
I maintainer di solito rispondono entro 2 giorni