Hi All.
I write the small C program which get page info back from the printer before and 
after job sends to printer.
I write in my printcap: 
as=|/.../my_C_program start $H $n ...
ae=|/.../my_C_program end $H $n ...
When I do lpr file:
  Rank   Owner/ID                  Class Job Files                 Size Time
error  petrov                       A   957 ERROR: accounting check failed 'JAB
When I use my_BASH_program instead of C program - this work (but unfortunately
this program don't work correctly and I don't know how it improve).
How solve this problem?
Thanks.

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to