CUPS smb job submission fails with "Backend returned status 1 (failed)"
This document (7018532) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)
Situation
E [DATE] PID 21442 (/usr/lib64/cups/backend/smb) stopped with status 1!
D [DATE] [Job 1669] File 0 is complete.
I [DATE] [Job 1669] Backend returned status 1 (failed)
D [DATE] Discarding unused printer-state-changed event...
D [DATE] Discarding unused printer-stopped event...
Resolution
rm /usr/lib64/cups/backend/smb;ln -s /usr/bin/smbspool /usr/lib64/cups/backend/smb
Cause
Incorrect symbolic link:
/usr/lib64/cups/backend/smb -> /usr/bin/get_printing_ticket
Correct symbolic link:
/usr/lib64/cups/backend/smb -> /usr/bin/smbspool
Additional Information
- Create a Windows share.
- Example share name: MyShare
- Create a CUPS print to submit jobs to that share location.
- You can use various tools (CUPS Web Interface, Printing, YaST -> Printer, lpadmin)
- Syntax to create the smb share printer using lpadmin:
- lpadmin -p [PrinterName] -v smb://[WindowsUser]:[WindowsPassword@[WindowsIP]/[WindowsIP]/[WindowsShare] -E
- Example to create the smb share printer using lpadmin:
- lpadmin -p myTestPrinter -v smb://joeUser:password123@159.181.212.101/159.181.212.101/MyShare -E
- Send a print job.
- lp -d myTestPrinter /tmp/myTestPrintJob.txt
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7018532
- Creation Date: 26-Jan-2017
- Modified Date:14-Oct-2022
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com