LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-13-2019, 04:12 PM   #16
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874

$ groups

lpadmin lets you administer the printer. "lp" lets you print. Assuming...
 
Old 11-14-2019, 12:02 AM   #17
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,864

Rep: Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152
I doubt that it is a permissions problem. That would be evident form the error_log.
 
Old 11-14-2019, 12:16 AM   #18
John_Brass
Member
 
Registered: Apr 2015
Distribution: Scientific Linux, Linux Mint
Posts: 32

Original Poster
Rep: Reputation: Disabled
Indeed, I was not in the "lp" group, just in the "lpadmin". I added but it did not help.
 
Old 11-14-2019, 08:10 AM   #19
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
So driver, ppd, and config then... Does the printer function for other things (windows / self test pages / copying???). The first time I setup hplip (hpdeskjet BITD), there was nothing wrong with my config. I was missing pnm2ppa, AND my printer was OUT OF INK. Which the drivers do not / did not tell me at the time. Although it's an HP printer out of ink means below 30% or so...
 
Old 11-14-2019, 10:57 AM   #20
John_Brass
Member
 
Registered: Apr 2015
Distribution: Scientific Linux, Linux Mint
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
So driver, ppd, and config then... Does the printer function for other things (windows / self test pages / copying???). The first time I setup hplip (hpdeskjet BITD), there was nothing wrong with my config. I was missing pnm2ppa, AND my printer was OUT OF INK. Which the drivers do not / did not tell me at the time. Although it's an HP printer out of ink means below 30% or so...
As I mentioned in the introduction, both printers work perfectly from my laptop, which runs under the same OS, Linux Mint 18.3. The only difference between these two OSs is, that the laptop was installed from scratch (contained Windows from manufacturer), while the desktop was running under Mint 16 before (and used the printers correctly). When installing Mint 18.3 I kept the /home directory. which was on a separate partition. Other partitions (/, /boot) have been formatted and the system installed after. And of course there is a difference between laptop and desktop in the hardware. They use different USB controllers and internal bridges. But this was handled correctly under Mint 16 already. This is why I do not understand the error.

Thanks,

John
 
Old 11-14-2019, 12:34 PM   #21
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,864

Rep: Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152
Quote:
When installing Mint 18.3 I kept the /home directory. which was on a separate partition.
This won't be related to the problem at all, so not an issue.

For HPLIP related issues, you could use the 'hp-check' or 'hp-doctor' CLI utilities...
http://manpages.ubuntu.com/manpages/...p-check.1.html
http://manpages.ubuntu.com/manpages/...-doctor.1.html
https://developers.hp.com/hp-linux-i...roubleshooting

Last edited by ferrari; 11-14-2019 at 12:35 PM.
 
Old 11-14-2019, 03:47 PM   #22
John_Brass
Member
 
Registered: Apr 2015
Distribution: Scientific Linux, Linux Mint
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
This won't be related to the problem at all, so not an issue.
I hope so. But I am not sure about this (but I am not an expert). The /home directory contains local configuration files. Is it sure, the Mint installation has not applied dead configuration parameters from the old Mint 16 during the installation?

Quote:
Originally Posted by ferrari View Post
For HPLIP related issues, you could use the 'hp-check' or 'hp-doctor' CLI utilities...
You mean for the HP printer? Because this does not refer to the Brother printer. Both are inoperative.

Thanks,

John
 
Old 11-15-2019, 02:28 AM   #23
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,864

Rep: Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152
Quote:
I hope so. But I am not sure about this (but I am not an expert). The /home directory contains local configuration files. Is it sure, the Mint installation has not applied dead configuration parameters from the old Mint 16 during the installation?
Anything in /home is specific to users, and nothing CUPS-related lives there.

Quote:
You mean for the HP printer? Because this does not refer to the Brother printer. Both are inoperative.
Yes, I get that, but the HPLIP utilities are a good place to start since they offer comprehensive checks about problems that may exist in your CUPS environment.
 
