LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Epson USB printer not detected by cups (https://www.linuxquestions.org/questions/slackware-14/epson-usb-printer-not-detected-by-cups-948209/)

ahzthecat 06-04-2012 01:43 AM

Been looking around, and have more questions. What directory should all these ppd files and such be installed to in Slackware? Seems the avasys source installs to the wrong places in Arch Linux, could I be seeing a similar issue? Where does Slackware keep its printer drives and whatnot?

check the cups man page perhaps?

ahzthecat 06-04-2012 01:59 AM

From man cups-driverd


Code:

DRIVERS
      Drivers can be static PPD files under the /usr/share/cups/model  direc-
      tory  or  programs under the /usr/lib/cups/driver directory. Static PPD
      files must conform to the Adobe PPD File Format  Specification  version
      4.3  and  may  be compressed using the gzip(1) program. Driver programs
      must implement the command-line interface shown in the next section.

These directories are all empty on my -current system after installing the openprinting.org package.

ahzthecat 06-04-2012 02:19 AM

Decided to remove the driver package and try to reinstall. When I did, I saw this

Code:

Removing package /var/log/packages/epson-inkjet-printer-escpr-1.2.0-1lsb3.2.i486...
Removing files:
  --> Deleting symlink /opt/epson-inkjet-printer-escpr/lib/libescpr.so
  --> Deleting symlink /opt/epson-inkjet-printer-escpr/lib/libescpr.so.1
  --> Deleting /opt/epson-inkjet-printer-escpr/cups/lib/filter/epson-escpr
  --> Deleting /opt/epson-inkjet-printer-escpr/cups/lib/filter/epson-escpr-wrapper
  --> Deleting /opt/epson-inkjet-printer-escpr/doc/AUTHORS
  --> Deleting /opt/epson-inkjet-printer-escpr/doc/COPYING
  --> Deleting /opt/epson-inkjet-printer-escpr/doc/NEWS
  --> Deleting /opt/epson-inkjet-printer-escpr/doc/README
  --> Deleting /opt/epson-inkjet-printer-escpr/doc/README.ja
  --> Deleting /opt/epson-inkjet-printer-escpr/lib/libescpr.so.1.0.0

  --> Deleting /opt/epson-inkjet-printer-escpr/ppds/Epson/Epson-PM-A890-epson-inkjet-printer-escpr.ppd.gz

  --> Deleting /opt/epson-inkjet-printer-escpr/share/paper_list.csv
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/share/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/ppds/Epson/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/ppds/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/lib/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/doc/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/cups/lib/filter/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/cups/lib/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/cups/
  --> Deleting empty directory /opt/epson-inkjet-printer-escpr/

Looks like converting the rmp with rpm2tgz and then installing the resulting package writes all the files to the /opt directory. Thus CUPS can't find it and my printer doesn't work...right?

ahzthecat 06-04-2012 06:58 AM

Here is the ppd, right where it's supposed to be, but why is there an asterisk after the filename?

I think the permissions are correct, are they?

Code:

root@slacktop:/usr/lib/cups/driver# ls -l
total 80
-rwxr-xr-x 1 root root 79036 Jun  3 15:18 Epson-PM-A890-epson-escpr-en.ppd*


kareempharmacist 06-04-2012 07:49 AM

check this out
http://forums.whirlpool.net.au/archive/961288

kareempharmacist 06-04-2012 07:54 AM

Quote:

Originally Posted by ahzthecat (Post 4694927)


Looks like converting the rmp with rpm2tgz and then installing the resulting package writes all the files to the /opt directory. Thus CUPS can't find it and my printer doesn't work...right?

right ..!!

ahzthecat 06-04-2012 08:22 AM

also, there's this output from lpinfo... no direct usb

Code:

root@slacktop:~# lpinfo -v
direct scsi
network smb
network http
network socket
network ipp
network lpd
network beh
direct hp
direct hpfax
root@slacktop:~#

Which config file do I monkey with now?

I've already uncommented the usb printer line in rc.modules and rebooted...

ahzthecat 06-05-2012 02:02 AM

Googled and googled today, found lots of people with similar problems, but no solutions. One thread on the Linux Mint forums suggested upgrading the kernel to fix the connectivity issue. Is it possible that changing kernels would work in this case? I found a post about compiling and installing the current stable kernel in 13.37...is that worth a shot, or do I run the risk of turning a small problem into a large one?

Here's the link...
https://abi71.wordpress.com/2012/02/...ackware-13-37/

kareempharmacist 06-05-2012 07:42 AM

Backup your important data first
you can do ti to gain experience but remember u may fail and have to install your system from the beginning.. but it worth
now I am using slackopuppy on my dell inspiron 6400 just for fun and to learn linux well asnd gain experience ..
I am trying to learn VectorLinux which has EXCELLENT HARDWARE DETECTION ..It ran on my Fujitsu Siemens laptop on which nothing could run at all ..and remember.. no pain no gain..but I want to say something ..the best place for this thread was the hardware forum
http://www.linuxquestions.org/questi...x-hardware-18/
there you may find experts in hardware configuration so next time remember to place your thread in the most suitable forum.ou
I wish you good luck .and please inform me of any success you make .I am Linuxically connected with you..!!

ahzthecat 06-06-2012 11:19 PM

Vector Linux is great, I ran it on my Inspiron 1100 for a long time because I couldn't get 13.37 to run properly. Im currently using Slackware -current on the old Dell, and it runs fine, if a little bit slow.

I actually have installed the Avasys drivers on the Dell and it sees the printer just fine, prints and everything. Looking more and more like an update on my 64bit system is in order.


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