• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Canon LBP-800

Der-Nik

Member
Hallo,

ich habe von einem Bekannten einen Canon LBP-800 bekommen und würde den ganz gerne unter SuSE verwenden, leider sagt mir Linuxprinting.org das dieser Drucker unter Linux nicht so recht arbeiten will also habe ich nach langer Suche das gefunden:

Anleitung für LBP-800 unter Linux

leider ist es scheinbar sehr auf ubuntu zugeschnitten, denn wenn wenn ich die Readme befolge in der folgendes steht:

Readme.txt schrieb:
Linux Canon LBP800 CAPT driver
-----------------------

In this package there is a linux driver for Canon LBP800 printer
using CAPT parallel cable protocol.

The general structure of the application is based on Rildo Pragana's
driver for Samsung ML-85G,see : http://pragana.net - "Adventures in
Linux Programming", and the LBP810 capt driver from Nicholas Boichat
<nicolas@boichat.ch>.

It should support both A4 and Letter sized paper, but I only tested it
with A4 sized paper.

Install
-------

Type:

# make

Then log in as root and type:

#make install

The driver uses the 'parport_pc' pc-style printer port module that
should be present on molt new linux releases.
The driver don't use direct port access, so root user is NOT necessary.
The driver uses also a complete cups FILTER + BACKEND components, no
need to give a dummy device to driver.

Install in CUPS
---------------

Follow the instructions presented on this page :
http://www.linuxprinting.org/cups-doc.html

When installing, TURN ON THE PRINTER (autodetection tries to enable it).
Select CANON printer, LBP800 driver and one of the detected
'parcapt:/dev/paportn' connection.
If no 'parcapt:/dev/parportn' connection is listed, please chech the
following :
- Is printer ON and CONNECTED ?
- is 'parport_pc' kernel module loaded ? (lsmod | grep parport_pc)

To align the margin, change TopSkip and LeftSkip parameters.

bekomme ich bei make (ohne # weil ich sonst keine Ausgabe bekomme)

Code:
dominik@linux-i5sd:~/LBP800/lbp800-0.1.2> make
gcc  -O2 -s -Wall \
        errcapt.c bmcapt.c lbp800.c \
        -l cups -o bin/Release/lbp800
gcc  -O2 -s -Wall \
        errcapt.c pport.c timcapt.c llcapt.c pkcapt.c hlcapt.c parcapt.c \
        -l cups -o bin/Release/parcapt
parcapt.c:30:26: error: cups/backend.h: Datei oder Verzeichnis nicht gefunden
parcapt.c: In function ‘main’:
parcapt.c:172: error: ‘CUPS_BACKEND_OK’ undeclared (first use in this function)
parcapt.c:172: error: (Each undeclared identifier is reported only once
parcapt.c:172: error: for each function it appears in.)
parcapt.c:188: error: ‘CUPS_BACKEND_FAILED’ undeclared (first use in this function)
make: *** [parcapt] Fehler 1
dominik@linux-i5sd:~/LBP800/lbp800-0.1.2>

wodurch dann auch das make install nicht funktioniert logo. Ich möchte nicht ausschließen das die Lösung zu meinem Problem in der Ausgabe liegt, allerdings habe ich in Sachen make bzw. make install bisher immer wenig Erfolg gehabt und auch entsprechend wenig Ahnung :eek:ps:

Auf dem Rechner wo der Drucker dran hängt ist ein SuSE 10.3.
 

whois

Ultimate Guru
Naja.

Supported printers and kernel versions

This driver has been reported to work with these kernel versions and distributions:

Kernel 2.6.20 on Ubuntu Feisty

Kernel 2.6.22 on Ubuntu Gutsy

Das wird wohl nichts welchen Kernel fährst du denn?

Code:
uname -a
 

whois

Ultimate Guru
Wie gesagt so wird das leider nichts.
Ich kann auch nichts dazu finden.

http://www.boichat.ch/nicolas/capt/
 
OP
D

Der-Nik

Member
Auch wenn es gerade nicht so ganz passt, aber der Neugierde wegen, wenn man einen Quellcode hat, dann kann man den im Grunde auf jedes (Linux-)System kompilieren, oder?

Würde es was bringen den Kernel zu aktualisieren (wie auch immer man das macht)?
 

whois

Ultimate Guru
Der-Nik schrieb:
Auch wenn es gerade nicht so ganz passt, aber der Neugierde wegen, wenn man einen Quellcode hat, dann kann man den im Grunde auf jedes (Linux-)System kompilieren, oder?
Im Grunde ja, kommt immer drauf an mit welchem Compiler, manche fordern eine bestimmte Compiler Version,die es für ältere oder neuere Distributionen nicht mehr gibt.
 

Grothesk

Ultimate Guru
Und darauf, ob der Kernel z. B. die benötigten Funktionen schon mitbringt. Scheint mir konkret bei diesem Fall nicht so zu sein.
 

misiu

Moderator
Teammitglied
Hab probeweise mit opensuse 10.3
(Kernel: 2.6.22.18-0.2-default #1 SMP 2008-06-09 13:53:20 +0200 i686 athlon i386 GNU/Linux )
+ checkinstall ein rpm-Paket erstellt und ist problemlos durchgelaufen, sollte also mit höherer
Kernelversion funktionieren, obwohl ich der Meinung bin, daß bei dir einige Verlinkungen und CUPS-Verzeichnisse
fehlen.

Auszug:
exotux:/home/misiu/test/lbp800-0.1.2 # make
gcc -O2 -s -Wall \
errcapt.c bmcapt.c lbp800.c \
-l cups -o bin/Release/lbp800
gcc -O2 -s -Wall \
errcapt.c pport.c timcapt.c llcapt.c pkcapt.c hlcapt.c parcapt.c \
-l cups -o bin/Release/parcapt
exotux:/home/misiu/test/lbp800-0.1.2 # checkinstall

checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
...gekürzt...
Installing with make install...

========================= Installation results ===========================
gcc -O2 -s -Wall \
errcapt.c bmcapt.c lbp800.c \
-l cups -o bin/Release/lbp800
gcc -O2 -s -Wall \
errcapt.c pport.c timcapt.c llcapt.c pkcapt.c hlcapt.c parcapt.c \
-l cups -o bin/Release/parcapt
install -s -m a=rx bin/Release/lbp800 /usr/bin
install -m a=rx lbp800-print /usr/bin
install -m a=r ppd/Canon-LBP-800.ppd /usr/share/ppd/custom
install -m a=rx foo2lbp800-wrapper /usr/bin
install -m a=rx bin/Release/parcapt /usr/lib/cups/backend

======================== Installation successful ==========================

Copying documentation directory...
./
./TODO
./COPYING
./THANKS
./README

Kopiere Dateien in das temporäre Verzeichnis...OK

Komprimiere man-Seiten...OK

Erzeuge Datei-Liste...OK

Erstelle das RPM-Paket...OK

NOTE: The package will not be installed

Lösche temporäre Dateien...OK

Lösche doc-pak-Verzeichnis...OK

Schreibe Sicherungs-Paket...OK

Lösche temporäres Verzeichnis...OK


**********************************************************************

Done. The new package has been saved to

/usr/src/packages/RPMS/i386/lbp800-0.1.2-1.i386.rpm
You can install it in your system anytime using:

rpm -i lbp800-0.1.2-1.i386.rpm

**********************************************************************



MfG
misiu
 
Oben