Zitat
Symbolische Verknüpfung erstellen:
Das Skript des cupswrapper muss CUPS herunterfahren, den Treiber installieren und dann CUPS
wieder starten. Dazu erwartet das Script das SysV Skript /etc/init.d/cups. Unter Ubuntu heißt es
aber /etc/init.d/cupsys. Daher muss für das Skript ein symbolische Verknüpfung in einem Terminal
erstellt werden:
sudo ln -s /etc/init.d/cupsys /etc/init.d/lpd
sudo ln -s /etc/init.d/cupsys /etc/init.d/lprng
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
willi@Secretwz:~$ sudo apt-get install csh Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut Reading state information... Fertig csh ist schon die neueste Version. The following packages were automatically installed and are no longer required: libsamplerate0 Verwenden Sie »apt-get autoremove«, um sie zu entfernen. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. 1 nicht vollständig installiert oder entfernt. Es müssen 0B Archive geholt werden. Nach dem Auspacken werden 0B Plattenplatz zusätzlich benutzt. Richte sun-java6-doc ein (6-03-0ubuntu2) ... This package is an installer package, it does not actually contain the JDK documentation. You will need to go download one of the archives: jdk-6-doc.zip jdk-6-doc-ja.zip (choose the non-update version if this is the first installation). Please visit http://java.sun.com/javase/downloads/ now and download. The file should be owned by root.root and be copied to /tmp. [Press RETURN to try again, 'no' + RETURN to abort] no Abort installation of JDK documentation dpkg: Fehler beim Bearbeiten von sun-java6-doc (--configure): Unterprozess post-installation script gab den Fehlerwert 1 zurück Fehler traten auf beim Bearbeiten von: sun-java6-doc E: Sub-process /usr/bin/dpkg returned an error code (1) willi@Secretwz:~$ sudo ln -s /etc/init.d/cupsys /etc/init.d/lpd willi@Secretwz:~$ sudo ln -s /etc/init.d/cupsys /etc/init.d/lprng willi@Secretwz:~$ mkdir ~/brother willi@Secretwz:~$ cd ~/brother willi@Secretwz:~/brother$ wget wget: URL fehlt Syntax: wget [OPTION]... [URL]... »wget --help« gibt weitere Informationen. willi@Secretwz:~/brother$ http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc210c bash: http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc210c: No such file or directory willi@Secretwz:~/brother$ _1.0.0-1_i386.deb bash: _1.0.0-1_i386.deb: command not found willi@Secretwz:~/brother$ wget http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc210c --18:52:25-- http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc210c => `cupswrappermfc210c' Auflösen des Hostnamen »solutions.brother.com«.... 213.248.112.114, 213.248.112.108 Verbindungsaufbau zu solutions.brother.com|213.248.112.114|:80... verbunden. HTTP Anforderung gesendet, warte auf Antwort... 404 Not Found 18:52:27 FEHLER 404: Not Found. willi@Secretwz:~/brother$ _1.0.0-1_i386.deb bash: _1.0.0-1_i386.deb: command not found willi@Secretwz:~/brother$ wget http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc210clpr-1.0.2- --18:52:36-- http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc210clpr-1.0.2- => `mfc210clpr-1.0.2-' Auflösen des Hostnamen »solutions.brother.com«.... 213.248.112.114, 213.248.112.108 Verbindungsaufbau zu solutions.brother.com|213.248.112.114|:80... verbunden. HTTP Anforderung gesendet, warte auf Antwort... 404 Not Found 18:52:36 FEHLER 404: Not Found. willi@Secretwz:~/brother$ 1.i386.deb bash: 1.i386.deb: command not found willi@Secretwz:~/brother$ wget http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc210c_1.0.0-1_i386.deb --18:54:48-- http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc210c_1.0.0-1_i386.deb => `cupswrappermfc210c_1.0.0-1_i386.deb' Auflösen des Hostnamen »solutions.brother.com«.... 62.41.79.209, 62.41.79.201 Verbindungsaufbau zu solutions.brother.com|62.41.79.209|:80... verbunden. HTTP Anforderung gesendet, warte auf Antwort... 200 OK Länge: 12.342 (12K) [application/octet-stream] 100%[====================================>] 12.342 23.68K/s 18:54:50 (23.61 KB/s) - »cupswrappermfc210c_1.0.0-1_i386.deb« gespeichert [12342/12342] willi@Secretwz:~/brother$ wget http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc210clpr-1.0.2-1.i386.deb --18:55:15-- http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc210clpr-1.0.2-1.i386.deb => `mfc210clpr-1.0.2-1.i386.deb' Auflösen des Hostnamen »solutions.brother.com«.... 62.41.79.201, 62.41.79.209 Verbindungsaufbau zu solutions.brother.com|62.41.79.201|:80... verbunden. HTTP Anforderung gesendet, warte auf Antwort... 200 OK Länge: 740.022 (723K) [application/octet-stream] 100%[====================================>] 740.022 294.17K/s 18:55:18 (293.36 KB/s) - »mfc210clpr-1.0.2-1.i386.deb« gespeichert [740022/740022] willi@Secretwz:~/brother$ sudo dpkg -i ~/brother/mfc210clpr-1.0.2-1.i386.deb Wähle vormals abgewähltes Paket mfc210clpr. (Lese Datenbank ... 114000 Dateien und Verzeichnisse sind derzeit installiert.) Entpacke mfc210clpr (aus .../mfc210clpr-1.0.2-1.i386.deb) ... Richte mfc210clpr ein (1.0.2-1) ... * Restarting Common Unix Printing System: cupsd [ OK ] willi@Secretwz:~/brother$ sudo dpkg -i ~/brother/cupswrappermfc210c_1.0.0-1_i386.deb Wähle vormals abgewähltes Paket cupswrappermfc210c. (Lese Datenbank ... 114018 Dateien und Verzeichnisse sind derzeit installiert.) Entpacke cupswrappermfc210c (aus .../cupswrappermfc210c_1.0.0-1_i386.deb) ... Richte cupswrappermfc210c ein (1.0.0-1) ... rm -f /usr/lib/cups/filter/brlpdwrapperMFC210C * Stopping Common Unix Printing System: cupsd [ OK ] * Stopping Common Unix Printing System: cupsd [ OK ] /etc/init.d/cups: Command not found. lpadmin: Verbindung zum Server nicht möglich: Connection refused |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »secretwz« (23.11.2007, 21:33)
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »zero77« (23.11.2007, 19:24)
Quellcode |
|
1 |
sudo /etc/init.d/cupsys status |
Quellcode |
|
1 |
sudo dpkg-reconfigure cupsys |
Quellcode |
|
1 2 3 4 5 6 7 8 9 |
willi@Secretwz:~$ sudo /etc/init.d/cupsys status [sudo] password for willi: Status of Common Unix Printing System: cupsd is not running. willi@Secretwz:~$ sudo dpkg-reconfigure cupsys * Stopping Common Unix Printing System: cupsd [ OK ] Reloading AppArmor profiles : done. * Starting Common Unix Printing System: cupsd [ OK ] willi@Secretwz:~$ sudo /etc/init.d/cupsys status Status of Common Unix Printing System: cupsd is running. |
Benutzerinformationen überspringen
uıɹoʇɐɹǝpoɯ-ex
Registrierungsdatum: 13.06.2006
Derivat: Ubuntu
Architektur: 32-Bit PC
Andere Betriebssysteme: Gentoo 2008
Zitat
Hallo,
hatte dasselbe Problem bei Ubuntu 6.10. Installation verlief ohne Probleme, aber beim Drucken hat der DCP-115C nur "Datenempfang" angezeigt. Hab dann wie im Wiki beschrieben einfach folgende Zeile im Terminal ausgeführt:
Code:
lpadmin -p <DRUCKERNAME> -E -v <GERÄTEPFAD> -P /usr/share/cups/model/<PPD-DATEI>
Jetzt bekomm ich einen zweiten Drucker unter System->Administration->Drucker angezeigt und zwar den DCP-115C (vorher nur MFC210C).
Seit dem funktioniert er einwandfrei.
Benutzerinformationen überspringen
uıɹoʇɐɹǝpoɯ-ex
Registrierungsdatum: 13.06.2006
Derivat: Ubuntu
Architektur: 32-Bit PC
Andere Betriebssysteme: Gentoo 2008
Quellcode |
|
1 |
lpadmin -p DCP-120C -E -v usb://Brother/DCP-120C -P /usr/share/cups/model/brmfc210c_cups.ppd |
Benutzerinformationen überspringen
uıɹoʇɐɹǝpoɯ-ex
Registrierungsdatum: 13.06.2006
Derivat: Ubuntu
Architektur: 32-Bit PC
Andere Betriebssysteme: Gentoo 2008
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »secretwz« (18.10.2008, 11:30)
Sponsorenwerbung: |
Hardware, Computer, PCs, Notebooks & Laptops mit Linux |
Forensoftware: Burning Board®, entwickelt von WoltLab® GmbH
Individuelle Notebooks Laptops - Individuelle Computer PCs - Linux Notebooks & Computers
Lastminute - Ubuntu Linux - Abmahnung - Geek und Nerd Shirt Shop
T-Shirts - sanierung wien