PDA

View Full Version : Scrivere driver per Lexmark X7350


User111
28-12-2007, 16:13
E' possibile? o un utopia? non ho trovato i driver per questa stampante..[mio padre ha questa stampante, ma siccome non ci sono i driver per linux, e lui gli serve, vuole comprare windows xp originale, e io premo per lasciarci linux, che alternative ho?]

Johnn
28-12-2007, 21:24
E' possibile, a quanto pare:

http://www.lexmark.com/lexmark/sequentialem/home/0,6959,204816596_659668505_0_en,00.html

Qui ci sono le stampanti Lexmark supportate:

http://openprinting.org/printer_list.cgi?make=Lexmark

Ma la tua ancora non lo è.

Nello stesso sito ho trovato anche questo:

http://openprinting.org/show_printer.cgi?recnum=Lexmark-X7350

Non so se ti conviene aspettare lo sviluppo del driver. Non ho idea se sta per essere rilasciato o se deve ancora essere iniziato. Alternative, imho sono:
informarsi ulteriormente sullo stato di sviluppo del driver;
comprare un'altra stampante supportata;
provare a far girare il software di stampa con wine;
comprare windows. :stordita:

User111
28-12-2007, 22:07
E' possibile, a quanto pare:

http://www.lexmark.com/lexmark/sequentialem/home/0,6959,204816596_659668505_0_en,00.html

Qui ci sono le stampanti Lexmark supportate:

http://openprinting.org/printer_list.cgi?make=Lexmark

Ma la tua ancora non lo è.

Nello stesso sito ho trovato anche questo:

http://openprinting.org/show_printer.cgi?recnum=Lexmark-X7350

Non so se ti conviene aspettare lo sviluppo del driver. Non ho idea se sta per essere rilasciato o se deve ancora essere iniziato. Alternative, imho sono:
informarsi ulteriormente sullo stato di sviluppo del driver;
comprare un'altra stampante supportata;
provare a far girare il software di stampa con wine;
comprare windows. :stordita:

non ci sono riuscito a farlo andare con wine, c'ho provato ma nulla... :muro:

Bismark85
28-12-2007, 22:34
non ci sono riuscito a farlo andare con wine, c'ho provato ma nulla... :muro:

Io sapevo esisteva un driver universale per stampanti lexmark... io stesso ho una lexmark e funziona benino... mi sembra che fosse l'unico driver che lexmark rilasciò per linux ma che funziona bene per la maggior parte delle stampanti lexmark... ora non ricordo che driver era e dove scaricarlo... cmq mi informo e ti faccio sapere!!!

User111
28-12-2007, 22:40
Io sapevo esisteva un driver universale per stampanti lexmark... io stesso ho una lexmark e funziona benino... mi sembra che fosse l'unico driver che lexmark rilasciò per linux ma che funziona bene per la maggior parte delle stampanti lexmark... ora non ricordo che driver era e dove scaricarlo... cmq mi informo e ti faccio sapere!!!

ok tanto sono qui... ma i driver di ubuntu sono in grado di far funzionare una stampante in modalità live?

Gollum63
28-12-2007, 22:51
Ciao sicuramente non sarà una passeggiata, l'unico driver linux in circolazione lo trovi qui (http://www.nodevice.com/driver/download.html) ed è stato configurato x la X7170 , da quel che si dice è simile alla X7350 , sembra che manchi il bridge xil collegamento alla fotocamera.
Invece x la compilazione esiste un developer-kit (http://www.lexmark.com/lexmark/sequentialem/home/0,6959,204816596_659668523_676599624_en,00.html), ma come puoi immaginare bisogna sapere qualcosina in più rispetto ad un semplice user.
Se tu sei in grado meglio così.
Invece un'altra soluzione potrebbe essere la virtualizzazione di win su cui installare la stampante e con una condivisione di cartelle si può lavorare lo stesso

User111
29-12-2007, 07:11
Ciao sicuramente non sarà una passeggiata, l'unico driver linux in circolazione lo trovi qui (http://www.nodevice.com/driver/download.html) ed è stato configurato x la X7170 , da quel che si dice è simile alla X7350 , sembra che manchi il bridge xil collegamento alla fotocamera.
Invece x la compilazione esiste un developer-kit (http://www.lexmark.com/lexmark/sequentialem/home/0,6959,204816596_659668523_676599624_en,00.html), ma come puoi immaginare bisogna sapere qualcosina in più rispetto ad un semplice user.
Se tu sei in grado meglio così.
Invece un'altra soluzione potrebbe essere la virtualizzazione di win su cui installare la stampante e con una condivisione di cartelle si può lavorare lo stesso

in che modo?

User111
29-12-2007, 07:34
configuro e và tutto, faccio un make ed ho questo:
matteo@matteo-desktop:~/X7170SampleSANE-1.0-1$ make
making all in include
make[1]: Entering directory `/home/matteo/X7170SampleSANE-1.0-1/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/matteo/X7170SampleSANE-1.0-1/include'
making all in sanei
make[1]: Entering directory `/home/matteo/X7170SampleSANE-1.0-1/sanei'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/matteo/X7170SampleSANE-1.0-1/sanei'
making all in lexmark
make[1]: Entering directory `/home/matteo/X7170SampleSANE-1.0-1/lexmark'
g++ -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -c -o llpddk.o llpddk.cpp
llpddk.cpp:47:37: error: lexmark-H/scannerdevice.h: Nessun file o directory
In file included from llpddk.cpp:51:
saneportmonitor.h:51:35: error: lexmark-H/portmonitor.h: Nessun file o directory
In file included from llpddk.cpp:52:
scanerrorcommunicator.h:47:42: error: lexmark-H/scanerrorinterface.h: Nessun file o directory
saneportmonitor.h:55: error: expected class-name before ‘{’ token
saneportmonitor.h:62: error: ‘PM_Error’ does not name a type
saneportmonitor.h:63: error: ‘PM_Error’ does not name a type
saneportmonitor.h:71: error: ‘PM_Error’ does not name a type
saneportmonitor.h:73: error: ‘PM_Error’ does not name a type
saneportmonitor.h:75: error: ‘PM_Error’ does not name a type
saneportmonitor.h:78: error: ‘PM_Error’ does not name a type
saneportmonitor.h:80: error: ‘PM_Error’ does not name a type
scanerrorcommunicator.h:49: error: expected class-name before ‘{’ token
scanerrorcommunicator.h:54: error: ‘ScanErrorInterface’ has not been declared
scanerrorcommunicator.h:54: error: expected ‘,’ or ‘...’ before ‘error’
scanerrorcommunicator.h:55: error: ‘ScanErrorInterface’ has not been declared
scanerrorcommunicator.h:55: error: ISO C++ forbids declaration of ‘UserDecision’ with no type
scanerrorcommunicator.h:55: error: expected ‘;’ before ‘GetUserDecision’
llpddk.cpp:56: error: expected constructor, destructor, or type conversion before ‘*’ token
llpddk.cpp: In function ‘SANE_Status llpddk_init()’:
llpddk.cpp:74: error: ‘sd’ was not declared in this scope
llpddk.cpp:74: error: expected type-specifier before ‘ScannerDevice’
llpddk.cpp:74: error: expected `;' before ‘ScannerDevice’
llpddk.cpp: In function ‘void llpddk_attach_matching_devices(const char*, SANE_Status (*)(const char*))’:
llpddk.cpp:90: error: ‘class SanePortMonitor’ has no member named ‘PM_AttachDevice’
llpddk.cpp: In function ‘void llpddk_destroy()’:
llpddk.cpp:99: error: ‘sd’ was not declared in this scope
llpddk.cpp:100: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
llpddk.cpp: In function ‘SANE_Status llpddk_open_device(const SANE_Char*)’:
llpddk.cpp:114: error: ‘PortMonitor’ has not been declared
llpddk.cpp:114: error: expected `;' before ‘pmerr’
llpddk.cpp:116: error: ‘pmerr’ was not declared in this scope
llpddk.cpp:116: error: ‘class SanePortMonitor’ has no member named ‘PM_SetDeviceName’
llpddk.cpp:117: error: ‘PortMonitor’ has not been declared
llpddk.cpp:120: error: ‘class SanePortMonitor’ has no member named ‘PM_Open’
llpddk.cpp:121: error: ‘PortMonitor’ has not been declared
llpddk.cpp: In function ‘void llpddk_close_device()’:
llpddk.cpp:130: error: ‘class SanePortMonitor’ has no member named ‘PM_Close’
llpddk.cpp: In function ‘SANE_Status llpddk_start_scan(Option_Value*)’:
llpddk.cpp:138: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:138: error: expected `;' before ‘sderr’
llpddk.cpp:139: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:139: error: expected `;' before ‘sdprop’
llpddk.cpp:142: error: ‘sdprop’ was not declared in this scope
llpddk.cpp:142: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:145: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:148: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:151: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:153: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:157: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:159: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:161: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:164: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:170: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:173: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:176: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:179: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:182: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:185: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:188: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:191: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:194: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:197: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:200: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:240: error: ‘sderr’ was not declared in this scope
llpddk.cpp:240: error: ‘sd’ was not declared in this scope
llpddk.cpp:241: error: ‘ScannerDevice’ has not been declared
llpddk.cpp: In function ‘long int llpddk_read_scan_data(SANE_Byte*, SANE_Int, int*)’:
llpddk.cpp:252: error: ‘sd’ was not declared in this scope
llpddk.cpp: In function ‘SANE_Status llpddk_abort_scan()’:
llpddk.cpp:261: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:261: error: expected `;' before ‘sderr’
llpddk.cpp:264: error: ‘sderr’ was not declared in this scope
llpddk.cpp:264: error: ‘sd’ was not declared in this scope
llpddk.cpp:265: error: ‘ScannerDevice’ has not been declared
llpddk.cpp: In function ‘SANE_Status llpddk_end_scan()’:
llpddk.cpp:274: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:274: error: expected `;' before ‘sderr’
llpddk.cpp:277: error: ‘sderr’ was not declared in this scope
llpddk.cpp:277: error: ‘sd’ was not declared in this scope
llpddk.cpp:278: error: ‘ScannerDevice’ has not been declared
llpddk.cpp: In function ‘SANE_Status llpddk_get_adf_status(unsigned char*)’:
llpddk.cpp:287: error: ‘ScannerDevice’ has not been declared
llpddk.cpp:287: error: expected `;' before ‘sderr’
llpddk.cpp:290: error: ‘sderr’ was not declared in this scope
llpddk.cpp:290: error: ‘sd’ was not declared in this scope
llpddk.cpp:293: error: ‘ScannerDevice’ has not been declared
llpddk.cpp: In function ‘void llpddk_report_error(int)’:
llpddk.cpp:302: error: ‘ScanErrorInterface’ has not been declared
make[1]: *** [llpddk.o] Error 1
make[1]: Leaving directory `/home/matteo/X7170SampleSANE-1.0-1/lexmark'
make: *** [all-recursive] Error 1
matteo@matteo-desktop:~/X7170SampleSANE-1.0-1$
:confused: perchè?

Johnn
29-12-2007, 10:51
Questi sono gli errori importanti:

llpddk.cpp:47:37: error: lexmark-H/scannerdevice.h: Nessun file o directory
In file included from llpddk.cpp:51:
saneportmonitor.h:51:35: error: lexmark-H/portmonitor.h: Nessun file o directory

Mancano quei due file, gli altri errori sono di conseguenza.

Bismark85
29-12-2007, 12:58
Se usi Debian/ubuntu prova a seguire questa guida... è in spagnolo ma si capisce lo stesso... io ho utilizzato due stampanti lexmark diverse utilizzando lo stesso driver e mi funzionano tutte e due... certo il driver è vecchio però a stampare stampa... non so comunque se funziona per tutte le stampanti lexmark...
http://www.elblogsinnombre.com/?p=345

User111
29-12-2007, 13:23
Se usi Debian/ubuntu prova a seguire questa guida... è in spagnolo ma si capisce lo stesso... io ho utilizzato due stampanti lexmark diverse utilizzando lo stesso driver e mi funzionano tutte e due... certo il driver è vecchio però a stampare stampa... non so comunque se funziona per tutte le stampanti lexmark...
http://www.elblogsinnombre.com/?p=345
come driver uso quelli? o metto quelli della x7170?

User111
29-12-2007, 13:33
matteo@matteo-desktop:~$ sudo ./z600cups-1.0-1.gz.sh -keep
Creating directory installer
Verifying archive integrity...tail: Warning: "+number" syntax is deprecated, please use "-n +number"
OK
Uncompressing Lexmark Printer Driver............
./xlexinstall: error while loading shared libraries: libtcl8.3.so: cannot open shared object file: No such file or directory
The program returned an error code (127)

:confused: che faccio?

Bismark85
29-12-2007, 13:49
matteo@matteo-desktop:~$ sudo ./z600cups-1.0-1.gz.sh -keep
Creating directory installer
Verifying archive integrity...tail: Warning: "+number" syntax is deprecated, please use "-n +number"
OK
Uncompressing Lexmark Printer Driver............
./xlexinstall: error while loading shared libraries: libtcl8.3.so: cannot open shared object file: No such file or directory
The program returned an error code (127)

:confused: che faccio?

Ti manca quella libreria evidentemente.... prova ad installarla tramite apt-get o synaptic... io questa guida l'ho utilizzata un annetto fa... alla fine dovrebbe comparirti un driver z90 e dovrebbe funzionare...

Johnn
29-12-2007, 13:51
Ti dovrebbero mancare le librerie tcl. Vai nel repository e scaricatele. Dovresti risolvere.

User111
29-12-2007, 13:56
matteo@matteo-desktop:~/installer$ sudo alien z600cups-1.0-1.i386.rpm
Warning: Skipping conversion of scripts in package z600cups: postinst postrm preinst
Warning: Use the --scripts parameter to include the scripts.
mkdir: impossibile creare la directory `z600cups-1.0': Il file esiste
unable to mkdir z600cups-1.0: at /usr/share/perl5/Alien/Package.pm line 257.
matteo@matteo-desktop:~/installer$ sudo alien z600llpddk-2.0-1.i386.rpm
Warning: Skipping conversion of scripts in package z600llpddk: postinst postrm preinst prerm
Warning: Use the --scripts parameter to include the scripts.
Package build failed. Here's the log:
dh_testdir
dh_testdir
dh_testroot
dh_clean -k -d
dh_installdirs
dh_installdocs
dh_installchangelogs
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
xargs -0 -r -i cp -a {} debian/z600llpddk
dh_compress
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dpkg-gencontrol: error: current build architecture amd64 does not appear in package's list (i386)
dh_gencontrol: command returned error code 65280
make: *** [binary-arch] Error 1
find: z600llpddk-2.0: Nessun file o directory
matteo@matteo-desktop:~/installer$

non riesco a convertire i file rpm in deb :muro: :muro: :muro: :muro:

Bismark85
29-12-2007, 13:58
matteo@matteo-desktop:~/installer$ sudo alien z600cups-1.0-1.i386.rpm
Warning: Skipping conversion of scripts in package z600cups: postinst postrm preinst
Warning: Use the --scripts parameter to include the scripts.
mkdir: impossibile creare la directory `z600cups-1.0': Il file esiste
unable to mkdir z600cups-1.0: at /usr/share/perl5/Alien/Package.pm line 257.
matteo@matteo-desktop:~/installer$ sudo alien z600llpddk-2.0-1.i386.rpm
Warning: Skipping conversion of scripts in package z600llpddk: postinst postrm preinst prerm
Warning: Use the --scripts parameter to include the scripts.
Package build failed. Here's the log:
dh_testdir
dh_testdir
dh_testroot
dh_clean -k -d
dh_installdirs
dh_installdocs
dh_installchangelogs
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
xargs -0 -r -i cp -a {} debian/z600llpddk
dh_compress
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dpkg-gencontrol: error: current build architecture amd64 does not appear in package's list (i386)
dh_gencontrol: command returned error code 65280
make: *** [binary-arch] Error 1
find: z600llpddk-2.0: Nessun file o directory
matteo@matteo-desktop:~/installer$

non riesco a convertire i file rpm in deb :muro: :muro: :muro: :muro:

E' per caso una versione a 64 bit??

User111
29-12-2007, 13:59
Ti dovrebbero mancare le librerie tcl. Vai nel repository e scaricatele. Dovresti risolvere.

come si chiamano i file? library tcl?:stordita:

User111
29-12-2007, 14:00
E' per caso una versione a 64 bit??

si Ubuntu 7.10 64bit

Bismark85
29-12-2007, 14:03
si Ubuntu 7.10 64bit

ma all'inizio non hai installato i seguenti pacchetti?? ti ha dato errore?

sudo apt-get install tcl8.3-dev
sudo apt-get install tk8.3-dev cupsys
sudo apt-get install tclx8.3-dev
sudo apt-get install libstdc++5

User111
29-12-2007, 14:11
ma all'inizio non hai installato i seguenti pacchetti?? ti ha dato errore?

sudo apt-get install tcl8.3-dev
sudo apt-get install tk8.3-dev cupsys
sudo apt-get install tclx8.3-dev
sudo apt-get install libstdc++5

ci sono tutti e nessun errore:rolleyes:

Bismark85
29-12-2007, 14:14
ci sono tutti e nessun errore:rolleyes:

Dall'errore che ti da sembrerebbe che da rogne il fatto che sia a 64 bit... mi spiace non so cos'altro dirti... ci abbiamo provato!!!

User111
29-12-2007, 14:14
Dall'errore che ti da sembrerebbe che da rogne il fatto che sia a 64 bit... mi spiace non so cos'altro dirti... ci abbiamo provato!!!

quindi sulla 32bit nessun problema?

Bismark85
29-12-2007, 14:22
quindi sulla 32bit nessun problema?

Sinceramente non so che dirti... io ho usato quel driver su due stampanti lexmark sia su debian che su kubuntu 32bit e funzionavano, però che funzioni anche con la tua stampante non è una cosa sicura, diciamo che il fatto che quel driver(l'unico rilasciato da lexmark per linux) funziona su più modelli è stato un caso fortuito, e non è detto che funzioni proprio con tutti...

Johnn
29-12-2007, 15:49
Penso che puoi provare la live di ubuntu a 32 bit e vedere se il driver va.