LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware- Printing Problem (http://www.linuxquestions.org/questions/slackware-14/slackware-printing-problem-4175471192/)

PeterUK 07-28-2013 06:20 AM

Slackware- Printing Problem
 
Hi! I am unable to print in the slackware machine,

I have been looking at the doc on here

The printer is a "EPSON EPL-6200L"

I know there is nothing wrong with my printer as It print well if I use my old drive with a Ubuntu 10.04.

I can go to the http://localhost:631/printers/

and see the 3 printer I have installed:

Code:

EPSON-EPL-6200L        EPSON EPL-6200L        machine        Epson EPL-6100 PS3 - -UPS+Gutenprint v5.2.9        Idle
EPSON_EPL-6200L        EPSON EPL-6200L                EPSON EPL-6200 PS3 v3015.102        Idle
laserEpson        EPSON EPL-6200L        machine        EPSON EPL-6200 PS3 v3015.102 Idle

I have try many things but nothing works.

If I print from a program does like it send the job it disappear as completed and noting happened.

I also try to print to command line. by

Code:

lp -d laserEpson -P 2 /home/......../print.ps
reply:
request id is laserEpson-26 (1 file(s))

but nothing happen!

in the webpage say status: Idle - "Sending data to printer."

What am I missing?

PeterUK 07-28-2013 06:36 AM

UPDATE:

If I do the same command like but using the printer EPSON-EPL-6200L I get:

Idle - "Rendering completed"

On the web page printer (http://localhost:631/printers/) but it stay on there and nothing happen.

camorri 07-28-2013 06:48 AM

According to Linuxprinting.org, you only need a ppd file installed to make your printer work. See this link.

-->https://www.openprinting.org/driver/Postscript-Epson

I can not tell from what you have posted if you have the ppd file or not, or what driver(s) you have tried.

Stuferus 07-28-2013 07:04 AM

did you try: http://sourceforge.net/projects/epsonepl/ ?
as far as i have googled it, epson has only a driver for the EPL-6200 (without L).
i hope the driver from the link helps.. found many many more old forum threads in other forums.. mostly from 2008, but no solutions for that model.

back in the day i hated to find any printer i buyed was a GDI printer (aka windows only model).

greatings.

PeterUK 07-28-2013 07:19 AM

I add another printer and I add the ppd from: in the option load pdd from the browser.

usr/share/cups/model/epson_ppd/epl6200

Also download those pdd from the file you suggested, un-compress and add another printer loading:

/...../ppds/Epson/Epson-EPL-6200_PS3-Postscript-Epson-en.ppd.gz

But both just after printing say:

Idle - "Sending data to printer." (and nothing happen at the printer)

PeterUK 07-28-2013 07:27 AM

UPDATE:

This is my /etc/cups/cupsd.conf file

Quote:

LogLevel warn
SystemGroup sys root
Listen localhost:631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS
DefaultAuthType Basic
WebInterface Yes
<Location />
Order allow,deny
</Location>
<Location /admin>
Order allow,deny
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
<Policy default>
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
<Policy authenticated>
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
JobPrivateAccess default
JobPrivateValues default
MaxLogSize 2000000
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
I added this
Quote:

BrowseAddress @LOCAL
BrowseAllow 192.168.0.*
But I removed it as did not make any different.

I also should say I am connected to the Printer using a USB cable.

mrclisdue 07-28-2013 08:37 AM

Check /var/log/cups/access_log and error_log. There are often clues in there which may offer help. I have a samsung printer which requires that I manually place rastertosamsung* files in /usr/lib/cups/filter.

cheers,

PeterUK 07-28-2013 09:16 AM

Quote:

Originally Posted by mrclisdue (Post 4998329)
Check /var/log/cups/access_log and error_log. There are often clues in there which may offer help. I have a samsung printer which requires that I manually place rastertosamsung* files in /usr/lib/cups/filter.

cheers,

Delete everything, and the went to access log and error log, clear them and then:

Install the two printer pdd (one with the system and then one someone told me to download)

send two files to print.

and I got no error in error log and in the access file:
Quote:

CUPS-Add-Modify-Printer successful-ok
.
.
Create-Job successful-ok
.
.
Send-Document successful-ok
.
.
-Subscription successful-ok
I got lots of "Subscription successful-ok" after it send the document. Maybe me refreshing the browser.

But the printer is noting, Some one around with a Windows labtop pop in and in less than fine minutes we manage to print in windows OS very annoying...

PeterUK 07-28-2013 09:17 AM

UPDATE:
On the queue view in X say those print jobs are completed !

camorri 07-28-2013 09:34 AM

After a closer look, it looks like the epsom epl driver is the answer.

This link -->http://sourceforge.net/projects/epsonepl/

has the driver. Sorry, I missed the 'L' at the end of the printer identification. It appears
Quote:

Stuferus
is correct. Give that driver a try.

Stuferus 07-28-2013 05:31 PM

Quote:

Originally Posted by camorri (Post 4998349)
After a closer look, it looks like the epsom epl driver is the answer.

This link -->http://sourceforge.net/projects/epsonepl/

has the driver. Sorry, I missed the 'L' at the end of the printer identification. It appears Stuferus is correct. Give that driver a try.

thank you.

Raveriux 07-29-2013 09:27 AM

CUPS 1.5.4 have some problems when using USB printers. The problems in most cases are solved when the kernel module usblp is blacklisted.

PeterUK 07-29-2013 04:27 PM

Quote:

Originally Posted by Stuferus (Post 4998536)
thank you.

I have tried 3 things today but nothing works:

One:

Load direct from the website admin:

Quote:

file:/....../printer/epsoneplijs-0.4.1/epsoneplijs-0.4.1/foomatic_PPDs/Epson-EPL-6200L-epl6200l-cups.ppd.gz
I get the error:
Quote:

Set Printer Options EPSON_EPL-6200L3 Error
Unable to open PPD file:
Line longer than the maximum allowed (255 characters)
Two:
I also try this other file direct:
Quote:

/tmp/.../printer/epsoneplijs-0.4.1/epsoneplijs-0.4.1/cups/Epson-EPL-5900L-epl5900l-cups.ppd.gz
I get the same error.

Three:
Try to compile this (http://sourceforge.net/projects/epsonepl/)

I tried several things:

one is by command like the install text:
Quote:

./configure --prefix=/usr
make
make check
mkdir /tmp/epson
make install DESTDIR=/tmp/epson
But I go to the folder and there is nothing, the terminal output is:
Quote:

bash-4.2# make install DESTDIR=/tmp/epson
/usr/bin/ginstall -c ijs_server_epsonepl -c /usr/bin/ijs_server_epsonepl
I looked in that /usr/bin and the P (ijs_server_epsonepl) is in there.

I looked in slackbuild and there is nothing about footmatic.

I also try to installed by there slake.build file but if fail on config on: "--docdir=/usr/doc/$PRGNAM-$VERSION"
and "--build=$ARCH-slackware-linux"
I looked in ./configure --help' but nothing in there about it.

Here is the slack build scrip I did by hand:

Quote:

#!/bin/sh

# Slackware build script for escpr

# Copyright 2013 Ruben Schuller
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

PRGNAM=epsoneplijs
VERSION=${VERSION:-0.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

TARNAM=$PRGNAM-$VERSION.tgz

if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$TARNAM
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;

#./bootstrap

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
# --docdir=/usr/doc/$PRGNAM-$VERSION \
# --build=$ARCH-slackware-linux

make
make install DESTDIR=$PKG

find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM-$VERSION.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

But that is installing nothing this is the package:

Quote:

./
usr/
usr/doc/
usr/doc/epsoneplijs-0.4.1/
usr/doc/epsoneplijs-0.4.1/epsoneplijs.SlackBuild
install/
install/slack-desc

PeterUK 07-29-2013 04:29 PM

UPDATE2:

How do I use this this ijs_server_epsonepl?

PeterUK 07-29-2013 05:10 PM

UPDATE3:
If I do:
ijs_server_epsonepl -P 2 /home/pedro/workspace/PCBLayout/CPLD_Oscilator/Osc_footprint3.2_to_print.ps
so, what printer is this?

If I do the ones from this system and suggested which I can installed from the website which are:
Quote:

EPSON_EPL-6200L EPSON EPL-6200L 1525Ubu Epson EPL-6200 PS3 , Postscript-Epson 20130226 (OpenPrinting LSB 3.2) Idle
EPSON_EPL-6200L2 EPSON EPL-6200L 1525Ubu EPSON EPL-6200 PS3 v3015.102
I get:
Quote:

Confirmed EPL-6200L
Unknown transport method: 0
Also for EPSON_EPL-6200L2, I am not sure now if I must use their ppd or I am missing something in the installetion


All times are GMT -5. The time now is 08:10 PM.