Old 11-15-2019, 08:39 AM   #24
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Have you tried a different USB port or a powered USB hub?
 
Old 11-16-2019, 12:06 AM   #25
John_Brass
Member
 
Registered: Apr 2015
Distribution: Scientific Linux, Linux Mint
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
Have you tried a different USB port or a powered USB hub?
Yes, of course. I've learned already, the cheap USB hubs don't connect correctly all peripherals. Brother did not work with one, HP, however, did. Raspberry worked only with the hub distributed by Raspberry, I tried four different ones. Now I used only motherboard USB ports, two different ones.
 
Old 11-16-2019, 01:35 AM   #26
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,864

Rep: Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152
Can you confirm the configured CUPS drivers (as per my request in post #6)
Code:
sudo egrep -i "name|model|filter" /etc/cups/ppd/*
Let's check that they are as expected for the printers concerned.
 
Old 11-16-2019, 04:21 AM   #27
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,391

Rep: Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765
For the Brother printer, it may be that the OP has installed a 64-bit version Mint 18, but has not installed the required ia32-libs, as specified in Pre-required Procedure (5) here.
 
Old 11-16-2019, 04:24 PM   #28
John_Brass
Member
 
Registered: Apr 2015
Distribution: Scientific Linux, Linux Mint
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
Can you confirm the configured CUPS drivers (as per my request in post #6)
Code:
sudo egrep -i "name|model|filter" /etc/cups/ppd/*
Let's check that they are as expected for the printers concerned.
Here is the output:

Code:
$ sudo egrep -i "name|model|filter" /etc/cups/ppd/*
/etc/cups/ppd/Brother_HL-L2340D_series.ppd:*PCFileName: "HLL2340D.PPD"
/etc/cups/ppd/Brother_HL-L2340D_series.ppd:*cupsModelNumber:       72
/etc/cups/ppd/Brother_HL-L2340D_series.ppd:*cupsFilter:    "application/vnd.cups-postscript 0 brother_lpdwrapper_HLL2340D"
/etc/cups/ppd/Brother_HL-L2340D_series.ppd:*cupsFilter:    "application/vnd.cups-pdf 0 brother_lpdwrapper_HLL2340D"
/etc/cups/ppd/Brother_HL-L2340D_series.ppd:*ModelName: "HL-L2340D"
/etc/cups/ppd/Brother_HL-L2340D_series.ppd:*NickName: "Brother HL-L2340D for CUPS "
/etc/cups/ppd/Brother_HL-L2340D_series.ppd:*ShortNickName: "Brother HL-L2340D"
/etc/cups/ppd/Brother_HL-L2340D_series.ppd:     /devname (%disk0%) def 
/etc/cups/ppd/Brother_HL-L2340D_series.ppd:             devname exch 48 add 5 exch put 
/etc/cups/ppd/Brother_HL-L2340D_series.ppd:             devname devstatus { 
/etc/cups/ppd/Brother_HL-L2340D_series.ppd:     {(fonts/)AppendName exch pop mark exch
/etc/cups/ppd/Brother_HL-L2340D_series.ppd:      {}=string filenameforall counttomark
/etc/cups/ppd/Brother_HL-L2340D_series.ppd:  }=string filenameforall
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:*PCFileName: "HLL2340D.PPD"
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:*cupsModelNumber:       72
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:*cupsFilter:    "application/vnd.cups-postscript 0 brother_lpdwrapper_HLL2340D"
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:*cupsFilter:    "application/vnd.cups-pdf 0 brother_lpdwrapper_HLL2340D"
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:*ModelName: "HL-L2340D"
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:*NickName: "Brother HL-L2340D for CUPS "
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:*ShortNickName: "Brother HL-L2340D"
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:   /devname (%disk0%) def 
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:           devname exch 48 add 5 exch put 
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:           devname devstatus { 
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:     {(fonts/)AppendName exch pop mark exch
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:      {}=string filenameforall counttomark
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:  }=string filenameforall
/etc/cups/ppd/HP_Officejet_6100.ppd:*PCFileName: "hp-officejet_6100.ppd"
/etc/cups/ppd/HP_Officejet_6100.ppd:*ModelName: "HP Officejet 6100"
/etc/cups/ppd/HP_Officejet_6100.ppd:*ShortNickName: "HP Officejet 6100"
/etc/cups/ppd/HP_Officejet_6100.ppd:*NickName: "HP Officejet 6100, hpcups 3.16.3"
/etc/cups/ppd/HP_Officejet_6100.ppd:*cupsModelNumber: 0
/etc/cups/ppd/HP_Officejet_6100.ppd:*cupsFilter: "application/vnd.cups-raster 0 hpcups"
/etc/cups/ppd/HP_Officejet_6100.ppd:*OpenUI *ColorModel/Output Mode: PickOne
/etc/cups/ppd/HP_Officejet_6100.ppd:*OrderDependency: 10 AnySetup *ColorModel
/etc/cups/ppd/HP_Officejet_6100.ppd:*DefaultColorModel: RGB
/etc/cups/ppd/HP_Officejet_6100.ppd:*ColorModel RGB/Color: "<</cupsColorSpace 17/cupsBitsPerColor 8/cupsRowStep 0>>setpagedevice"
/etc/cups/ppd/HP_Officejet_6100.ppd:*ColorModel CMYGray/High Quality Grayscale: "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 1>>setpagedevice"
/etc/cups/ppd/HP_Officejet_6100.ppd:*ColorModel KGray/Black Only Grayscale: "<</cupsColorSpace 1/cupsBitsPerColor 8/cupsRowStep 2>>setpagedevice"
/etc/cups/ppd/HP_Officejet_6100.ppd:*CloseUI: *ColorModel
Thanks,

John
 
Old 11-16-2019, 04:31 PM   #29
John_Brass
Member
 
Registered: Apr 2015
Distribution: Scientific Linux, Linux Mint
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
For the Brother printer, it may be that the OP has installed a 64-bit version Mint 18, but has not installed the required ia32-libs, as specified in Pre-required Procedure (5) here.
Well, it might be. Unfortunately I do not remember all steps I did during the installation, I did not note them and it is possible I did not follow the same procedure when installing the drivers on the Laptop. It was a half year later when I installed on the Desktop. In both cases I simply followed the instructions I found on the net.

On the other hand the HP printer did not require to install external drivers, it was configured by the software included in Mint 18.3, in both cases.

Thanks,

John
 
Old 11-16-2019, 06:36 PM   #30
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,864

Rep: Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152
The PPD info confirms the filters that I would expect to be configured for the Brother and HP printers...
Code:
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:*cupsFilter:    "application/vnd.cups-postscript 0 brother_lpdwrapper_HLL2340D"
/etc/cups/ppd/Brother_HL-L2340D_series.ppd.O:*cupsFilter:    "application/vnd.cups-pdf 0 brother_lpdwrapper_HLL2340D"
Code:
/etc/cups/ppd/HP_Officejet_6100.ppd:*cupsFilter: "application/vnd.cups-raster 0 hpcups"
 
  


Reply

Tags
cups, mint, printer, upgrade


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
instant print from pop3 mail server ie emulate ipad print to hp printers PDock Linux - Software 2 12-08-2010 03:45 PM
[SOLVED] Cups and Samba to print one print job to 2 printers - tutorial added bourne Linux - General 7 09-18-2009 10:10 AM
Printers don't work after CUPSYS upgrade davcefai Debian 6 08-22-2006 01:31 PM
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 04:15 PM
recommendation on photo printers and general purpose printers raminolta Linux - Hardware 3 01-21-2004 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:06 PM.

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