LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-16-2018, 05:12 AM   #16
gerlinux
Member
 
Registered: Jan 2014
Location: Spain
Distribution: Debian GNU/Linux 10 \n \l gnome desktop
Posts: 128

Original Poster
Rep: Reputation: Disabled

That is what i got:
Quote:
mx @ mx: ~ $ lpstat -t
the task scheduler is running
Default system destination: MFCL2700DW
Device for MFC-L2700DW-series: usb: // Brother / MFC-L2700DW% 20series? serial = E73943H7N560045
Device for MFCL2700DW: usb: // dev / usb / lp0
MFC-L2700DW-series accepting requests from Mon 16 Jul 2018 11:49:42 CEST
MFCL2700DW accepting requests from Mon 16 Jul 2018 11:40:25 CEST
the MFC-L2700DW-series printer is disabled since Mon 16 Jul 2018 11:49:42 CEST -
Unplugged or turned off
the MFCL2700DW printer is now printing MFCL2700DW-1. activated since Mon 16 Jul 2018 11:40:25 CEST
Waiting for the printer to be available.
MFCL2700DW-1 mx 21504 Mon 16 Jul 2018 11:36:31 CEST
MFCL2700DW-2 mx 1024 Mon 16 Jul 2018 11:37:23 CEST
mx @ mx: ~ $ egrep -i "name | model | filter" / etc / cups / ppd / *
grep: /etc/cups/ppd/MFCL2700DW.ppd: Denied Permission
grep: /etc/cups/ppd/MFC-L2700DW-series.ppd: Permission denied
mx @ mx: ~ $
 
