LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   CUPS claims job is complete but printer does nothing (https://www.linuxquestions.org/questions/slackware-14/cups-claims-job-is-complete-but-printer-does-nothing-4175555349/)

Fabio_ppo 10-05-2015 01:48 PM

CUPS claims job is complete but printer does nothing
 
I have a printer connected to wifi network. When I try to print a file on Linux, CUPS claims job is complete but printer does nothing, although it used to work perfectly. Interestingly, printing a "Test Page" through CUPS does not work, but Printing a"Self Test Page" through CUPS works.

Printer: Brother DCP-L2540DW

CUPS debug output: http://pastebin.pw/34/

Diagnoses:
Code:

bash-4.2# ping 192.168.1.117
PING 192.168.1.117 (192.168.1.117) 56(84) bytes of data.
64 bytes from 192.168.1.117: icmp_seq=1 ttl=255 time=24.0 ms

bash-4.2# nmap 192.168.1.117
Starting Nmap 6.40 ( http://nmap.org ) at 2015-10-05 10:14 EDT
Nmap scan report for BRWC48E8F8D9102 (192.168.1.117)
Host is up (0.031s latency).
Not shown: 993 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
9100/tcp open  jetdirect
MAC Address: C4:8E:8F:8D:91:02 (Unknown)
Nmap done: 1 IP address (1 host up) scanned in 3.85 seconds

bash-4.2# /usr/lib64/cups/backend/snmp
network lpd://BRWC48E8F8D9102/BINARY_P1 "Brother DCP-L2540DW series" "Brother DCP-L2540DW series" "MFG:Brother;CMD:PJL,PCL,PCLXL,URF;MDL:DCP-L2540DW series;CLS:PRINTER;CID:Brother Laser Type1;URF:W8,CP1,IS4-1,MT1-3-4-5-8,OB10,PQ4,RS300-600,V1.3,DM1;" ""

bash-4.2# lpinfo -v
network http
network ipp
network lpd
network socket
network ipps
direct hp
network https
network beh
network smb
direct hpfax
network lpd://BRWC48E8F8D9102/BINARY_P1


allend 10-05-2015 03:27 PM

Welcome to LQ!

You can ping the printer at the IP address, but can you ping the printer by the name in the Device URI? i.e. Does this work?
Code:

ping -c2 BRWC48E8F8D9102
Also, it appears that you are running a 64bit system. Do you have support for 32bit installed? http://docs.slackware.com/howtos:har...r_installation

Have you tried just printing a plain text file? On occasion, I have been unable to print the CUPS test page, but normal printing works.

Fabio_ppo 10-05-2015 04:08 PM

Thank you allend.

It does ping the printer name, also, I followed the instructions on that link when I installed the drivers. The printer used to be working on the same virtual Machine without issues.

Fabio_ppo 10-05-2015 07:55 PM

Follow up
 
I can print on windows without issues. I can even scan documents on the same machine that does not print.

allend 10-08-2015 07:05 AM

My apologies, but on-line life has had to play second fiddle to the real world.
Your networking stack seems to be OK, which is good.
That you can scan, which uses 64bit, confirms that networking and the scanner driver installation is OK.
If printing is not working, then I would be looking at the 32bit support. Have you made any changes on the virtual machine that could have had an effect? Have you tried re-installing the 32bit support packages and the Brother printer packages that you created when following the instructions in the earlier link?

gus3 10-12-2015 12:08 PM

Have you recently upgraded the cups-*.txz package? If so, the queue may be paused (accepting jobs but not printing them right away). Here's a (very terse) fix:

http://server-name:631/ will get you the CUPS service home page. Click "Printers" at the top, then click the print queue name in the printer list.

Under the "Maintenance" drop-down, if you see an entry titled "Resume Printer", that means the queue is paused. Go ahead and click "Resume Printer". The browser will ask for a username and password. The username is "root" and the password is the root password on the print server system.

If all goes well, the printer will print your queued jobs. NOTE: that includes duplicate jobs! You may want to clear out the print queue before selecting "Resume Printer".


All times are GMT -5. The time now is 02:22 AM.