LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-29-2013, 06:31 PM   #16
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16

UPDATE4:

I also move /.../foomatic_PPDs/Epson-EPL-6200L-epl6200l-cups.ppd.gz to etc/cups/ppd and then call from a terminal:

ijs_server_epsonepl Epson_EPL-6200Lx2 -P 2 /home/pedro/workspace/PCBLayout/CPLD_Oscilator/Osc_footprint3.2_to_print.ps

which Epson_EPL-6200Lx2 is the same file renamed

and the error is the same:
Quote:
Confirmed EPL-6200L
Unknown transport method: 0
 
Old 07-29-2013, 07:05 PM   #17
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
UPDATE4:

if I do:
Quote:
ijs_server_epsonepl Epson-EPL-6200L6
Epson EPL-5x00L IJS plugin version: 0.4.1
Copyright (c) 2003 Hin-Tak Leung, Roberto Ragusa
Built with <generic> <kernel usb device> support
Example usage: ijs_server_epsonepl EPL-5700L /dev/usb/lp0
EPL-5800L libusb
EPL-5900L libieee1284
so if I do:
ijs_server_epsonepl Epson-EPL-6200L6 /dev/usb/lp0 -P 2 /......./Osc_footprint3.2_to_print.ps

I get:

Quote:
Confirmed EPL-6200L
Using kernel usb device
Found 5800L/5900L/6100L/6200L
IOC Get Protocols: 0002/0004
IOC Bus Address: 0006/0003
IOC Device ID String: MFG:EPSON;CMD:ESCPAGES-02;MDL:EPL-6200L;CLS:PRINTER;DES:EPSON EPL-6200L;
Confirmed EPL-6200L
We don't know the reply size for the code 00, but we try to go on and read a lot (crossed fingers)
Reply: expected 255 bytes, got 16 bytes
**Bidirectional reply from printer different size from expected:
**If you don't see this message too often, it is probably OK
**See FAQ.
Printer replied: (len=16=0x0010)
<- 0000: 00 00 01 0c 00 1e 00 00 00 02 00 00 00 00 00 00
But printer at the printer nothing

also lsusb give--> Bus 006 Device 003: ID 04b8:0005 Seiko Epson Corp. Printer
so I guest its talking to the printer

Last edited by PeterUK; 07-29-2013 at 07:07 PM.
 
Old 07-29-2013, 07:12 PM   #18
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
UPDATE5:

Tried the other ppd and I get:
Quote:
Confirmed EPL-6200L
Using kernel usb device
Found 5800L/5900L/6100L/6200L
IOC Get Protocols: 0002/0004
IOC Bus Address: 0006/0003
IOC Device ID String: MFG:EPSON;CMD:ESCPAGES-02;MDL:EPL-6200L;CLS:PRINTER;DES:EPSON EPL-6200L;
Confirmed EPL-6200L
We don't know the reply size for the code 00, but we try to go on and read a lot (crossed fingers)
Reply: expected 255 bytes, got 126 bytes
**Bidirectional reply from printer different size from expected:
**If you don't see this message too often, it is probably OK
**See FAQ.
Printer replied: (len=126=0x007e)
<- 0000: 50 00 00 7a 00 1e 00 00 00 02 00 00 00 00 00 00
<- 0010: 51 b2 03 ef 01 00 ff ff 20 20 20 20 20 20 20 20
<- 0020: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
...
<- 0070: 00 00 ff ff ff ff ff ff 02 00 00 00 00 00
Quote:
Confirmed EPL-6200L
Using kernel usb device
Found 5800L/5900L/6100L/6200L
IOC Get Protocols: 0002/0004
IOC Bus Address: 0006/0003
IOC Device ID String: MFG:EPSON;CMD:ESCPAGES-02;MDL:EPL-6200L;CLS:PRINTER;DES:EPSON EPL-6200L;
Confirmed EPL-6200L
We don't know the reply size for the code 00, but we try to go on and read a lot (crossed fingers)
Reply: expected 255 bytes, got 16 bytes
**Bidirectional reply from printer different size from expected:
**If you don't see this message too often, it is probably OK
**See FAQ.
Printer replied: (len=16=0x0010)
<- 0000: 00 00 01 0c 00 1e 00 00 00 02 00 00 00 00 00 00
But nothing a the printer also.
 
Old 07-30-2013, 04:53 AM   #19
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware 14.0 64-bit
Posts: 228

Rep: Reputation: 41
Can you cd to /etc/cups and print the output of this command?

egrep -irH "epson|deviceuri"

Also after making changes to your printer config restart cups with

/etc/rc.d/rc.cups restart
 
