Debian 7 - CUPS 1.5.3 - HP_LaserJet_Professional_M1132_MFP

1. Debian 7 - CUPS 1.5.3 - HP_LaserJet_Professional_M1132_MFP

Perfil removido
removido

(usa Nenhuma)

Enviado em 08/11/2013 - 16:33h

Q raios !!! ... instalei certinho mas nao imprime... acho que é o driver !

Esta impressora imprimia no debian 6 agora nao vai mais erh erh!!


HP_LaserJet_Professional_M1132_MFP
==================================

# apt-get install cups

cat /etc/cups/cupsd.conf

LogLevel warn
MaxLogSize 1m
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Share local printers on the local network.
Browsing On
BrowseOrder allow
BrowseRemoteProtocols
BrowseAddress @LOCAL
BrowseLocalProtocols cups
DefaultAuthType Basic
<Location />
# Allow shared printing...
Order allow
Allow From all
</Location>
<Location /admin>
# Restrict access to the admin pages...
Order allow
Allow From All
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
# Restrict access to the configuration files...
Order allow
Allow From All
</Location>
<Policy default>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order allow
Allow From all
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order allow
Allow From all
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order allow
Allow From all
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order allow
Allow From all
</Limit>
<Limit All>
Order allow
Allow From all
</Limit>
</Policy>
<Policy authenticated>
<Limit Create-Job Print-Job Print-URI>
AuthType Default
Order allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order allow
</Limit>

<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order allow
</Limit>
<Limit All>
Order allow
</Limit>
</Policy>


https://192.168.1.13:631/


# ps aux | grep cupsd
root 5791 0.0 0.1 77108 3356 ? Ss 17:48 0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
root 6548 0.0 0.0 7828 848 pts/0 S+ 17:51 0:00 grep --color cupsd

Executando o cups.

# /etc/init.d/cups restart
[ ok ] Restarting Common Unix Printing System: cupsd.



# /etc/init.d/cups stop

# /etc/init.d/cups restart
[ ok ] Restarting Common Unix Printing System: cupsd.


# cat /etc/samba/smb.conf

[printers]
comment = Todas as Impressoras
path = /var/spool/samba
print ok = yes
guest ok = yes
browseable = yes

# /etc/init.d/samba restart
[ ok ] Stopping Samba daemons: nmbd smbd.
[ ok ] Starting Samba daemons: nmbd smbd.



http://hplipopensource.com/hplip-web/install_wizard/index.html



# wget http://prdownloads.sourceforge.net/hplip/hplip-3.13.11.run

# sh hplip-3.13.11.run


Continue with installation (y=yes, n=no*, q=quit) ? y

Please choose the installation mode (a=automatic*, c=custom, q=quit) : a

Is "Debian 7.2" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y

Please read the installation notes. Press <enter> to continue or 'q' to quit: enter

Do you want to check for HPLIP updates?. (y=yes*, n=no) : n

Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) : r

Restart now (y=yes, n=no*, q=quit) ? y

Quando concluir “make” selecionar a opção “q” de “quit” para reiniciar o servidor e após a impressora será reconhecida após clicado no botão “Find New Printers”


https://192.168.1.13:631/


Desligue e ligue a impressora novamente... vamos usar alguns comando para descobrir qual é o problema.

Se a impressora não funcionar ( não imprimir ) rode os comando abaixo:

# hp-check


# su ewb ( usuário comum ewb )


Vamos verificar o que há de errado.

$ hp-doctor


Please enter the root/superuser password: senha

Precisaremos instalar pacotes…

Do you want to update repository and Install missing/incompatible packages. (a=install all*, c=custom_install, s=skip) : a

Do you want to add missing groups lp,lpadmin to user?(y=yes*, n=no) y

Checking for HP Properitery Plugin's....
Plugin's are missing. Press 'y' to install the plugin(y=yes*, n=no): y

Password: senha

Enter option (d=download*, p=specify path, q=quit) ? d

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y
Mudar para root.

$ su


Vamos verificar o que há de errado ...

# hp-check

# service cups restart
Restarting Common Unix Printing System: cupsd.

# /etc/init.d/samba restart
[ ok ] Stopping Samba daemons: nmbd smbd.
[ ok ] Starting Samba daemons: nmbd smbd.


# lpstat -a
HP_LaserJet_Professional_M1132_MFP accepting requests since Thu 18 Jul 2013 12:09:27 PM BRT


# apt-cache rdepends cups-common
cups-common
Reverse Depends:
libnet-cups-perl
cups-filters
cups-filters
libcups2
cups-ppdc



  


2. Re: Debian 7 - CUPS 1.5.3 - HP_LaserJet_Professional_M1132_MFP

Perfil removido
removido

(usa Nenhuma)

Enviado em 14/11/2013 - 12:23h

alguma sugestao ? obrigado...






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts