K. Elo schrieb:
Hallo,
2006-08-30 17:08 +0200, Steffen Hanne:
Am Mittwoch, 30. August 2006 16:42 schrieb Martin Ereth:
Apropos: kann man irgendwo in OOo festlegen, dass er kprinter als Drucker nehmen soll?
Ja, /usr/lib/ooo-2.0/program/spadmin ausführen und kprinter als Standarddrucker einrichten.
Wenn ich aber einen neuen Drucker einrichten will, stehen nur Faxgerät und PDF-Konverter zur Verfügung. "Drucker" ist ausgeblendet. Merkwürdig...!
Ich habe es nun so gemacht, wie Steffen es beschrieben hat: Als Kommando nur "kprinter", dann öffnet er kprinter und das wars. Ich klicke dort auf drucken, und es passiert nix. In den Cups-Logs (steht auf very debug!) stehen für mich keine Fehlermeldungen, in /var/spool/cups stauen sich die Auträge, in kjobviewer ist kein Autrag mehr. Zufällig habe ich mir die Eigenschaften eines Jobs ansehen: aborted-by-system. Tja - und nun? Drucken aus konqueror/kprinter/... funktioniert. Ein Stück vom error-log: [1] Gibt es ein gutes HowTO zum cups einrichten? Ich drucke (bisher) nur lokal ohne jegliche Beschränkungen! Jeder darf soviel er will. Das Buch, das auf der cups-Homepage angepriesen wird, möchte ich mir nicht kaufen (40$!).
P.S. @Martin: Deine Beschwerde in Bezug auf Netzwerke vs. Drucker kann ich voll bestätigen. Früher dachte ich auch so über Netzwerke (mit all diesen Protokollen, Firewalls, Verkabelungen usw.), jetzt bastele ich hobbymäßig an Netzwerken (und es macht sogar Spaß) - aber um einen Drucker einzurichten, da wird man verrückt!
Und schon bin ich nicht mehr allein... Martin P.s: Tipp für Nach-Ausprobierer: In openoffice 2.0.0 gibt es das Programm spadmin nicht. In 2.0.3 schon. [1] d [31/Aug/2006:21:28:20 +0200] select_timeout: 31 seconds to send browse update d [31/Aug/2006:21:28:23 +0200] AcceptClient(lis=0x800461e8) 0 NumClients = 0 D [31/Aug/2006:21:28:23 +0200] AcceptClient: 5 from localhost:631. d [31/Aug/2006:21:28:23 +0200] AcceptClient: Adding fd 5 to InputSet... d [31/Aug/2006:21:28:23 +0200] ReadClient: 5, used=0, file=-1 D [31/Aug/2006:21:28:23 +0200] ReadClient: 5 POST /printers/ HTTP/1.1 d [31/Aug/2006:21:28:23 +0200] decode_auth(0xb7ac5008): Authorization string = "" d [31/Aug/2006:21:28:23 +0200] decode_auth: 5 username="" d [31/Aug/2006:21:28:23 +0200] IsAuthorized: con->uri = "/printers/" d [31/Aug/2006:21:28:23 +0200] FindBest: uri = "/printers/"... d [31/Aug/2006:21:28:23 +0200] FindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0 d [31/Aug/2006:21:28:23 +0200] FindBest: Location / Limit 7f d [31/Aug/2006:21:28:23 +0200] FindBest: Location /admin Limit 7f d [31/Aug/2006:21:28:23 +0200] FindBest: best = "/" d [31/Aug/2006:21:28:23 +0200] IsAuthorized: auth = 0, satisfy=0... d [31/Aug/2006:21:28:23 +0200] POST /printers/ d [31/Aug/2006:21:28:23 +0200] CONTENT_TYPE = application/ipp d [31/Aug/2006:21:28:23 +0200] ReadClient: 5 con->data_encoding = length, con->data_remaining = 252, con->file = -1 d [31/Aug/2006:21:28:23 +0200] ProcessIPPRequest(0xb7ac5008[5]): operation_id = 4002 d [31/Aug/2006:21:28:23 +0200] get_printers(0xb7ac5008[5], 0) d [31/Aug/2006:21:28:23 +0200] add_printer_state_reasons(0xb7ac5008[5], 0x80051890[i450]) d [31/Aug/2006:21:28:23 +0200] add_queued_job_count(0xb7ac5008[5], 0x80051890[i450]) d [31/Aug/2006:21:28:23 +0200] copy_attrs(0x801e20a0, 0x8004efb8, 0x801de630, 0) d [31/Aug/2006:21:28:23 +0200] copy_attribute(0x801e20a0, 0x8004efe0[printer-uri-supported,4,45]) d [31/Aug/2006:21:28:23 +0200] copy_attribute(0x801e20a0, 0x8004f118[printer-name,4,42]) d [31/Aug/2006:21:28:23 +0200] copy_attribute(0x801e20a0, 0x8004f168[printer-location,4,41]) d [31/Aug/2006:21:28:23 +0200] copy_attribute(0x801e20a0, 0x8005ca88[printer-type,4,23]) d [31/Aug/2006:21:28:23 +0200] copy_attrs(0x801e20a0, 0x800525a0, 0x801de630, 0) D [31/Aug/2006:21:28:23 +0200] ProcessIPPRequest: 5 status_code=1 d [31/Aug/2006:21:28:23 +0200] ProcessIPPRequest: Adding fd 5 to OutputSet... d [31/Aug/2006:21:28:23 +0200] WriteClient: Removing fd 5 from OutputSet... d [31/Aug/2006:21:28:23 +0200] AcceptClient(lis=0x800461e8) 0 NumClients = 1 D [31/Aug/2006:21:28:23 +0200] AcceptClient: 7 from localhost:631. d [31/Aug/2006:21:28:23 +0200] AcceptClient: Adding fd 7 to InputSet... d [31/Aug/2006:21:28:23 +0200] ReadClient: 5, used=0, file=-1 d [31/Aug/2006:21:28:23 +0200] ReadClient: httpGets returned EOF... D [31/Aug/2006:21:28:23 +0200] CloseClient: 5 d [31/Aug/2006:21:28:23 +0200] CloseClient: Removing fd 5 from InputSet and OutputSet... d [31/Aug/2006:21:28:23 +0200] ReadClient: 7, used=0, file=-1 D [31/Aug/2006:21:28:23 +0200] ReadClient: 7 POST /classes/ HTTP/1.1 d [31/Aug/2006:21:28:23 +0200] decode_auth(0xb7ac5008): Authorization string = "" d [31/Aug/2006:21:28:23 +0200] decode_auth: 7 username="" d [31/Aug/2006:21:28:23 +0200] IsAuthorized: con->uri = "/classes/" d [31/Aug/2006:21:28:23 +0200] FindBest: uri = "/classes/"... d [31/Aug/2006:21:28:23 +0200] FindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0 d [31/Aug/2006:21:28:23 +0200] FindBest: Location / Limit 7f d [31/Aug/2006:21:28:23 +0200] FindBest: Location /admin Limit 7f d [31/Aug/2006:21:28:23 +0200] FindBest: best = "/" d [31/Aug/2006:21:28:23 +0200] IsAuthorized: auth = 0, satisfy=0... d [31/Aug/2006:21:28:23 +0200] POST /classes/ d [31/Aug/2006:21:28:23 +0200] CONTENT_TYPE = application/ipp d [31/Aug/2006:21:28:23 +0200] ReadClient: 7 con->data_encoding = length, con->data_remaining = 221, con->file = -1 d [31/Aug/2006:21:28:23 +0200] ProcessIPPRequest(0xb7ac5008[7]): operation_id = 4005 d [31/Aug/2006:21:28:23 +0200] get_printers(0xb7ac5008[7], 1) D [31/Aug/2006:21:28:23 +0200] ProcessIPPRequest: 7 status_code=1 d [31/Aug/2006:21:28:23 +0200] ProcessIPPRequest: Adding fd 7 to OutputSet... d [31/Aug/2006:21:28:23 +0200] WriteClient: Removing fd 7 from OutputSet... d [31/Aug/2006:21:28:23 +0200] AcceptClient(lis=0x800461e8) 0 NumClients = 1 D [31/Aug/2006:21:28:23 +0200] AcceptClient: 5 from localhost:631. d [31/Aug/2006:21:28:23 +0200] AcceptClient: Adding fd 5 to InputSet... d [31/Aug/2006:21:28:23 +0200] ReadClient: 7, used=0, file=-1 d [31/Aug/2006:21:28:23 +0200] ReadClient: httpGets returned EOF... D [31/Aug/2006:21:28:23 +0200] CloseClient: 7 d [31/Aug/2006:21:28:23 +0200] CloseClient: Removing fd 7 from InputSet and OutputSet... d [31/Aug/2006:21:28:23 +0200] ReadClient: 5, used=0, file=-1 D [31/Aug/2006:21:28:23 +0200] ReadClient: 5 POST /printers/ HTTP/1.1 d [31/Aug/2006:21:28:23 +0200] decode_auth(0xb7ac5008): Authorization string = "" d [31/Aug/2006:21:28:23 +0200] decode_auth: 5 username="" d [31/Aug/2006:21:28:23 +0200] IsAuthorized: con->uri = "/printers/" d [31/Aug/2006:21:28:23 +0200] FindBest: uri = "/printers/"... d [31/Aug/2006:21:28:23 +0200] FindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0 d [31/Aug/2006:21:28:23 +0200] FindBest: Location / Limit 7f d [31/Aug/2006:21:28:23 +0200] FindBest: Location /admin Limit 7f d [31/Aug/2006:21:28:23 +0200] FindBest: best = "/" d [31/Aug/2006:21:28:23 +0200] IsAuthorized: auth = 0, satisfy=0... d [31/Aug/2006:21:28:23 +0200] POST /printers/ d [31/Aug/2006:21:28:23 +0200] CONTENT_TYPE = application/ipp d [31/Aug/2006:21:28:23 +0200] ReadClient: 5 con->data_encoding = length, con->data_remaining = 109, con->file = -1 d [31/Aug/2006:21:28:23 +0200] ProcessIPPRequest(0xb7ac5008[5]): operation_id = 4001 d [31/Aug/2006:21:28:23 +0200] get_default(0xb7ac5008[5]) d [31/Aug/2006:21:28:23 +0200] copy_attrs(0x801e1938, 0x8004efb8, 0x801e1758, 0) d [31/Aug/2006:21:28:23 +0200] copy_attribute(0x801e1938, 0x8004f118[printer-name,4,42]) d [31/Aug/2006:21:28:23 +0200] copy_attrs(0x801e1938, 0x800525a0, 0x801e1758, 0) D [31/Aug/2006:21:28:23 +0200] ProcessIPPRequest: 5 status_code=1 d [31/Aug/2006:21:28:23 +0200] ProcessIPPRequest: Adding fd 5 to OutputSet... d [31/Aug/2006:21:28:23 +0200] WriteClient: Removing fd 5 from OutputSet... d [31/Aug/2006:21:28:23 +0200] AcceptClient(lis=0x800461e8) 0 NumClients = 1 D [31/Aug/2006:21:28:23 +0200] AcceptClient: 7 from localhost:631. d [31/Aug/2006:21:28:23 +0200] AcceptClient: Adding fd 7 to InputSet... d [31/Aug/2006:21:28:23 +0200] ReadClient: 5, used=0, file=-1 d [31/Aug/2006:21:28:23 +0200] ReadClient: httpGets returned EOF... D [31/Aug/2006:21:28:23 +0200] CloseClient: 5 d [31/Aug/2006:21:28:23 +0200] CloseClient: Removing fd 5 from InputSet and OutputSet... d [31/Aug/2006:21:28:23 +0200] ReadClient: 7, used=0, file=-1 D [31/Aug/2006:21:28:23 +0200] ReadClient: 7 POST / HTTP/1.1 d [31/Aug/2006:21:28:23 +0200] decode_auth(0xb7ac5008): Authorization string = "" d [31/Aug/2006:21:28:23 +0200] decode_auth: 7 username="" d [31/Aug/2006:21:28:23 +0200] IsAuthorized: con->uri = "/" d [31/Aug/2006:21:28:23 +0200] FindBest: uri = "/"... d [31/Aug/2006:21:28:23 +0200] FindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0 d [31/Aug/2006:21:28:23 +0200] FindBest: Location / Limit 7f d [31/Aug/2006:21:28:23 +0200] FindBest: Location /admin Limit 7f d [31/Aug/2006:21:28:23 +0200] FindBest: best = "/" d [31/Aug/2006:21:28:23 +0200] IsAuthorized: auth = 0, satisfy=0... d [31/Aug/2006:21:28:23 +0200] POST / d [31/Aug/2006:21:28:23 +0200] CONTENT_TYPE = application/ipp d [31/Aug/2006:21:28:23 +0200] ReadClient: 7 con->data_encoding = length, con->data_remaining = 367, con->file = -1 d [31/Aug/2006:21:28:23 +0200] ProcessIPPRequest(0xb7ac5008[7]): operation_id = 000a d [31/Aug/2006:21:28:23 +0200] ProcessIPPRequest: URI="ipp://martin:631/printers/i450" d [31/Aug/2006:21:28:23 +0200] get_jobs(0xb7ac5008[7], ipp://martin:631/printers/i450) d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 1 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 2 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 3 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 4 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 5 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 6 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 7 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 8 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 9 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 10 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 11 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 12 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 13 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 14 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 15 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 16 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 17 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 18 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 19 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 20 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 21 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 22 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 23 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 24 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 25 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 26 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 27 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 28 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 29 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 30 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 31 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 32 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 33 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 34 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 35 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 36 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 37 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 38 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 39 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 40 d [31/Aug/2006:21:28:23 +0200] get_jobs: job->id = 41 D [31/Aug/2006:21:28:23 +0200] ProcessIPPRequest: 7 status_code=1 d [31/Aug/2006:21:28:23 +0200] ProcessIPPRequest: Adding fd 7 to OutputSet... d [31/Aug/2006:21:28:23 +0200] WriteClient: Removing fd 7 from OutputSet... d [31/Aug/2006:21:28:23 +0200] ReadClient: 7, used=0, file=-1 d [31/Aug/2006:21:28:23 +0200] ReadClient: httpGets returned EOF... D [31/Aug/2006:21:28:23 +0200] CloseClient: 7 d [31/Aug/2006:21:28:23 +0200] CloseClient: Removing fd 7 from InputSet and OutputSet... d [31/Aug/2006:21:28:24 +0200] select_timeout: 27 seconds to send browse update