Old 07-30-2013, 05:35 AM   #20
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by jostber View Post
Can you cd to /etc/cups and print the output of this command?

egrep -irH "epson|deviceuri"
here its:
Code:
ppd/EPSON_EPL-6200L3.ppd:*% You may save this file as 'Epson-EPL-6200L-epl6200l-cups.ppd'
ppd/EPSON_EPL-6200L3.ppd:*Manufacturer:	"Epson"
ppd/EPSON_EPL-6200L3.ppd:*ModelName:     "Epson EPL-6200L, Foomatic + epl6200l"
ppd/EPSON_EPL-6200L3.ppd:*NickName:      "Epson EPL-6200L, Foomatic + epl6200l"
ppd/EPSON_EPL-6200L3.ppd:*ShortNickName: "Epson EPL-6200L"
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #  'url' => 'http://sourceforge.net/projects/epsonepl/',
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #  'id' => 'Epson-EPL-6200L',
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #  'cmd' => 'gs -q -dBATCH -dSAFER -dNOPAUSE -sProcessColorModel=DeviceGray -dBitsPerSample=1 -sDEVICE=ijs %A %Z -sIjsServer=ijs_server_epsonepl -dIjsUseOutputFD -sDeviceManufacturer=Epson -sDeviceModel=EPL6200L -sIjsParams="%B" -sOutputFile=- -',
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #          'idx' => 'ev/epsonepl-PageSize-Letter'
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #          'idx' => 'ev/epsonepl-PageSize-A4'
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #          'idx' => 'ev/epsonepl-PageSize-A5'
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #          'idx' => 'ev/epsonepl-PageSize-B5'
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #          'idx' => 'ev/epsonepl-PageSize-Custom'
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #          'idx' => 'ev/epsonepl-PageSize-Env10'
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #          'idx' => 'ev/epsonepl-PageSize-EnvC5'
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #          'idx' => 'ev/epsonepl-PageSize-EnvDL'
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #          'idx' => 'ev/epsonepl-PageSize-EnvISOB5'
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #          'idx' => 'ev/epsonepl-PageSize-EnvMonarch'
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #          'idx' => 'ev/epsonepl-PageSize-Executive'
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #          'idx' => 'ev/epsonepl-PageSize-Legal'
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #      'idx' => 'opt/epsonepl-PageSize',
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #      'idx' => 'opt/epsonepl-Density',
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #      'idx' => 'opt/epsonepl-Dpi',
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #      'idx' => 'opt/epsonepl-FlowControl',
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #      'idx' => 'opt/epsonepl-Ritech',
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #      'idx' => 'opt/epsonepl-TonerSave',
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #  'make' => 'Epson',
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #    href="http://sourceforge.net/projects/epsonepl/">
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #    epsonepl</a> project.<p>
ppd/EPSON_EPL-6200L3.ppd:*% COMDATA #    Epson.<p>
ppd/EPSON_EPL-6200L.ppd:*%  License agreement of Postscript Printer Description file for EPSON EPL-6200 PS3
ppd/EPSON_EPL-6200L.ppd:*%  Copyright (C) 2003 Seiko Epson Corporation
ppd/EPSON_EPL-6200L.ppd:*% PPD for EPSON EPL-6200 PS3
ppd/EPSON_EPL-6200L.ppd:*ModelName: "EPSON EPL-6200 PS3"
ppd/EPSON_EPL-6200L.ppd:*ShortNickName: "EPSON EPL-6200 PS3"
ppd/EPSON_EPL-6200L.ppd:*NickName: "Epson EPL-6200 PS3 , Postscript-Epson 20130226 (OpenPrinting LSB 3.2)"
ppd/EPSON_EPL-6200L.ppd:*Manufacturer: "Epson"
ppd/EPSON_EPL-6200L.ppd:*% End of PPD file for EPSON EPL-6200 PS3
ppd/EPSON_EPL-6200L6.ppd:*%  License agreement of Postscript Printer Description file for EPSON EPL-6200 PS3
ppd/EPSON_EPL-6200L6.ppd:*%  Copyright (C) 2003 Seiko Epson Corporation
ppd/EPSON_EPL-6200L6.ppd:*% PPD for EPSON EPL-6200 PS3
ppd/EPSON_EPL-6200L6.ppd:*ModelName: "EPSON EPL-6200 PS3"
ppd/EPSON_EPL-6200L6.ppd:*ShortNickName: "EPSON EPL-6200 PS3"
ppd/EPSON_EPL-6200L6.ppd:*NickName: "EPSON EPL-6200 PS3 v3015.102"
ppd/EPSON_EPL-6200L6.ppd:*Manufacturer: "Epson"
ppd/EPSON_EPL-6200L6.ppd:*% End of PPD file for EPSON EPL-6200 PS3
ppd/EPSON_EPL-6200L2.ppd:*%  License agreement of Postscript Printer Description file for EPSON EPL-6200 PS3
ppd/EPSON_EPL-6200L2.ppd:*%  Copyright (C) 2003 Seiko Epson Corporation
ppd/EPSON_EPL-6200L2.ppd:*% PPD for EPSON EPL-6200 PS3
ppd/EPSON_EPL-6200L2.ppd:*ModelName: "EPSON EPL-6200 PS3"
ppd/EPSON_EPL-6200L2.ppd:*ShortNickName: "EPSON EPL-6200 PS3"
ppd/EPSON_EPL-6200L2.ppd:*NickName: "EPSON EPL-6200 PS3 v3015.102"
ppd/EPSON_EPL-6200L2.ppd:*Manufacturer: "Epson"
ppd/EPSON_EPL-6200L2.ppd:*% End of PPD file for EPSON EPL-6200 PS3
printers.conf.O:<Printer EPSON_EPL-6200L>
printers.conf.O:Info EPSON EPL-6200L
printers.conf.O:MakeModel Epson EPL-6200 PS3 , Postscript-Epson 20130226 (OpenPrinting LSB 3.2)
printers.conf.O:DeviceURI usb://EPSON/EPL-6200L?serial=23P010511261030290
printers.conf.O:<Printer EPSON_EPL-6200L2>
printers.conf.O:Info EPSON EPL-6200L
printers.conf.O:MakeModel EPSON EPL-6200 PS3 v3015.102
printers.conf.O:DeviceURI usb://EPSON/EPL-6200L?serial=23P010511261030290
printers.conf.O:<Printer EPSON_EPL-6200L3>
printers.conf.O:Info EPSON EPL-6200L
printers.conf.O:DeviceURI usb://EPSON/EPL-6200L?serial=23P010511261030290
printers.conf.O:<DefaultPrinter EPSON_EPL-6200L6>
printers.conf.O:Info EPSON EPL-6200L
printers.conf.O:MakeModel EPSON EPL-6200 PS3 v3015.102
printers.conf.O:DeviceURI usb://EPSON/EPL-6200L?serial=23P010511261030290
printers.conf:<Printer EPSON_EPL-6200L>
printers.conf:Info EPSON EPL-6200L
printers.conf:MakeModel Epson EPL-6200 PS3 , Postscript-Epson 20130226 (OpenPrinting LSB 3.2)
printers.conf:DeviceURI usb://EPSON/EPL-6200L?serial=23P010511261030290
printers.conf:<Printer EPSON_EPL-6200L2>
printers.conf:Info EPSON EPL-6200L
printers.conf:MakeModel EPSON EPL-6200 PS3 v3015.102
printers.conf:DeviceURI usb://EPSON/EPL-6200L?serial=23P010511261030290
printers.conf:<Printer EPSON_EPL-6200L3>
printers.conf:Info EPSON EPL-6200L
printers.conf:DeviceURI usb://EPSON/EPL-6200L?serial=23P010511261030290
printers.conf:<DefaultPrinter EPSON_EPL-6200L6>
printers.conf:Info EPSON EPL-6200L
printers.conf:MakeModel EPSON EPL-6200 PS3 v3015.102
printers.conf:DeviceURI usb://EPSON/EPL-6200L?serial=23P010511261030290
Quote:

