logo       

page accounting: msg#00354

printing.cups.general

Subject: page accounting


Hi

I don't know why page accounting is not working on my
Solaris box. I followed the README file of Cups
installation.

1) I included /opt/sfw/cups/bin:/opt/sfw/cups/sbin
to PATH

2) Started CUPS Daemon :
/opt/sfw/cups/etc/init.d/cups start


3) $ ps -e | grep cupsd
8324 ? 0:00 cupsd

4) Added my network Printer with command
lpadmin -p print -E -v socket://202.141.151.11

5) $ bin/lpstat -v
device for print: socket://202.141.151.11:9100/


$>cat /opt/sfw/cups/var/log/cups/page_log showing


print d0331094 40 [28/Sep/2003:23:08:45 +0500] 1 1
print d0331027 41 [29/Sep/2003:01:14:29 +0500] 1 1
print d0331008 42 [29/Sep/2003:04:26:42 +0500] 1 1
print d0331027 43 [29/Sep/2003:05:07:59 +0500] 1 1
print d0331011 44 [29/Sep/2003:05:08:38 +0500] 1 1
print d0331027 45 [29/Sep/2003:05:30:31 +0500] 1 1
print d0331027 46 [29/Sep/2003:05:30:38 +0500] 1 1
print d0331027 47 [29/Sep/2003:05:30:45 +0500] 1 1
print d0331027 48 [29/Sep/2003:05:33:29 +0500] 1 1

it is still showing number of pages printed as 1


$>cat /opt/sfw/cups/var/log/cups/error_log showing



d [28/Sep/2003:10:18:56 +0500]
ProcessIPPRequest(64148[5]): operation_id = 0002
d [28/Sep/2003:10:18:56 +0500] print_job(64148[5],
ipp://localhost:631/printers/print)
D [28/Sep/2003:10:18:56 +0500] print_job: auto-typing
file...
D [28/Sep/2003:10:18:56 +0500] print_job: request file
type is text/plain.
d [28/Sep/2003:10:18:56 +0500] check_quotas(64148[5],
1b08e0[print])
D [28/Sep/2003:10:18:56 +0500] check_quotas:
requesting-user-name = 'd0331094'
D [28/Sep/2003:10:18:56 +0500] print_job:
requesting-user-name = 'd0331094'
d [28/Sep/2003:10:18:56 +0500] copy_banner(64148[5],
1d2f00[40], none)
d [28/Sep/2003:10:18:56 +0500] add_file(64148[5], 40,
text/plain)
d [28/Sep/2003:10:18:56 +0500] copy_banner(64148[5],
1d2f00[40], none)
I [28/Sep/2003:10:18:56 +0500] Job 40 queued on
'print' by 'd0331094'.
D [28/Sep/2003:10:18:56 +0500] Job 40 hold_until = 0
D [28/Sep/2003:10:18:56 +0500] StartJob(40, 1b08e0)
D [28/Sep/2003:10:18:56 +0500] StartJob() id = 40,
file = 0/1
D [28/Sep/2003:10:18:56 +0500] StartJob: Sending job
to queue tagged as raw...
D [28/Sep/2003:10:18:56 +0500] job-sheets=none,none
D [28/Sep/2003:10:18:56 +0500] banner_page = 0
D [28/Sep/2003:10:18:56 +0500] StartJob: argv =

"print","40","d0331094","ass.txt","1","","/opt/sfw/cups/var/spool/cups/d00040-001"
D [28/Sep/2003:10:18:56 +0500] StartJob: envp =

"PATH=/opt/sfw/cups/lib/cups/filter:/bin:/usr/bin","SOFTWARE=CUPS/1.1","USER=root","CHARSET=

iso-8859-1","LANG=en","TZ=GMT+5","PPD=/opt/sfw/cups/etc/cups/ppd/print.ppd","CUPS_SERVERROOT

=/opt/sfw/cups/etc/cups","RIP_MAX_CACHE=8m","TMPDIR=/opt/sfw/cups/var/spool/cups/tmp","CONTE

NT_TYPE=text/plain","DEVICE_URI=socket://202.141.151.11","PRINTER=print","CUPS_DATADIR=/opt/

sfw/cups/share/cups","CUPS_FONTPATH=/opt/sfw/cups/share/cups/fonts","","",""
d [28/Sep/2003:10:18:56 +0500] UpdateJob: Allocating
status buffer...
D [28/Sep/2003:10:18:56 +0500] StartJob: statusfds =
7, 8
D [28/Sep/2003:10:18:56 +0500] StartJob: filterfds[1]
= 9, -1
D [28/Sep/2003:10:18:56 +0500] StartJob: backend =
"/opt/sfw/cups/lib/cups/backend/socket"
D [28/Sep/2003:10:18:56 +0500] StartJob: filterfds[0]
= -1, 10
D [28/Sep/2003:10:18:56 +0500]
start_process("/opt/sfw/cups/lib/cups/backend/socket",


ffbe16e8, ffbe0b98, 9, 10, 8)
I [28/Sep/2003:10:18:56 +0500] Started backend
/opt/sfw/cups/lib/cups/backend/socket (PID

371) for job 40.
d [28/Sep/2003:10:18:56 +0500] StartJob: Adding fd 7
to InputSet...




How do i change my print queue using command prompt


reagards
CVR



__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise