Hi,
I am writing this email for the second time, because I posted it from
an other account. I am not sure if the last mail reached you.
I have to problems with LPRng:
1. I am doing accounting, but I do not get any start, jobend and end enrtries
in the acct file.
2. When I am using my TEK 560 (instead of the other hps), the job
prints out again and again and never stops. There is also no fileend,
jobend or end entrie in the acct file, so I can not do accounting.
I have both files for you here. It would be very nice if somebody could help me.
I once was able to print to the tek with no problems, but never with accounting,
so I expect that I have an error in my printcab file.
---printcab----
5M1|lp1|5M1|5M1:\
:lp=/dev/null:\
:rm=130.75.71.13:\
:rp=5M1:\
:sd=/var/spool/lpd/5M1:\
:ifhp=model=hp5m,appsocket,dev=130.75.71.13%9100,of_options=pagecount:\
:filter=/usr/libexec/filters/ifhp:\
:ae=/var/spool/lpd/DRUCKB.PL 5M1:\
:lf=/var/spool/lpd/5M1/log:\
:af=/var/spool/lpd/5M1/acct:\
:ar:bk:mx#0:\
:tr=:cl:sh
|lp2|5M2|5M2:\
:lp=/dev/null:\
:rm=130.75.71.14:\
:rp=5M2:\
:sd=/var/spool/lpd/5M2:\
:ifhp=model=hp5m,appsocket,dev=130.75.71.14%9100,of_options=pagecount:\
:filter=/usr/libexec/filters/ifhp:\
:ae=/var/spool/lpd/DRUCKB.PL 5M2:\
:lf=/var/spool/lpd/5M2/log:\
:af=/var/spool/lpd/5M2/acct:\
:ar:bk:mx#0:\
:tr=:cl:sh
|lp3|4000N|4000N:\
:lp=/dev/null:\
:rm=130.75.71.10:\
:rp=4000N:\
:sd=/var/spool/lpd/4000N:\
:ifhp=model=hp4000,appsocket,dev=130.75.71.10%9100,of_options=pagecount:\
:filter=/usr/libexec/filters/ifhp:\
:ae=/var/spool/lpd/DRUCKB.PL 4000N:\
:lf=/var/spool/lpd/4000N/log:\
:af=/var/spool/lpd/4000N/acct:\
:ar:bk:mx#0:\
:tr=:cl:sh
|lp4|5000N|5000N:\
:lp=/dev/null:\
:rm=130.75.71.11:\
:rp=5000N:\
:sd=/var/spool/lpd/5000N:\
:ifhp=model=hp5000,appsocket,dev=130.75.71.11%9100,of_options=pagecount:\
:filter=/usr/libexec/filters/ifhp:\
:ae=/var/spool/lpd/DRUCKB.PL 5000N:\
:lf=/var/spool/lpd/5000N/log:\
:af=/var/spool/lpd/5000N/acct:\
:ar:bk:mx#0:\
:tr=:cl:sh
|lp5|TEK|TEK:\
:lp=/dev/null:\
:rm=130.75.71.12:\
:rp=TEK:\
:sd=/var/spool/lpd/TEK:\
:ifhp=model=phaser740,appsocket,dev=130.75.71.12%9100,of_options=pagecount:\
:filter=/usr/libexec/filters/ifhp:\
:ae=/var/spool/lpd/DRUCKB.PL TEK:\
:lf=/var/spool/lpd/TEK/log:\
:af=/var/spool/lpd/TEK/acct:\
:ar:bk:mx#0:\
:tr=:cl:sh
|lp6|4050N1|4050N1:\
:lp=/dev/null:\
:rm=130.75.71.27:\
:rp=4050N1:\
:sd=/var/spool/lpd/4050N1:\
:ifhp=model=hp4050,appsocket,dev=130.75.71.27%9100,of_options=pagecount:\
:filter=/usr/libexec/filters/ifhp:\
:ae=/var/spool/lpd/DRUCKB.PL 4050N1:\
:lf=/var/spool/lpd/4050N1/log:\
:af=/var/spool/lpd/4050N1/acct:\
:ar:bk:mx#0:\
:tr=:cl:sh
|lp7|4050N2|4050N2:\
:lp=/dev/null:\
:rm=130.75.71.27:\
:rp=4050N2:\
:sd=/var/spool/lpd/4050N2:\
:ifhp=model=hp4050,appsocket,dev=130.75.71.27%9100,of_options=pagecount:\
:filter=/usr/libexec/filters/ifhp:\
:ae=/var/spool/lpd/DRUCKB.PL 4050N2:\
:lf=/var/spool/lpd/4050N2/log:\
:af=/var/spool/lpd/4050N2/acct:\
:ar:bk:mx#0:\
:tr=:cl:sh
----smb.conf-----
; /etc/smb.conf
;
; Copyright (c) 1999 SuSE GmbH Nuernberg, Germany.
;
[global]
workgroup = cipwiwi
guest account = nobody
keep alive = 30
os level = 2
kernel oplocks = false
security = server
share modes = yes
; Uncomment the following, if you want to use an existing
; NT-Server to authenticate users, but don't forget that
; you also have to create them locally!!!
; security = server
password server = 130.75.71.8
; encrypt passwords = yes
printing = bsd
printcap name = /etc/printcap
load printers = yes
socket options = TCP_NODELAY
map to guest = Bad User
; Uncomment this, if you want to integrate your server
; into an existing net e.g. with NT-WS to prevent nettraffic
; local master = no
; Please uncomment the following entry and replace the
; ip number and netmask with the correct numbers for
; your ethernet interface.
; interfaces = 192.168.1.1/255.255.255.0
; If you want Samba to act as a wins server, please set
; 'wins support = yes'
wins support = no
; If you want Samba to use an existing wins server,
; please uncomment the following line and replace
; the dummy with the wins server's ip number.
; wins server = 192.168.1.1
; Do you wan't samba to act as a logon-server for
; your windows 95/98 clients, so uncomment the
; following:
; logon script =%U.bat
; domain logons = yes
; domain master = yes
; [netlogon]
; path = /netlogon
;[homes]
; comment = Heimatverzeichnis
; browseable = no
; read only = no
; create mode = 0750
; The following share gives all users access to the Server's CD drive,
; assuming it is mounted under /cd. To enable this share, please remove
; the semicolons before the lines
;
; [cdrom]
; comment = Linux CD-ROM
; path = /cd
; read only = yes
; locking = no
[printers]
comment = All Printers
browseable = no
printable = yes
public = no
read only = yes
create mode = 0700
directory = /tmp
[5M1]
comment = 5M1 HP Laserjet
path = /var/spool/lpd/5M1
printer name = 5M1
writeable = yes
printable = yes
public = yes
print command = /var/spool/lpd/DRUCKA.PL %s %U 5M1 %m
lprm command = /usr/bin/lprm -P5M1 %j
[5M2]
comment = 5M2 HP Laserjet
path = /var/spool/lpd/5M2
printer name = 5M2
writeable = yes
printable = yes
public = yes
print command = /var/spool/lpd/DRUCKA.PL %s %U 5M2 %m
lprm command = /usr/bin/lprm -P5M2 %j
[4000N]
comment = 4000N HP Laserjet
path = /var/spool/lpd/4000N
printer name = 4000N
writeable = yes
printable = yes
public = yes
print command = /var/spool/lpd/DRUCKA.PL %s %U 4000N %m
lprm command = /usr/bin/lprm -P4000N %j
[5000N]
comment = 5000N HP Laserjet
path = /var/spool/lpd/5000N
printer name = 5000N
writeable = yes
printable = yes
public = yes
print command = /var/spool/lpd/DRUCKA.PL %s %U 5000N %m
lprm command = /usr/bin/lprm -P5000N %j
[TEK]
comment = TEK Phaser 560
path = /var/spool/lpd/TEK
printer name = TEK
writeable = yes
printable = yes
public = yes
print command = /var/spool/lpd/DRUCKA.PL %s %U TEK %m
lprm command = /usr/bin/lprm -PTEK %j
----
Thank you,
Matthias
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------