Also after making changes to your printer config restart cups with

/etc/rc.d/rc.cups restart
From now I will make restart to cups every time I change the printer, I will do the same tonight as last night in case and report
 
Old 07-30-2013, 06:13 AM   #21
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware 14.0 64-bit
Posts: 228

Rep: Reputation: 41
Can you modify your printer in Cups and set your DeviceUri to "file://dev/usb/lp0" and enter this in /etc/cups/cupsd.conf "FileDevice Yes"?
 
Old 07-30-2013, 03:56 PM   #22
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by jostber View Post
Can you modify your printer in Cups and set your DeviceUri to "file://dev/usb/lp0" and enter this in /etc/cups/cupsd.conf "FileDevice Yes"?
I have tried:

Add "FileDevice Yes" to /etc/cups/cupsd.conf

and then the variations:
Code:
file://dev/usb/lp0 
//dev/usb/lp0
/dev/usb/lp0
usb:file://dev/usb/lp0
usb://EPSON/EPL-6200L?usb:file://dev/usb/lp0
Nothings works, always reset cups before trying again.

So I went to look at /dev/usb and the lp0 appear and disappear so I create a usb rule:

Quote:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0005", \
MODE:="0666", \
SYMLINK+="lp2"
I then try all variation on the connection as before and nothing.

