LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-12-2016, 01:59 PM   #16
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,432

Rep: Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061

The lsmod command confirmed that the required modules were loaded. You didn't need to issue the modprobe command, unless the module was not already loaded. However, the fact that the printer is not enumerated when you run the CUPS parallel backend manually is a problem IMO. I would have expected to see output returned similar to this...
[CODE]/usr/lib/cups/backend/parallel
direct parallel:/dev/lp0 "Lexmark E330..." "Parallel Port #1"

Quote:
Edit : just thought, it may help you to know that in the printer properties, the Device URI is parallel:/dev/lp0
Check the /dev/lp0 exists I guess
Code:
ls -l /dev/lp*
and make sure that you're using the correct lp* device node in CUPS printer definition.

A bit of useful diagnostic advice with respect to parallel port connected printers is provided here:
http://www.linuxquestions.org/questi...ups-lpt-35083/
In particular, see what is reported by the kernel (if anything) with
Code:
 dmesg | grep -i printer
and
Code:
cat /proc/sys/dev/parport/parport*/autoprobe*
 
1 members found this post helpful.
Old 05-12-2016, 05:12 PM   #17
LateLesley
LQ Newbie
 
Registered: Jun 2006
Location: Glasgow, Scotland, UK
Distribution: Linux Mint 17.3
Posts: 10

Original Poster
Rep: Reputation: 0
Code:
xxxxxxxxxxxxxxxxxxxx ~ $ ls -l /dev/lp*
crw-rw---- 1 root lp 6, 0 May 12 14:22 /dev/lp0
xxxxxxxxxxxxxxxxxxxx ~ $ dmesg | grep -i printer
[   48.382899] parport0: Printer, Lexmark International Lexmark E330
xxxxxxxxxxxxxxxxxxxx ~ $ cat /proc/sys/dev/parport/parport*/autoprobe*
CLASS:PRINTER;
MODEL:Lexmark E330;
MANUFACTURER:Lexmark International;
DESCRIPTION:Lexmark E330;
COMMAND SET:PCL 6 Emulation, PostScript Level 3 Emulation, NPAP, PJL;
xxxxxxxxxxxxxxxxxxxx ~ $
??? So does this mean is sees the Lpt port, and the printer??? I'll have a look at that link too.

Thanks
 
Old 05-12-2016, 06:13 PM   #18
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,432

Rep: Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061
Ok, that output looks promising. In addition, the printer is advertising itself as PCL 6 and PS level 3 capable. So generic postscript or PCL configuration should work.
 
Old 05-12-2016, 08:19 PM   #19
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,432

Rep: Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061
I'm assuming that you have executed /usr/lib/cups/backend/parallel as user and as root? If not, try
Code:
sudo /usr/lib/cups/backend/parallel
Is the user account a member of the 'lp' group?
 
1 members found this post helpful.
Old 05-12-2016, 08:42 PM   #20
LateLesley
LQ Newbie
 
Registered: Jun 2006
Location: Glasgow, Scotland, UK
Distribution: Linux Mint 17.3
Posts: 10

Original Poster
Rep: Reputation: 0
Ummm the answer to those questions is no, and I've no idea.

Lets try sudo -

Code:
xxxxxxxxxxxxxxxxxxx ~ $ sudo /usr/lib/cups/backend/parallel
[sudo] password for xxxxxxxxxx: 
direct parallel:/dev/lp0 "unknown" "LPT #1" "" ""
xxxxxxxxxxxxxxxxxxx ~ $
ah hah! So it works with sudo. How do I change permissions on this then? And how do I check if my account is part of the lp group, and add it if it isn't?

Thanks @ferrari
 
Old 05-12-2016, 09:33 PM   #21
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,432

Rep: Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061
This will tell you which groups the user account belongs to
Code:
groups
I'm not a Mint user, but something like this can be used to add $USER to the lp group if required
Code:
sudo usermod -aG lp $USER
The next stage will be to configure the printer. I'm thinking that you need to start over with this stage.

Last edited by ferrari; 05-12-2016 at 09:36 PM.
 
1 members found this post helpful.
Old 05-12-2016, 09:36 PM   #22
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Nope, your right; the driver is not installed.
You have to run the script as root to install the driver.

Since Mint is based on Ubuntu this driver on this page should work.
https://us.driverscollection.com/?fi...9bba47877f28c7

This was the only other driver for Lexmark I could find.
http://support.lexmark.com/index?pag...e=RU&locale=en

This might be the last resort- And yes you would want a driver for 64-bit.
https://community.linuxmint.com/tutorial/view/220

Here's 64 bit:
This Linux driver for 64- bit Debian Package Manager based distros contains the following package
http://support.lexmark.com/index?doc...&userlocale=RU

ferrari is good with this. If anyone can help you I think it's him.

Last edited by Ztcoracat; 05-12-2016 at 09:47 PM.
 
Old 05-12-2016, 09:50 PM   #23
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
http://ubuntuforums.org/showthread.php?t=1477154
 
  


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
[SOLVED] How do I configure Lexmark Printer when not on Linux Mint list? Virginia Gal Linux Mint 1 04-16-2014 09:41 AM
Lexmark 4039 won't work in MDK 10.1 with cups. camorri Linux - Hardware 1 04-04-2005 08:32 PM
problems configuring lexmark 100 printer with cups gutman007 Linux - Newbie 0 04-18-2004 03:56 PM
Configuring CUPS with Lexmark printer Inexactitude Linux - Software 17 11-21-2003 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:17 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