[Eisfair] Lprng und Samba und spool mit USB oder Netzwerk
Sascha Pohl
sascha at pohl-bo.de
Di Aug 23 00:25:00 CEST 2016
Hallo Thomas,
Am 21.08.2016 um 11:44 schrieb Thomas Bork:
> 1.
> Welche Veränderungen hast Du _genau_ in der printcap vorgenommen?
Ich habe die Änderungen genau aus deinem Post kopiert.
Also:
connect_grace=1
connect_retry=100
connect_interval=100
max_connect_interval=200
send_try=0
send_failure_action=retry
(Jeweils noch mit einem Doppelpunkt davor)
> Es kann sein, dass folgende Optionen nur für Remotedrucker funktionieren:
>
> :connect_grace=X
> Warte zwischen Verbindungsversuchen mindestens X Sekunden.
>
> :connect_interval=X
> Versuche den Job im Abstand von connect_grace + N mal X Sekunden je nach
> Anzahl der Versuche erneut loszuwerden (bei jedem Versuch wird die
> Wartezeit verdoppelt bis maximal max_connect_interval).
>
> :max_connect_interval=X
> Warte maximal connect_grace + X Sekunden zwischen den Verbindungsversuchen.
>
> Sind diese also für USB-Drucker überhaupt notwendig?
Mit den oben genannten Einträgen (einzeln habe ich sie bisher nicht
getestet, sondern nur so gesamt) hat er im Sekundentakt, ohne dass sich
die Zeitspanne vergrößert hat, versucht, den Druck abzusetzen, bis ich
dann, nach einer Stunde, den Drucker eingeschaltet habe und den Ausdruck
erhalten habe.
> 2.
> Welches Ergebnis hatten die Veränderungen _genau_? Und zwar in beiden
> Fällen (Drucker eingeschaltet, Drucker ausgeschaltet). Was zeigte die
> Ausgabe von
>
> cat /var/spool/lpd/usbpr?/status.pr
Hier mal die Ausgabe nach meinem Versuch mit dem ausgeschalteten Drucker:
server # cat /var/spool/lpd/usbpr?/status.pr
job 'sascha at server+83' removed at 2016-08-12-00:51:17.818 ##
A=sascha at server+83 number=83 process=8087
waiting for subserver to exit at 2016-08-12-00:53:23.937 ## A=<NULL>
number=0 process=16672
subserver pid 16673 starting at 2016-08-12-00:53:23.937 ##
A=sascha at server+669 number=669 process=16673
accounting at start at 2016-08-12-00:53:23.937 ## A=sascha at server+669
number=669 process=16673
opening device '/dev/usb/lp0' at 2016-08-12-00:53:23.937 ##
A=sascha at server+669 number=669 process=16673
printing job 'sascha at server+669' at 2016-08-12-00:53:23.937 ##
A=sascha at server+669 number=669 process=16673
processing 'dfA669server.pohl-bo.de', size 180, format 'f', IF filter
'lprng-filter' at 2016-08-12-00:53:23.937 ## A=sascha at server+669
number=669 process=16673
IF filter 'lprng-filter' filter finished at 2016-08-12-00:53:24.005 ##
A=sascha at server+669 number=669 process=16673
printing finished at 2016-08-12-00:53:24.005 ## A=sascha at server+669
number=669 process=16673
accounting at end at 2016-08-12-00:53:24.005 ## A=sascha at server+669
number=669 process=16673
finished 'sascha at server+669', status 'JSUCC' at 2016-08-12-00:53:24.005
## A=sascha at server+669 number=669 process=16673
usbpr1 at server.pohl-bo.de: job 'sascha at server+669' printed at
2016-08-12-00:53:24.005 ## A=sascha at server+669 number=669 process=16672
job 'sascha at server+669' removed at 2016-08-12-00:53:24.005 ##
A=sascha at server+669 number=669 process=16672
waiting for subserver to exit at 2016-08-12-00:54:26.535 ## A=<NULL>
number=0 process=19794
subserver pid 19796 starting at 2016-08-12-00:54:26.536 ##
A=sascha at server+786 number=786 process=19796
accounting at start at 2016-08-12-00:54:26.536 ## A=sascha at server+786
number=786 process=19796
opening device '/dev/usb/lp0' at 2016-08-12-00:54:26.536 ##
A=sascha at server+786 number=786 process=19796
printing job 'sascha at server+786' at 2016-08-12-00:54:26.536 ##
A=sascha at server+786 number=786 process=19796
processing 'dfA786server.pohl-bo.de', size 179, format 'f', IF filter
'lprng-filter' at 2016-08-12-00:54:26.536 ## A=sascha at server+786
number=786 process=19796
IF filter 'lprng-filter' filter finished at 2016-08-12-00:54:26.621 ##
A=sascha at server+786 number=786 process=19796
printing finished at 2016-08-12-00:54:26.621 ## A=sascha at server+786
number=786 process=19796
accounting at end at 2016-08-12-00:54:26.621 ## A=sascha at server+786
number=786 process=19796
finished 'sascha at server+786', status 'JSUCC' at 2016-08-12-00:54:26.621
## A=sascha at server+786 number=786 process=19796
usbpr1 at server.pohl-bo.de: job 'sascha at server+786' printed at
2016-08-12-00:54:26.621 ## A=sascha at server+786 number=786 process=19794
job 'sascha at server+786' removed at 2016-08-12-00:54:26.622 ##
A=sascha at server+786 number=786 process=19794
subserver pid 23992 starting at 2016-08-12-00:55:54.907 ##
A=sascha at server+986 number=986 process=23992
accounting at start at 2016-08-12-00:55:54.907 ## A=sascha at server+986
number=986 process=23992
waiting for subserver to exit at 2016-08-12-00:55:54.907 ## A=<NULL>
number=0 process=23989
opening device '/dev/usb/lp0' at 2016-08-12-00:55:54.907 ##
A=sascha at server+986 number=986 process=23992
printing job 'sascha at server+986' at 2016-08-12-00:55:54.907 ##
A=sascha at server+986 number=986 process=23992
processing 'dfA986server.pohl-bo.de', size 5669364, format 'f', IF
filter 'lprng-filter' at 2016-08-12-00:55:54.907 ## A=sascha at server+986
number=986 process=23992
IF filter 'lprng-filter' filter finished at 2016-08-12-00:58:14.849 ##
A=sascha at server+986 number=986 process=23992
printing finished at 2016-08-12-00:58:14.849 ## A=sascha at server+986
number=986 process=23992
accounting at end at 2016-08-12-00:58:14.849 ## A=sascha at server+986
number=986 process=23992
finished 'sascha at server+986', status 'JSUCC' at 2016-08-12-00:58:14.849
## A=sascha at server+986 number=986 process=23992
usbpr1 at server.pohl-bo.de: job 'sascha at server+986' printed at
2016-08-12-00:58:14.849 ## A=sascha at server+986 number=986 process=23989
job 'sascha at server+986' removed at 2016-08-12-00:58:14.850 ##
A=sascha at server+986 number=986 process=23989
waiting for subserver to exit at 2016-08-12-00:58:49.323 ## A=<NULL>
number=0 process=32185
subserver pid 32187 starting at 2016-08-12-00:58:49.324 ##
A=sascha at server+183 number=183 process=32187
accounting at start at 2016-08-12-00:58:49.324 ## A=sascha at server+183
number=183 process=32187
opening device '/dev/usb/lp0' at 2016-08-12-00:58:49.324 ##
A=sascha at server+183 number=183 process=32187
printing job 'sascha at server+183' at 2016-08-12-00:58:49.324 ##
A=sascha at server+183 number=183 process=32187
processing 'dfA183server.pohl-bo.de', size 394377, format 'f', IF filter
'lprng-filter' at 2016-08-12-00:58:49.324 ## A=sascha at server+183
number=183 process=32187
IF filter 'lprng-filter' filter finished at 2016-08-12-00:59:11.557 ##
A=sascha at server+183 number=183 process=32187
printing finished at 2016-08-12-00:59:11.557 ## A=sascha at server+183
number=183 process=32187
accounting at end at 2016-08-12-00:59:11.557 ## A=sascha at server+183
number=183 process=32187
finished 'sascha at server+183', status 'JSUCC' at 2016-08-12-00:59:11.557
## A=sascha at server+183 number=183 process=32187
usbpr1 at server.pohl-bo.de: job 'sascha at server+183' printed at
2016-08-12-00:59:11.557 ## A=sascha at server+183 number=183 process=32185
job 'sascha at server+183' removed at 2016-08-12-00:59:11.557 ##
A=sascha at server+183 number=183 process=32185
waiting for subserver to exit at 2016-08-12-01:01:26.885 ## A=<NULL>
number=0 process=7769
subserver pid 7770 starting at 2016-08-12-01:01:26.886 ##
A=sascha at server+766 number=766 process=7770
accounting at start at 2016-08-12-01:01:26.886 ## A=sascha at server+766
number=766 process=7770
opening device '/dev/usb/lp0' at 2016-08-12-01:01:26.886 ##
A=sascha at server+766 number=766 process=7770
printing job 'sascha at server+766' at 2016-08-12-01:01:26.886 ##
A=sascha at server+766 number=766 process=7770
processing 'dfA766server.pohl-bo.de', size 5669364, format 'f', IF
filter 'lprng-filter' at 2016-08-12-01:01:26.886 ## A=sascha at server+766
number=766 process=7770
IF filter 'lprng-filter' filter finished at 2016-08-12-01:03:14.525 ##
A=sascha at server+766 number=766 process=7770
printing finished at 2016-08-12-01:03:14.525 ## A=sascha at server+766
number=766 process=7770
accounting at end at 2016-08-12-01:03:14.525 ## A=sascha at server+766
number=766 process=7770
finished 'sascha at server+766', status 'JSUCC' at 2016-08-12-01:03:14.525
## A=sascha at server+766 number=766 process=7770
usbpr1 at server.pohl-bo.de: job 'sascha at server+766' printed at
2016-08-12-01:03:14.525 ## A=sascha at server+766 number=766 process=7769
job 'sascha at server+766' removed at 2016-08-12-01:03:14.527 ##
A=sascha at server+766 number=766 process=7769
cannot open '/dev/usb/lp1' - 'No such device', attempt 3542 at
2016-08-20-01:49:17.928 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3543 at
2016-08-20-01:49:18.932 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3544 at
2016-08-20-01:49:19.936 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3545 at
2016-08-20-01:49:20.940 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3546 at
2016-08-20-01:49:21.944 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3547 at
2016-08-20-01:49:22.948 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3548 at
2016-08-20-01:49:23.952 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3549 at
2016-08-20-01:49:24.956 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3550 at
2016-08-20-01:49:25.960 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3551 at
2016-08-20-01:49:26.964 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3552 at
2016-08-20-01:49:27.968 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3553 at
2016-08-20-01:49:28.972 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3554 at
2016-08-20-01:49:29.976 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3555 at
2016-08-20-01:49:30.980 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3556 at
2016-08-20-01:49:31.984 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3557 at
2016-08-20-01:49:32.989 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3558 at
2016-08-20-01:49:33.992 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3559 at
2016-08-20-01:49:34.996 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3560 at
2016-08-20-01:49:36.000 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3561 at
2016-08-20-01:49:37.004 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3562 at
2016-08-20-01:49:38.008 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3563 at
2016-08-20-01:49:39.012 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3564 at
2016-08-20-01:49:40.016 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3565 at
2016-08-20-01:49:41.020 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3566 at
2016-08-20-01:49:42.024 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3567 at
2016-08-20-01:49:43.028 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3568 at
2016-08-20-01:49:44.032 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3569 at
2016-08-20-01:49:45.036 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3570 at
2016-08-20-01:49:46.040 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3571 at
2016-08-20-01:49:47.044 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3572 at
2016-08-20-01:49:48.048 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3573 at
2016-08-20-01:49:49.052 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3574 at
2016-08-20-01:49:50.056 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3575 at
2016-08-20-01:49:51.060 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3576 at
2016-08-20-01:49:52.064 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3577 at
2016-08-20-01:49:53.068 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3578 at
2016-08-20-01:49:54.072 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3579 at
2016-08-20-01:49:55.076 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3580 at
2016-08-20-01:49:56.080 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3581 at
2016-08-20-01:49:57.084 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3582 at
2016-08-20-01:49:58.088 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3583 at
2016-08-20-01:49:59.092 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3584 at
2016-08-20-01:50:00.096 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3585 at
2016-08-20-01:50:01.100 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3586 at
2016-08-20-01:50:02.104 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3587 at
2016-08-20-01:50:03.108 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3588 at
2016-08-20-01:50:04.112 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3589 at
2016-08-20-01:50:05.116 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3590 at
2016-08-20-01:50:06.120 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3591 at
2016-08-20-01:50:07.124 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3592 at
2016-08-20-01:50:08.128 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3593 at
2016-08-20-01:50:09.132 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3594 at
2016-08-20-01:50:10.136 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3595 at
2016-08-20-01:50:11.140 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3596 at
2016-08-20-01:50:12.144 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3597 at
2016-08-20-01:50:13.148 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3598 at
2016-08-20-01:50:14.152 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3599 at
2016-08-20-01:50:15.156 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3600 at
2016-08-20-01:50:16.160 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3601 at
2016-08-20-01:50:17.164 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3602 at
2016-08-20-01:50:18.168 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3603 at
2016-08-20-01:50:19.172 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3604 at
2016-08-20-01:50:20.176 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3605 at
2016-08-20-01:50:21.180 ## A=sascha at server+236 number=236 process=8252
printing job 'sascha at server+236' at 2016-08-20-01:50:22.184 ##
A=sascha at server+236 number=236 process=8252
processing 'dfA236server.pohl-bo.de', size 375134, format 'f', IF filter
'lprng-filter' at 2016-08-20-01:50:22.185 ## A=sascha at server+236
number=236 process=8252
IF filter 'lprng-filter' filter finished at 2016-08-20-01:51:25.923 ##
A=sascha at server+236 number=236 process=8252
printing finished at 2016-08-20-01:51:25.923 ## A=sascha at server+236
number=236 process=8252
accounting at end at 2016-08-20-01:51:25.923 ## A=sascha at server+236
number=236 process=8252
finished 'sascha at server+236', status 'JSUCC' at 2016-08-20-01:51:25.923
## A=sascha at server+236 number=236 process=8252
usbpr2 at server.pohl-bo.de: job 'sascha at server+236' printed at
2016-08-20-01:51:25.924 ## A=sascha at server+236 number=236 process=8251
job 'sascha at server+236' removed at 2016-08-20-01:51:25.924 ##
A=sascha at server+236 number=236 process=8251
server #
Und nun nach dem Ausdruck eines Dokumentes mit eingeschaltetem Drucker:
server # cat /var/spool/lpd/usbpr?/status.pr
job 'sascha at server+83' removed at 2016-08-12-00:51:17.818 ##
A=sascha at server+83 number=83 process=8087
waiting for subserver to exit at 2016-08-12-00:53:23.937 ## A=<NULL>
number=0 process=16672
subserver pid 16673 starting at 2016-08-12-00:53:23.937 ##
A=sascha at server+669 number=669 process=16673
accounting at start at 2016-08-12-00:53:23.937 ## A=sascha at server+669
number=669 process=16673
opening device '/dev/usb/lp0' at 2016-08-12-00:53:23.937 ##
A=sascha at server+669 number=669 process=16673
printing job 'sascha at server+669' at 2016-08-12-00:53:23.937 ##
A=sascha at server+669 number=669 process=16673
processing 'dfA669server.pohl-bo.de', size 180, format 'f', IF filter
'lprng-filter' at 2016-08-12-00:53:23.937 ## A=sascha at server+669
number=669 process=16673
IF filter 'lprng-filter' filter finished at 2016-08-12-00:53:24.005 ##
A=sascha at server+669 number=669 process=16673
printing finished at 2016-08-12-00:53:24.005 ## A=sascha at server+669
number=669 process=16673
accounting at end at 2016-08-12-00:53:24.005 ## A=sascha at server+669
number=669 process=16673
finished 'sascha at server+669', status 'JSUCC' at 2016-08-12-00:53:24.005
## A=sascha at server+669 number=669 process=16673
usbpr1 at server.pohl-bo.de: job 'sascha at server+669' printed at
2016-08-12-00:53:24.005 ## A=sascha at server+669 number=669 process=16672
job 'sascha at server+669' removed at 2016-08-12-00:53:24.005 ##
A=sascha at server+669 number=669 process=16672
waiting for subserver to exit at 2016-08-12-00:54:26.535 ## A=<NULL>
number=0 process=19794
subserver pid 19796 starting at 2016-08-12-00:54:26.536 ##
A=sascha at server+786 number=786 process=19796
accounting at start at 2016-08-12-00:54:26.536 ## A=sascha at server+786
number=786 process=19796
opening device '/dev/usb/lp0' at 2016-08-12-00:54:26.536 ##
A=sascha at server+786 number=786 process=19796
printing job 'sascha at server+786' at 2016-08-12-00:54:26.536 ##
A=sascha at server+786 number=786 process=19796
processing 'dfA786server.pohl-bo.de', size 179, format 'f', IF filter
'lprng-filter' at 2016-08-12-00:54:26.536 ## A=sascha at server+786
number=786 process=19796
IF filter 'lprng-filter' filter finished at 2016-08-12-00:54:26.621 ##
A=sascha at server+786 number=786 process=19796
printing finished at 2016-08-12-00:54:26.621 ## A=sascha at server+786
number=786 process=19796
accounting at end at 2016-08-12-00:54:26.621 ## A=sascha at server+786
number=786 process=19796
finished 'sascha at server+786', status 'JSUCC' at 2016-08-12-00:54:26.621
## A=sascha at server+786 number=786 process=19796
usbpr1 at server.pohl-bo.de: job 'sascha at server+786' printed at
2016-08-12-00:54:26.621 ## A=sascha at server+786 number=786 process=19794
job 'sascha at server+786' removed at 2016-08-12-00:54:26.622 ##
A=sascha at server+786 number=786 process=19794
subserver pid 23992 starting at 2016-08-12-00:55:54.907 ##
A=sascha at server+986 number=986 process=23992
accounting at start at 2016-08-12-00:55:54.907 ## A=sascha at server+986
number=986 process=23992
waiting for subserver to exit at 2016-08-12-00:55:54.907 ## A=<NULL>
number=0 process=23989
opening device '/dev/usb/lp0' at 2016-08-12-00:55:54.907 ##
A=sascha at server+986 number=986 process=23992
printing job 'sascha at server+986' at 2016-08-12-00:55:54.907 ##
A=sascha at server+986 number=986 process=23992
processing 'dfA986server.pohl-bo.de', size 5669364, format 'f', IF
filter 'lprng-filter' at 2016-08-12-00:55:54.907 ## A=sascha at server+986
number=986 process=23992
IF filter 'lprng-filter' filter finished at 2016-08-12-00:58:14.849 ##
A=sascha at server+986 number=986 process=23992
printing finished at 2016-08-12-00:58:14.849 ## A=sascha at server+986
number=986 process=23992
accounting at end at 2016-08-12-00:58:14.849 ## A=sascha at server+986
number=986 process=23992
finished 'sascha at server+986', status 'JSUCC' at 2016-08-12-00:58:14.849
## A=sascha at server+986 number=986 process=23992
usbpr1 at server.pohl-bo.de: job 'sascha at server+986' printed at
2016-08-12-00:58:14.849 ## A=sascha at server+986 number=986 process=23989
job 'sascha at server+986' removed at 2016-08-12-00:58:14.850 ##
A=sascha at server+986 number=986 process=23989
waiting for subserver to exit at 2016-08-12-00:58:49.323 ## A=<NULL>
number=0 process=32185
subserver pid 32187 starting at 2016-08-12-00:58:49.324 ##
A=sascha at server+183 number=183 process=32187
accounting at start at 2016-08-12-00:58:49.324 ## A=sascha at server+183
number=183 process=32187
opening device '/dev/usb/lp0' at 2016-08-12-00:58:49.324 ##
A=sascha at server+183 number=183 process=32187
printing job 'sascha at server+183' at 2016-08-12-00:58:49.324 ##
A=sascha at server+183 number=183 process=32187
processing 'dfA183server.pohl-bo.de', size 394377, format 'f', IF filter
'lprng-filter' at 2016-08-12-00:58:49.324 ## A=sascha at server+183
number=183 process=32187
IF filter 'lprng-filter' filter finished at 2016-08-12-00:59:11.557 ##
A=sascha at server+183 number=183 process=32187
printing finished at 2016-08-12-00:59:11.557 ## A=sascha at server+183
number=183 process=32187
accounting at end at 2016-08-12-00:59:11.557 ## A=sascha at server+183
number=183 process=32187
finished 'sascha at server+183', status 'JSUCC' at 2016-08-12-00:59:11.557
## A=sascha at server+183 number=183 process=32187
usbpr1 at server.pohl-bo.de: job 'sascha at server+183' printed at
2016-08-12-00:59:11.557 ## A=sascha at server+183 number=183 process=32185
job 'sascha at server+183' removed at 2016-08-12-00:59:11.557 ##
A=sascha at server+183 number=183 process=32185
waiting for subserver to exit at 2016-08-12-01:01:26.885 ## A=<NULL>
number=0 process=7769
subserver pid 7770 starting at 2016-08-12-01:01:26.886 ##
A=sascha at server+766 number=766 process=7770
accounting at start at 2016-08-12-01:01:26.886 ## A=sascha at server+766
number=766 process=7770
opening device '/dev/usb/lp0' at 2016-08-12-01:01:26.886 ##
A=sascha at server+766 number=766 process=7770
printing job 'sascha at server+766' at 2016-08-12-01:01:26.886 ##
A=sascha at server+766 number=766 process=7770
processing 'dfA766server.pohl-bo.de', size 5669364, format 'f', IF
filter 'lprng-filter' at 2016-08-12-01:01:26.886 ## A=sascha at server+766
number=766 process=7770
IF filter 'lprng-filter' filter finished at 2016-08-12-01:03:14.525 ##
A=sascha at server+766 number=766 process=7770
printing finished at 2016-08-12-01:03:14.525 ## A=sascha at server+766
number=766 process=7770
accounting at end at 2016-08-12-01:03:14.525 ## A=sascha at server+766
number=766 process=7770
finished 'sascha at server+766', status 'JSUCC' at 2016-08-12-01:03:14.525
## A=sascha at server+766 number=766 process=7770
usbpr1 at server.pohl-bo.de: job 'sascha at server+766' printed at
2016-08-12-01:03:14.525 ## A=sascha at server+766 number=766 process=7769
job 'sascha at server+766' removed at 2016-08-12-01:03:14.527 ##
A=sascha at server+766 number=766 process=7769
cannot open '/dev/usb/lp1' - 'No such device', attempt 3542 at
2016-08-20-01:49:17.928 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3543 at
2016-08-20-01:49:18.932 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3544 at
2016-08-20-01:49:19.936 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3545 at
2016-08-20-01:49:20.940 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3546 at
2016-08-20-01:49:21.944 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3547 at
2016-08-20-01:49:22.948 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3548 at
2016-08-20-01:49:23.952 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3549 at
2016-08-20-01:49:24.956 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3550 at
2016-08-20-01:49:25.960 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3551 at
2016-08-20-01:49:26.964 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3552 at
2016-08-20-01:49:27.968 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3553 at
2016-08-20-01:49:28.972 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3554 at
2016-08-20-01:49:29.976 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3555 at
2016-08-20-01:49:30.980 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3556 at
2016-08-20-01:49:31.984 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3557 at
2016-08-20-01:49:32.989 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3558 at
2016-08-20-01:49:33.992 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3559 at
2016-08-20-01:49:34.996 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3560 at
2016-08-20-01:49:36.000 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3561 at
2016-08-20-01:49:37.004 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3562 at
2016-08-20-01:49:38.008 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3563 at
2016-08-20-01:49:39.012 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3564 at
2016-08-20-01:49:40.016 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3565 at
2016-08-20-01:49:41.020 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3566 at
2016-08-20-01:49:42.024 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3567 at
2016-08-20-01:49:43.028 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3568 at
2016-08-20-01:49:44.032 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3569 at
2016-08-20-01:49:45.036 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3570 at
2016-08-20-01:49:46.040 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3571 at
2016-08-20-01:49:47.044 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3572 at
2016-08-20-01:49:48.048 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3573 at
2016-08-20-01:49:49.052 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3574 at
2016-08-20-01:49:50.056 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3575 at
2016-08-20-01:49:51.060 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3576 at
2016-08-20-01:49:52.064 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3577 at
2016-08-20-01:49:53.068 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3578 at
2016-08-20-01:49:54.072 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3579 at
2016-08-20-01:49:55.076 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3580 at
2016-08-20-01:49:56.080 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3581 at
2016-08-20-01:49:57.084 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3582 at
2016-08-20-01:49:58.088 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3583 at
2016-08-20-01:49:59.092 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3584 at
2016-08-20-01:50:00.096 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3585 at
2016-08-20-01:50:01.100 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3586 at
2016-08-20-01:50:02.104 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3587 at
2016-08-20-01:50:03.108 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3588 at
2016-08-20-01:50:04.112 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3589 at
2016-08-20-01:50:05.116 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3590 at
2016-08-20-01:50:06.120 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3591 at
2016-08-20-01:50:07.124 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3592 at
2016-08-20-01:50:08.128 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3593 at
2016-08-20-01:50:09.132 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3594 at
2016-08-20-01:50:10.136 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3595 at
2016-08-20-01:50:11.140 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3596 at
2016-08-20-01:50:12.144 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3597 at
2016-08-20-01:50:13.148 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3598 at
2016-08-20-01:50:14.152 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3599 at
2016-08-20-01:50:15.156 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3600 at
2016-08-20-01:50:16.160 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3601 at
2016-08-20-01:50:17.164 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3602 at
2016-08-20-01:50:18.168 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3603 at
2016-08-20-01:50:19.172 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3604 at
2016-08-20-01:50:20.176 ## A=sascha at server+236 number=236 process=8252
cannot open '/dev/usb/lp1' - 'No such device', attempt 3605 at
2016-08-20-01:50:21.180 ## A=sascha at server+236 number=236 process=8252
printing job 'sascha at server+236' at 2016-08-20-01:50:22.184 ##
A=sascha at server+236 number=236 process=8252
processing 'dfA236server.pohl-bo.de', size 375134, format 'f', IF filter
'lprng-filter' at 2016-08-20-01:50:22.185 ## A=sascha at server+236
number=236 process=8252
IF filter 'lprng-filter' filter finished at 2016-08-20-01:51:25.923 ##
A=sascha at server+236 number=236 process=8252
printing finished at 2016-08-20-01:51:25.923 ## A=sascha at server+236
number=236 process=8252
accounting at end at 2016-08-20-01:51:25.923 ## A=sascha at server+236
number=236 process=8252
finished 'sascha at server+236', status 'JSUCC' at 2016-08-20-01:51:25.923
## A=sascha at server+236 number=236 process=8252
usbpr2 at server.pohl-bo.de: job 'sascha at server+236' printed at
2016-08-20-01:51:25.924 ## A=sascha at server+236 number=236 process=8251
job 'sascha at server+236' removed at 2016-08-20-01:51:25.924 ##
A=sascha at server+236 number=236 process=8251
waiting for subserver to exit at 2016-08-23-00:16:35.531 ## A=<NULL>
number=0 process=19415
subserver pid 19416 starting at 2016-08-23-00:16:35.531 ##
A=sascha at server+411 number=411 process=19416
accounting at start at 2016-08-23-00:16:35.531 ## A=sascha at server+411
number=411 process=19416
opening device '/dev/usb/lp1' at 2016-08-23-00:16:35.531 ##
A=sascha at server+411 number=411 process=19416
printing job 'sascha at server+411' at 2016-08-23-00:16:36.532 ##
A=sascha at server+411 number=411 process=19416
processing 'dfA411server.pohl-bo.de', size 375134, format 'f', IF filter
'lprng-filter' at 2016-08-23-00:16:36.533 ## A=sascha at server+411
number=411 process=19416
waiting for subserver to exit at 2016-08-23-00:16:37.005 ## A=<NULL>
number=0 process=19415
IF filter 'lprng-filter' filter finished at 2016-08-23-00:17:40.292 ##
A=sascha at server+411 number=411 process=19416
printing finished at 2016-08-23-00:17:40.292 ## A=sascha at server+411
number=411 process=19416
accounting at end at 2016-08-23-00:17:40.292 ## A=sascha at server+411
number=411 process=19416
finished 'sascha at server+411', status 'JSUCC' at 2016-08-23-00:17:40.292
## A=sascha at server+411 number=411 process=19416
usbpr2 at server.pohl-bo.de: job 'sascha at server+411' printed at
2016-08-23-00:17:40.292 ## A=sascha at server+411 number=411 process=19415
job 'sascha at server+411' removed at 2016-08-23-00:17:40.292 ##
A=sascha at server+411 number=411 process=19415
server #
> 3.
> Was passiert, wenn 2 verschiedene USB-Drucker an eisfair angeschlossen
> wurden und bei Start ausgeschaltet sind?
>
> Schickt man einen Job an den 2. USB-Drucker und schaltet diesen dann
> irgendwann an, ohne den 1. einzuschalten, dann ist dieser Drucker mit
> /dev/usb/lp0 statt wie vorgesehen mit /dev/usb/lp1 verbunden:
>
> Das Spooling passiert in :sd=/var/spool/lpd/usbpr2. Hinterlegt ist das
> Device :lp=/dev/usb/lp1.
>
> Wenn nur der 2. Drucker angeschaltet wird, gibt es /dev/usb/lp1 aber
> nicht, sondern nur /dev/usb/lp0.
Das habe ich nicht getestet.
Ich habe bei mir zwei Drucker angeschlossen.
/dev/usb/lp0 ist ein Tintenstrahldrucker, der keinen richtigen Schalter
besitzt und daher immer eingeschaltet (Standby) ist.
/dev/usb/lp1 ist der Laserdrucker, der beim Start des Servers
ausgeschaltet ist und nur bei Bedarf kurzzeitig eingeschaltet wird.
Ich hoffe, du kannst mit meinen Informationen etwas anfangen.
Ansonsten musst du mir sagen, was ich noch ausprobieren soll.
Grüße,
Sascha
Mehr Informationen über die Mailingliste Eisfair