I also try ijs_server_epsonepl from the command line, but because its not lp2 it cannot work from something direrent to: "/dev/usb/lp0"

How do I force to to be on /dev/usb/lp0? Would it be like SYMLINK+="/dev/usb/lp2"?
 
Old 07-30-2013, 04:24 PM   #23
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
UPDATE2:

I did try that to force lp0 by:
SYMLINK+="/dev/usb/lp0"

and now its there, but it does not work! :-(
 
Old 07-30-2013, 04:58 PM   #24
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
UPDATE3:

I also try from here:

as I have: hp-makeuri

lsusb: Bus 006 Device 008: ID 04b8:0005 Seiko Epson Corp. Printer

so its like: hp-makeuri --cups 006:008

but it give error: error: Device not found

maybe its only HP?

I try also hp-makeuri --cups /dev/usb/lp0

but the same error.
 
Old 07-30-2013, 05:48 PM   #25
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
UPDATE4:
I read on epson page that could be added by command line as:

lpadmin -p epl6200 -E -v usb:/dev/usb/lp0 -P /..../epl6200.ppd

and if add the device URI as "usb:/dev/usb/lp0" but I have tested and it does not work

Last edited by PeterUK; 07-30-2013 at 05:53 PM.
 
Old 07-31-2013, 06:12 AM   #26
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by jostber View Post
Can you modify your printer in Cups and set your DeviceUri to "file://dev/usb/lp0" and enter this in /etc/cups/cupsd.conf "FileDevice Yes"?
Where did you get about "FileDevice Yes"???

I looked into man cupsd.conf I cannot find anything about it.
 
Old 07-31-2013, 06:21 AM   #27
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
UPDATE5:

I have not test 1.7 and nothing.

I did 4 set of pdd one from the system and one from open printing.

Note: (I read the L is the same one without but with less memory so the pdd without L should work in theory)

The pdd priter added are with the path from the webpage and one I force by editing the printer form the properties by changing:
usb:/dev/usb/lp0

Now those with the usb:/.. as path the printer hang in the queu "processing" and the other say completed bu nothing at the printer.

I also try the following to see if it works:
I added one by one the bellow lines in the cupsd.conf file, I add one and remove the other one so I tested one at the time.

Quote:
Listen /dev/usb/lp0
Listen *:/dev/usb/lp0
FileDevice Yes
looking at the log file:

Quote:
E [31/Jul/2013:10:54:42 +0100] Hostname lookup for "(nil)" failed.
E [31/Jul/2013:10:54:42 +0100] Bad Listen address *:/dev/usb/lp0 at line 16.
W [31/Jul/2013:10:54:42 +0100] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
 
Old 07-31-2013, 06:28 AM   #28
Raveriux
Member
 
Registered: Jul 2013
Location: Lithuania
Distribution: Slackware64 14, Slackware64 -current, Maemo
Posts: 80

Rep: Reputation: Disabled
As I said before try to blacklist usblp kernel module. and read https://wiki.archlinux.org/index.php/CUPS
 
Old 07-31-2013, 06:59 AM   #29
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Raveriux View Post
As I said before try to blacklist usblp kernel module. and read https://wiki.archlinux.org/index.php/CUPS
That page is for arch.

I went to /etc/modprobe.d/ and there is nothing there, a note there tell me to go lib/modprobe.d/ but there is nothing like blacklistusblp.conf Where do I get this file?

also I try: bash-4.2# blacklist usblp

reply --->bash: blacklist: command not found
 
Old 07-31-2013, 07:57 AM   #30
Raveriux
Member
 
Registered: Jul 2013
Location: Lithuania
Distribution: Slackware64 14, Slackware64 -current, Maemo
Posts: 80

Rep: Reputation: Disabled
Quote:
Originally Posted by PeterUK View Post
That page is for arch.

I went to /etc/modprobe.d/ and there is nothing there, a note there tell me to go lib/modprobe.d/ but there is nothing like blacklistusblp.conf Where do I get this file?

also I try: bash-4.2# blacklist usblp

reply --->bash: blacklist: command not found
Create file. The name of the file isint important, just mus end with .conf
 
  


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] Problem printing with EPSON CX6600 on Slackware 13.1 Vault Dweller Slackware 1 06-30-2010 11:16 AM
Slackware 12, CUPS, problem printing to client printer walteramg Slackware 0 06-06-2008 06:40 PM
Network printing problem with slackware 11 slothpuck Linux - Hardware 9 07-14-2007 06:31 PM
Printing in Slackware 9.0 Sifvion Slackware 18 04-03-2003 08:34 PM
Slackware and printing manwe Slackware 4 12-19-2002 05:29 AM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration