Não é possível imprimir através da impressora corporativa

2

Estou com problemas para imprimir na impressora conectada à rede da minha empresa (SBS2003). A impressora é um Sharp MX-M314N. Todos os computadores com Windows na rede podem imprimir bem, apenas a minha máquina Ubuntu que não.

Eu sei o IP da impressora e posso fazer ping e até mesmo imprimir arquivos indo para o 192.168.0.50 no firefox e carregando um arquivo.

Se eu faço um nmap no IP da impressora e no servidor eu recebo isto:

jamesmaddison@development:~$ nmap 192.168.0.50

Starting Nmap 5.21 ( http://nmap.org ) at 2013-07-11 16:12 BST
Nmap scan report for 192.168.0.50
Host is up (0.46s latency).
Not shown: 991 closed ports
PORT      STATE SERVICE
21/tcp    open  ftp
23/tcp    open  telnet
80/tcp    open  http
443/tcp   open  https
515/tcp   open  printer
631/tcp   open  ipp
5900/tcp  open  vnc
9100/tcp  open  jetdirect
50001/tcp open  unknown

Nmap done: 1 IP address (1 host up) scanned in 4.55 seconds

jamesmaddison@development:~$ nmap mastermagnets

Starting Nmap 5.21 ( http://nmap.org ) at 2013-07-11 16:35 BST
Nmap scan report for mastermagnets (192.168.0.2)
Host is up (0.00055s latency).
rDNS record for 192.168.0.2: mastermagnets.local
Not shown: 957 closed ports
PORT      STATE SERVICE
25/tcp    open  smtp
42/tcp    open  nameserver
53/tcp    open  domain
80/tcp    open  http
88/tcp    open  kerberos-sec
135/tcp   open  msrpc
139/tcp   open  netbios-ssn
389/tcp   open  ldap
443/tcp   open  https
444/tcp   open  snpp
445/tcp   open  microsoft-ds
464/tcp   open  kpasswd5
593/tcp   open  http-rpc-epmap
636/tcp   open  ldapssl
691/tcp   open  resvc
1025/tcp  open  NFS-or-IIS
1027/tcp  open  IIS
1042/tcp  open  unknown
1045/tcp  open  unknown
1046/tcp  open  unknown
1048/tcp  open  unknown
1049/tcp  open  unknown
1054/tcp  open  unknown
1081/tcp  open  unknown
1087/tcp  open  unknown
1094/tcp  open  unknown
1104/tcp  open  unknown
2301/tcp  open  compaqdiag
2381/tcp  open  unknown
3268/tcp  open  globalcatLDAP
3269/tcp  open  globalcatLDAPssl
3389/tcp  open  ms-term-serv
5633/tcp  open  unknown
6001/tcp  open  X11:1
6002/tcp  open  X11:2
6004/tcp  open  X11:4
6101/tcp  open  backupexec
6106/tcp  open  isdninfo
8080/tcp  open  http-proxy
8081/tcp  open  blackice-icecap
8082/tcp  open  blackice-alerts
8443/tcp  open  https-alt
10000/tcp open  snet-sensor-mgmt

Nmap done: 1 IP address (1 host up) scanned in 1.18 seconds

E quando eu faço um 'smbclient' recebo o seguinte:

~$ smbclient -U MASTERMAGNETS/JamesMaddison -L //SBSSRV

Sharename       Type      Comment
---------       ----      -------
Line100         Disk      
print$          Disk      Printer Drivers
C$              Disk      Default share
S$              Disk      Default share
Technical       Disk      
IRS             Disk      
Designjet 500-24 Printer   HP Designjet 500 24 by HP
Accounts        Disk      
RICOH           Printer   RICOH Aficio 1027
clients         Disk      Windows Small Business Server Client Setup
tsclient        Disk      
IPC$            IPC       Remote IPC
Resources$      Disk      "Event logging files"
FxsSrvCp$       Disk      Common Fax Cover Pages Folder
tsweb           Disk      
SHARP MX-M314N  Printer   192.168.0.50
ADMIN$          Disk      Remote Admin
faxclient       Disk      Microsoft Shared Fax Clients
ClientApps      Disk      Windows Small Business Server Client Applications
DLOAgent        Disk      Symantec DLO Share
Magnets-database files Disk      
Magnet-database files Disk      
D$              Disk      Default share
Users           Disk      Users Shared Folders
Public          Disk      
actsql          Disk      
SYSVOL          Disk      Logon server share
Address         Disk      "Access to address objects"
Confidential    Disk      
NETLOGON        Disk      Logon server share
SBSSRV.LOG      Disk      Exchange message tracking logs

Server               Comment
---------            -------
ANDY                
DESIGN1              
DESIGN2              
DESIGN3              
DEVELOPMENT          development server (Samba, Linux)
FRANK                
JOE                  
JONATHAN            
KIM                  Kim
ORDERPRINT           Purchase Order Printer
PHIL                
SBSSRV              
TERMSRV              

Workgroup            Master
---------            -------
MASTERMAGNETS        SBSSRV

Eu tentei os seguintes protocolos no CUPS:

smb://MASTERMAGNETS/SBSSRV/Sharp%20MX-M314N/
smb://jamesmaddison:password@MASTERMAGNETS/SBSSRV/Sharp%20MX-M314N/
socket://192.168.0.50:9100
ipp://192.168.0.50/ipp?version=1.0
lpd://192.168.0.50/lp

e todas as "Impressoras detectadas" que o CUPS lista. (Eles são protocolos dnssd)

Eu também tentei adicionar a impressora através de lpadmin :

jamesmaddison@development:~$ lpadmin -p SharpPrinter -v smb://jamesmaddison:password@MASTERMAGNETS/SBSSRV/Sharp%20MX-M314N/ -P /usr/share/cups/model/sharp/en/Sharp_MX-M314N.ppd

smbstatus sempre relata nenhum processo (acabei de obter cabeçalhos de tabela). Eu não sei se isso é importante, mas parece suspeito para mim.

A seção [printers] do meu smb.conf é praticamente o padrão:

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = yes
   read only = yes
   create mask = 0700

Veja o que o log de erros do CUPS diz sobre o último trabalho que tentei.

D [15/Jul/2013:09:11:12 +0100] cupsdAcceptClient: 17 from localhost (Domain)
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 POST / HTTP/1.1
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [15/Jul/2013:09:11:12 +0100] cupsdAuthorize: No authentication data provided.
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 1.1 CUPS-Get-Default 1
D [15/Jul/2013:09:11:12 +0100] CUPS-Get-Default
D [15/Jul/2013:09:11:12 +0100] Returning IPP successful-ok for CUPS-Get-Default (no URI) from localhost
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 POST /printers/Sharp_MX-M314N HTTP/1.1
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [15/Jul/2013:09:11:12 +0100] cupsdAuthorize: No authentication data provided.
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 1.1 Create-Job 1
D [15/Jul/2013:09:11:12 +0100] Create-Job ipp://localhost:631/printers/Sharp_MX-M314N
D [15/Jul/2013:09:11:12 +0100] cupsdMarkDirty(----J-)
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients"
D [15/Jul/2013:09:11:12 +0100] add_job: requesting-user-name="root"
I [15/Jul/2013:09:11:12 +0100] [Job 67] Adding start banner page "none".
D [15/Jul/2013:09:11:12 +0100] Notifier dbus started - PID = 4290
D [15/Jul/2013:09:11:12 +0100] cupsdMarkDirty(-----S)
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
I [15/Jul/2013:09:11:12 +0100] [Job 67] Queued on "Sharp_MX-M314N" by "root".
D [15/Jul/2013:09:11:12 +0100] Returning IPP successful-ok for Create-Job (ipp://localhost:631/printers/Sharp_MX-M314N) from localhost
D [15/Jul/2013:09:11:12 +0100] [Notifier] state=3
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 POST /printers/Sharp_MX-M314N HTTP/1.1
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdAuthorize: No authentication data provided.
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 1.1 Send-Document 1
D [15/Jul/2013:09:11:12 +0100] Send-Document ipp://localhost:631/printers/Sharp_MX-M314N
D [15/Jul/2013:09:11:12 +0100] cupsdIsAuthorized: requesting-user-name="root"
D [15/Jul/2013:09:11:12 +0100] [Job 67] Auto-typing file...
D [15/Jul/2013:09:11:12 +0100] [Job 67] Request file type is text/plain.
D [15/Jul/2013:09:11:12 +0100] cupsdMarkDirty(----J-)
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
I [15/Jul/2013:09:11:12 +0100] [Job 67] File of type text/plain queued by "root".
I [15/Jul/2013:09:11:12 +0100] [Job 67] Adding end banner page "none".
D [15/Jul/2013:09:11:12 +0100] cupsdMarkDirty(----J-)
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdMarkDirty(----J-)
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdMarkDirty(-----S)
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [15/Jul/2013:09:11:12 +0100] [Job 67] job-sheets=none,none
D [15/Jul/2013:09:11:12 +0100] [Job 67] argv[0]="Sharp_MX-M314N"
D [15/Jul/2013:09:11:12 +0100] [Job 67] argv[1]="67"
D [15/Jul/2013:09:11:12 +0100] [Job 67] argv[2]="root"
D [15/Jul/2013:09:11:12 +0100] [Job 67] argv[3]="test.txt"
D [15/Jul/2013:09:11:12 +0100] [Job 67] argv[4]="1"
D [15/Jul/2013:09:11:12 +0100] [Job 67] argv[5]="finishings=3 number-up=1 job-uuid=urn:uuid:c5ced1ef-681f-39c9-6851-d89d94bae8c9 job-originating-host-name=localhost time-at-creation=1373875872 time-at-processing=1373875872"
D [15/Jul/2013:09:11:12 +0100] [Job 67] argv[6]="/var/spool/cups/d00067-001"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[8]="HOME=/var/spool/cups/tmp"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[10]="SERVER_ADMIN=root@development"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[11]="SOFTWARE=CUPS/1.5.3"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[13]="USER=root"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[16]="IPP_PORT=631"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[17]="CHARSET=utf-8"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[18]="LANG=en_GB.UTF-8"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[19]="PPD=/etc/cups/ppd/Sharp_MX-M314N.ppd"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[20]="RIP_MAX_CACHE=128m"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[21]="CONTENT_TYPE=text/plain"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[22]="DEVICE_URI=smb://SBSSRV/SHARP%20MX-M314N"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[23]="PRINTER_INFO=Sharp_MX-M314N"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[24]="PRINTER_LOCATION="
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[25]="PRINTER=Sharp_MX-M314N"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[26]="PRINTER_STATE_REASONS=none"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[27]="CUPS_FILETYPE=document"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[28]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
D [15/Jul/2013:09:11:12 +0100] [Job 67] envp[29]="AUTH_I****"
I [15/Jul/2013:09:11:12 +0100] [Job 67] Started filter /usr/lib/cups/filter/texttopdf (PID 4291)
I [15/Jul/2013:09:11:12 +0100] [Job 67] Started filter /usr/lib/cups/filter/pdftopdf (PID 4292)
I [15/Jul/2013:09:11:12 +0100] [Job 67] Started filter /usr/lib/cups/filter/pdftops (PID 4293)
I [15/Jul/2013:09:11:12 +0100] [Job 67] Started backend /usr/lib/cups/backend/smb (PID 4294)
D [15/Jul/2013:09:11:12 +0100] cupsdMarkDirty(-----S)
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Active clients and dirty files"
D [15/Jul/2013:09:11:12 +0100] Returning IPP successful-ok for Send-Document (ipp://localhost:631/printers/Sharp_MX-M314N) from localhost
D [15/Jul/2013:09:11:12 +0100] [Notifier] state=3
D [15/Jul/2013:09:11:12 +0100] [Notifier] state=3
D [15/Jul/2013:09:11:12 +0100] [Notifier] Connected to D-BUS
D [15/Jul/2013:09:11:12 +0100] [Notifier] state=3
D [15/Jul/2013:09:11:12 +0100] [Notifier] state=3
D [15/Jul/2013:09:11:12 +0100] [Notifier] state=3
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 WAITING Closing on EOF
D [15/Jul/2013:09:11:12 +0100] cupsdCloseClient: 17
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Jul/2013:09:11:12 +0100] [Job 67] pdftops - copying to temp print file "/tmp/010c551e5ab02"
D [15/Jul/2013:09:11:12 +0100] [Job 67] Page = 595x842; 12,12 to 583,830
D [15/Jul/2013:09:11:12 +0100] [Job 67] Connected with username/password...
D [15/Jul/2013:09:11:12 +0100] PID 4291 (/usr/lib/cups/filter/texttopdf) exited with no errors.
D [15/Jul/2013:09:11:12 +0100] PID 4292 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [15/Jul/2013:09:11:12 +0100] [Job 67] Using image rendering resolution 300 dpi
D [15/Jul/2013:09:11:12 +0100] [Job 67] Started filter pdftops (PID 4295)
D [15/Jul/2013:09:11:12 +0100] [Job 67] Started filter pstops (PID 4296)
D [15/Jul/2013:09:11:12 +0100] [Job 67] Page = 595x842; 12,12 to 583,830
D [15/Jul/2013:09:11:12 +0100] [Job 67] slow_collate=0, slow_duplex=0, slow_order=0
D [15/Jul/2013:09:11:12 +0100] [Job 67] Before copy_comments - %!PS-Adobe-3.0
D [15/Jul/2013:09:11:12 +0100] [Job 67] %!PS-Adobe-3.0
D [15/Jul/2013:09:11:12 +0100] [Job 67] %Produced by poppler pdftops version: 0.18.4 (http://poppler.freedesktop.org)
D [15/Jul/2013:09:11:12 +0100] [Job 67] %%LanguageLevel: 2
D [15/Jul/2013:09:11:12 +0100] [Job 67] %%DocumentSuppliedResources: (atend)
D [15/Jul/2013:09:11:12 +0100] [Job 67] %%DocumentMedia: plain 595 842 0 () ()
D [15/Jul/2013:09:11:12 +0100] [Job 67] %%BoundingBox: 0 0 595 842
D [15/Jul/2013:09:11:12 +0100] [Job 67] %%Pages: 1
D [15/Jul/2013:09:11:12 +0100] [Job 67] %%EndComments
D [15/Jul/2013:09:11:12 +0100] [Job 67] Before copy_prolog - %%BeginDefaults
D [15/Jul/2013:09:11:12 +0100] [Job 67] Before copy_setup - %%BeginSetup
D [15/Jul/2013:09:11:12 +0100] [Job 67] PID 4295 (pdftops) exited with no errors.
D [15/Jul/2013:09:11:12 +0100] [Job 67] Before page loop - %%Page: 1 1
D [15/Jul/2013:09:11:12 +0100] [Job 67] Copying page 1...
D [15/Jul/2013:09:11:12 +0100] [Job 67] PAGE: 1 1
D [15/Jul/2013:09:11:12 +0100] cupsdMarkDirty(-----S)
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Jul/2013:09:11:12 +0100] [Job 67] pagew = 571.0, pagel = 818.0
D [15/Jul/2013:09:11:12 +0100] [Job 67] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842
D [15/Jul/2013:09:11:12 +0100] [Job 67] PageLeft = 12.0, PageRight = 583.0
D [15/Jul/2013:09:11:12 +0100] [Job 67] PageTop = 830.0, PageBottom = 12.0
D [15/Jul/2013:09:11:12 +0100] [Job 67] PageWidth = 595.0, PageLength = 842.0
D [15/Jul/2013:09:11:12 +0100] [Notifier] state=3
D [15/Jul/2013:09:11:12 +0100] [Job 67] Wrote 1 pages...
D [15/Jul/2013:09:11:12 +0100] [Job 67] PID 4296 (pstops) exited with no errors.
D [15/Jul/2013:09:11:12 +0100] PID 4293 (/usr/lib/cups/filter/pdftops) exited with no errors.
D [15/Jul/2013:09:11:12 +0100] PID 4294 (/usr/lib/cups/backend/smb) exited with no errors.
D [15/Jul/2013:09:11:12 +0100] cupsdMarkDirty(-----S)
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
I [15/Jul/2013:09:11:12 +0100] [Job 67] Job completed.
D [15/Jul/2013:09:11:12 +0100] cupsdMarkDirty(----J-)
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdMarkDirty(-----S)
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [15/Jul/2013:09:11:12 +0100] [Notifier] state=3
D [15/Jul/2013:09:11:12 +0100] [Notifier] state=3
D [15/Jul/2013:09:11:12 +0100] [Notifier] state=3
D [15/Jul/2013:09:11:12 +0100] [Notifier] state=3
D [15/Jul/2013:09:11:12 +0100] cupsdAcceptClient: 17 from localhost (Domain)
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 POST / HTTP/1.1
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Printing jobs and dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdAuthorize: No authentication data provided.
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 1.1 Get-Notifications 1
D [15/Jul/2013:09:11:12 +0100] Get-Notifications /
D [15/Jul/2013:09:11:12 +0100] cupsdIsAuthorized: requesting-user-name="jamesmaddison"
D [15/Jul/2013:09:11:12 +0100] Returning IPP successful-ok for Get-Notifications (/) from localhost
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 WAITING Closing on EOF
D [15/Jul/2013:09:11:12 +0100] cupsdCloseClient: 17
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdAcceptClient: 17 from localhost (Domain)
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 POST / HTTP/1.1
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdAuthorize: No authentication data provided.
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 1.1 CUPS-Get-Printers 1
D [15/Jul/2013:09:11:12 +0100] CUPS-Get-Printers
D [15/Jul/2013:09:11:12 +0100] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 POST / HTTP/1.1
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdAuthorize: No authentication data provided.
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 1.1 CUPS-Get-Classes 1
D [15/Jul/2013:09:11:12 +0100] CUPS-Get-Classes
D [15/Jul/2013:09:11:12 +0100] Returning IPP successful-ok for CUPS-Get-Classes (no URI) from localhost
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 POST / HTTP/1.1
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [15/Jul/2013:09:11:12 +0100] cupsdAuthorize: No authentication data provided.
D [15/Jul/2013:09:11:12 +0100] cupsdReadClient: 17 1.1 CUPS-Get-Default 1
D [15/Jul/2013:09:11:12 +0100] CUPS-Get-Default
D [15/Jul/2013:09:11:12 +0100] Returning IPP successful-ok for CUPS-Get-Default (no URI) from localhost
D [15/Jul/2013:09:11:12 +0100] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [15/Jul/2013:09:11:13 +0100] [Job 67] Unloading...

Veja o resultado de snmp com CUPS_DEBUG_LEVEL=2 link

E muitas vezes recebo uma notificação dizendo "Erro da impressora: erro da impressora Nome da impressora: connecting-to-device "

Eu simplesmente não consigo fazê-lo funcionar, o problema parece estar entre Cups e o servidor windows como se eu fosse para 192.168.0.50:9100 no firefox a impressora imprime o cabeçalho GET que ele recebe. Eu também posso ir para 192.168.0.50 e fazer o upload de um arquivo diretamente para a impressora. Por fim, posso entrar na impressora e carregar arquivos dessa maneira.

Conforme solicitado, lpstat -d e lpstat -t

jamesmaddison@development:~$ lpstat -d
system default destination: Sharp-MX-M314N

jamesmaddison@development:~$ lpstat -t
scheduler is running
system default destination: Sharp-MX-M314N
device for Sharp-MX-M314N: smb://MASTERMAGNETS/SBSSRV/SHARP%20MX-M314N
Sharp-MX-M314N accepting requests since Mon 15 Jul 2013 13:30:20 BST
printer Sharp-MX-M314N is idle.  enabled since Mon 15 Jul 2013 13:30:20 BST
    
por Lerp 12.07.2013 / 12:58

1 resposta

1

Você pode tentar definir "create mask" para 0775 - também:

  

create mask = 0775

0700 significaria aqui - somente o administrador pode imprimir - não tenho certeza de como você tentou imprimir - de casa por telefone na empresa como administrador?

    
por dschinn1001 14.07.2013 / 21:51