########################################################################
#
# Raw print file support...
#
# Comment the following type to prevent raw file printing.
#
application/octet-stream
#
Here the output of lpinfo:
luca@luca:~$ lpinfo -v
network socket
direct usb://EPSON/Stylus%20COLOR%20580
direct hp:/no_device_found
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct canon:/dev/lp0
direct epson:/dev/lp0
network smb
luca@luca:~$
And here the backend:
luca@luca:~$ /usr/lib/cups/backend/usb
direct usb://EPSON/Stylus%20COLOR%20580 "EPSON Stylus COLOR 580" "EPSON Stylus COLOR 580 USB #1" "MFG:EPSON;CMD:ESCPL2,BDC,D4;MDL:Stylus COLOR 580;CLS:PRINTER;DES:EPSON Stylus COLOR 580;��"
luca@luca:~$
Hi! First of all many thanks for your help.
Here what I found:
This is a part of mime.types:
# generated files...
# Application-
#
#application/msword doc string( 0,<D0CF11E0A1B1 1AE1>) postscript ai eps ps string(0,%!) string(0,<04>%!) \ 0,128,< 1B>%-12345X) + \ 0,1024, "LANGUAGE= POSTSCRIPT" ) \ 0,1024, "LANGUAGE = Postscript") \ 0,1024, "LANGUAGE = PostScript") \ 0,1024, "LANGUAGE = POSTSCRIPT") \ 0,1024, <0a>%!) + \ contains( 0,1024, "ENTER LANGUAGE"))) vnd.hp- HPGL hpgl string(0,<1B>&)\ 0,<1B>E< 1B>%0B) \ 0,<1B>% -1B) string(0,<201B>)\ 0,BPINPS; ) \ 0,128,< 1B>%-12345X) + \ 0,1024, "LANGUAGE= HPGL") \ 0,1024, "LANGUAGE = HPGL")))
application/pdf pdf string(0,%PDF)
application/
contains(
(contains(
contains(
contains(
contains(
(contains(
!
application/
string(
string(
string(0,BP;) string(0,IN;) string(0,DF;) \
string(
(contains(
(contains(
contains(
####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ##
#
# Image files...
#
image/gif gif string(0,GIF87a) string(0,GIF89a) 2048,PCD_ IPI) portable- anymap pnm portable- bitmap pbm string(0,P1) string(0,P4) portable- graymap pgm string(0,P2) string(0,P5) portable- pixmap ppm string(0,P3) string(0,P6) x-xwindowdump xwd string( 4,<00000007> ) 0,<59a66a95> )
image/png png string(0,<89>PNG)
image/jpeg jpeg jpg jpe string(0,<FFD8FF>) &&\
(char(3,0xe0) char(3,0xe1) char(3,0xe2) char(3,0xe3)\
char(3,0xe4) char(3,0xe5) char(3,0xe6) char(3,0xe7)\
char(3,0xe8) char(3,0xe9) char(3,0xea) char(3,0xeb)\
char(3,0xec) char(3,0xed) char(3,0xee) char(3,0xef))
image/tiff tiff tif string(0,MM) string(0,II)
image/x-photocd pcd string(
image/x-
image/x-
image/x-
image/x-
image/x-sgi-rgb rgb sgi bw icon short(0,474)
image/x-xbitmap xbm
image/x-xpixmap xpm ascii(0,1024) + string(3,"XPM")
#image/
image/x-sun-raster ras string(
#image/fpx fpx
image/x-alias pix short(8,8) short(8,24)
image/x-bitmap bmp string(0,BM) && !printable(2,14)
image/x-icon ico
####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ##
#
# Text files...
#
application/ x-cshell csh printable(0,1024) + string(0,#!) +\ 2,80,/csh) contains( 2,80,/tcsh) ) 2,80,/perl) 2,80,/bash) contains( 2,80,/ksh) \ 2,80,/sh) contains( 2,80,/zsh) ) x-csource c cxx cpp cc C h hpp \ 0,1024) + \ 0,#include) contains( 0,1024, <0a>#include) \ 0,#define) contains( 0,1024, <0a>#define) ) 0,"<HTML> ") istring( 0,"<!DOCTYPE" ))
(contains(
application/x-perl pl printable(0,1024) + string(0,#!) +\
contains(
application/x-shell sh printable(0,1024) + string(0,#!) +\
(contains(
contains(
application/
printable(
(string(0,/*) string(0,//)
string(
string(
text/html html htm printable(0,1024) +\
(istring(
text/plain txt printable(0,1024)
text/css css
####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ##
#
# CUPS-specific types...
#
application/ vnd.cups- command string( 0,'#CUPS- COMMAND' ) vnd.cups- form string( 0,"<CUPSFORM> ") vnd.cups- pdf vnd.cups- postscript vnd.cups- ppd ppd string( 0,"*PPD- Adobe:" ) vnd.cups- raster string(0,"RaSt") string(0,"tSaR") vnd.cups- raw (string(0,<1B>E) + !string(2,<1B>%0B)) \ 0,128,< 1B>%-12345X) + \ 0,1024, "LANGUAGE= PCL") \ 0,1024, "LANGUAGE = PCL")))
application/
application/
application/
application/
application/
application/
string(0,<1B>@) \
(contains(
(contains(
contains(
####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ##
#
# Raw print file support...
#
# Comment the following type to prevent raw file printing.
#
application/ octet-stream
#
Here the output of lpinfo:
luca@luca:~$ lpinfo -v Stylus% 20COLOR% 20580
network socket
direct usb://EPSON/
direct hp:/no_device_found
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct canon:/dev/lp0
direct epson:/dev/lp0
network smb
luca@luca:~$
And here the backend:
luca@luca:~$ /usr/lib/ cups/backend/ usb Stylus% 20COLOR% 20580 "EPSON Stylus COLOR 580" "EPSON Stylus COLOR 580 USB #1" "MFG:EPSON; CMD:ESCPL2, BDC,D4; MDL:Stylus COLOR 580;CLS: PRINTER; DES:EPSON Stylus COLOR 580;��"
direct usb://EPSON/
luca@luca:~$
Many thanks again.
Cheers