[Solved] Linux CUPS SAMBA - Print jobs shows completed, but page doesn't print
You connect shared printer from Windows to linux SAMBA and print, but when click print, nothing happened.
You check CUPS Job, everything complete, but printer dont print.
You try to click Test page from GUI in Linux. Printer print Test Page OK.
You check log CUPS. Here is example LOG
========================================================================
D [12/May/2017:07:53:36 +0700] cupsdAcceptClient: skipping getpeercon()
D [12/May/2017:07:53:36 +0700] [Client 15] Accepted from localhost (Domain)
D [12/May/2017:07:53:36 +0700] Report: clients=1
D [12/May/2017:07:53:36 +0700] Report: jobs=23
D [12/May/2017:07:53:36 +0700] Report: jobs-active=0
D [12/May/2017:07:53:36 +0700] Report: printers=1
D [12/May/2017:07:53:36 +0700] Report: stringpool-string-count=9536
D [12/May/2017:07:53:36 +0700] Report: stringpool-alloc-bytes=10832
D [12/May/2017:07:53:36 +0700] Report: stringpool-total-bytes=221056
D [12/May/2017:07:53:36 +0700] [Client 15] POST / HTTP/1.1
D [12/May/2017:07:53:36 +0700] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [12/May/2017:07:53:36 +0700] [Client 15] No authentication data provided.
D [12/May/2017:07:53:36 +0700] [Client 15] 1.1 Get-Jobs 1
D [12/May/2017:07:53:36 +0700] Get-Jobs ipp://localhost/printers/HP_LaserJet_Professional_P1102
D [12/May/2017:07:53:36 +0700] Returning IPP successful-ok for Get-Jobs (ipp://localhost/printers/HP
_LaserJet_Professional_P1102) from localhost
D [12/May/2017:07:53:36 +0700] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [12/May/2017:07:53:36 +0700] [Client 15] POST / HTTP/1.1
D [12/May/2017:07:53:36 +0700] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [12/May/2017:07:53:36 +0700] [Client 15] No authentication data provided.
D [12/May/2017:07:53:36 +0700] [Client 15] 1.1 Get-Printer-Attributes 1
D [12/May/2017:07:53:36 +0700] Get-Printer-Attributes ipp://localhost/printers/HP_LaserJet_Professio
nal_P1102
D [12/May/2017:07:53:36 +0700] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localho
st/printers/HP_LaserJet_Professional_P1102) from localhost
D [12/May/2017:07:53:36 +0700] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [12/May/2017:07:53:36 +0700] [Client 15] HTTP_WAITING Closing on EOF
D [12/May/2017:07:53:36 +0700] [Client 15] Closing connection.
D [12/May/2017:07:53:36 +0700] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
========================================================================
Here is solution:
Let’s check
/etc/samba/smb.conf
and remove cups options = raw
line in [global] section config and it’s work like a charm.
Không có nhận xét nào:
Đăng nhận xét