Old 07-16-2018, 05:19 AM   #17
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,790

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Code:
mx @ mx: ~ $ egrep -i "name | model | filter" / etc / cups / ppd / *
grep: /etc/cups/ppd/MFCL2700DW.ppd: Denied Permission
grep: /etc/cups/ppd/MFC-L2700DW-series.ppd: Permission denied
mx @ mx: ~ $
Run it with sudo...
Code:
sudo egrep -i "name|model|filter" /etc/cups/ppd/*
Ah, now I see what you're getting at - two printer configs
Code:
Default system destination: MFCL2700DW
Device for MFC-L2700DW-series: usb: // Brother / MFC-L2700DW% 20series? serial = E73943H7N560045
Device for MFCL2700DW: usb: // dev / usb / lp0
Only the first URL is valid. Delete the second with
Code:
sudo lpadmin -x MFCL2700DW
 
Old 07-16-2018, 05:24 AM   #18
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,790

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
It's not essential, but the printer can be configured as default printer using
Code:
sudo lpadmin -d MFC-L2700DW-series
 
Old 07-16-2018, 05:34 AM   #19
gerlinux
Member
 
Registered: Jan 2014
Location: Spain
Distribution: Debian GNU/Linux 10 \n \l gnome desktop
Posts: 128

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
It's not essential, but the printer can be configured as default printer using
Code:
sudo lpadmin -d MFC-L2700DW-series
I have done that. And the change I have seen is that when i send a document for printing there was a sign with the average of the process printing, which wasn't before. I don't know if that makes sense..
 
Old 07-16-2018, 05:37 AM   #20
gerlinux
Member
 
Registered: Jan 2014
Location: Spain
Distribution: Debian GNU/Linux 10 \n \l gnome desktop
Posts: 128

Original Poster
Rep: Reputation: Disabled
This is what I got when i did:
Quote:
root@mx:/home/mx# sudo egrep -i "name|model|filter" /etc/cups/ppd/*
*PCFileName: "textonly.ppd"
*ModelName: "Generic Text-Only Printer"
*ShortNickName: "Generic Text-Only Printer"
*NickName: "Generic Text-Only Printer"
*cupsFilter2: "text/plain text/plain 0 texttotext"
*cupsModelNumber: 0
*cupsFilter: "text/plain 0 texttotext"
*PrinterEncoding WINDOWS-1258/Windows 1258, Code Page 1258 (Vietnamese): ""
 
Old 07-16-2018, 05:56 AM   #21
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,790

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
That output for textonly.ppd is not relevant for your printer. I note from your earlier post that there is /etc/cups/ppd/MFC-L2700DW-series.ppd, and that is the correct PPD for the printer.

You can cancel any stale/pending print jobs with
Code:
cancel -a
It is possible to send a test print via the CUPS web interface using your favourite browser and navigating to

localhost:631/printers

or from a terminal using

Code:
lp -d MFC-L2700DW-series /usr/share/cups/data/testprint
 
Old 07-16-2018, 07:24 AM   #22
gerlinux
Member
 
Registered: Jan 2014
Location: Spain
Distribution: Debian GNU/Linux 10 \n \l gnome desktop
Posts: 128

Original Poster
Rep: Reputation: Disabled
When I tried to print a test:
Quote:
Unsupported format "application/vnd.cups-pdf-banner".
 
Old 07-16-2018, 07:31 AM   #23
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,790

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Try printing a PDF file instead.
 
Old 07-16-2018, 07:37 AM   #24
gerlinux
Member
 
Registered: Jan 2014
Location: Spain
Distribution: Debian GNU/Linux 10 \n \l gnome desktop
Posts: 128

Original Poster
Rep: Reputation: Disabled
no difference I am afraid.
 
Old 07-16-2018, 02:41 PM   #25
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,790

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Ok, check that the PPD exists
Code:
ls -l /dev/cups/ppd
and report printer status again
Code:
lpstat -t
If that checks out, but printing is still not working, we'll need to check for missing dependencies perhaps.
 
Old 07-17-2018, 07:49 AM   #26
gerlinux
Member
 
Registered: Jan 2014
Location: Spain
Distribution: Debian GNU/Linux 10 \n \l gnome desktop
Posts: 128

Original Poster
Rep: Reputation: Disabled
This is what I got when I tiped that:

Quote:
mx @ mx: ~ $ ls -l / dev / cups / ppd
ls: can not access '/ dev / cups / ppd': The file or directory does not exist
mx @ mx: ~ $ lpstat -t
the task scheduler is running
Default system destination: MFC-L2700DW-series
Device for MFC-L2700DW-series: usb: // Brother / MFC-L2700DW% 20series? serial = E73943H7N560045
MFC-L2700DW-series accepting requests from Tue 17 Jul 2018 14:36:46 CEST
the MFC-L2700DW-series printer is inactive. activated since Tue 17 Jul 2018 14:36:46 CEST
Thanks again Ferrari.
 
Old 07-17-2018, 03:09 PM   #27
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,790

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Doh! My mistake. That should have been
Code:
ls -l /etc/cups/ppd
 
Old 07-18-2018, 03:57 AM   #28
gerlinux
Member
 
Registered: Jan 2014
Location: Spain
Distribution: Debian GNU/Linux 10 \n \l gnome desktop
Posts: 128

Original Poster
Rep: Reputation: Disabled
Hi, i got this:
Quote:
mx@mx:~$ ls -l /etc/cups/ppd
total 216
-rw-r----- 1 root lp 217862 jul 15 11:41 MFC-L2700DW-series.ppd
thanks again!
 
Old 07-18-2018, 05:05 AM   #29
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,790

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Ok, then the following should confirm the driver details...
Code:
sudo egrep -i "name|model|filter" /etc/cups/ppd/MFC-L2700DW-series.ppd
Also, check that the filter backend is present...
Code:
ls -l /usr/lib/cups/filter/brother*
 
Old 07-18-2018, 05:37 AM   #30
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,790

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
BTW, check that this requirement is met...
http://support.brother.com/g/s/id/li...edirect=on#004
Quote:
Pre-required Procedure (5)
Related distributions
Debian 64 bit version, Ubuntu 64 bit version
Related products/drivers
printer/PC-FAX drivers
Requirement
ia32-libs or lib32stdc++ is required to be installed.

Last edited by ferrari; 07-18-2018 at 05:40 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing a Brother Printer MFC-J5330DW edhayes@tmp-az.com Linux Mint 11 02-27-2018 03:58 PM
[SOLVED] Brother MFC-L2700DW, I can't change the printer configuration lcharles Linux - Hardware 3 05-22-2017 03:52 PM
Installing drivers for printer, Brother MFC-J280W bplis* Linux - Software 5 11-27-2011 07:12 PM
Installing MFC-640CW brother printer in fedora 6 guy_ripper Linux - Hardware 2 12-25-2008 05:10 PM
Has anyone had any luck installing MFC-3420C Brother printer hbonds1 Linux - Hardware 0 12-27-2005 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration