/etc/printcap + printer accounting

/etc/printcap + printer accounting

Post by L J Bayu » Tue, 03 Nov 1998 04:00:00

> Here's the segment of my /etc/printcap :

> ##PRINTTOOL3## LOCAL deskjet 300x300 letter {} DeskJet Default 1
> lp:\
>         :sd=/var/spool/lpd/lp:\
>         :mx#0:\
>         :lp=/dev/lp1:\
>         :if=/var/spool/lpd/lp/filter:\
>         :af=/usr/spool/lpd/lp/dj-acct:\
>         :sh:

> When I use lpr then the df-acct file stays a 0 bytes. I have read the Printing
> HOWTOS, looked at the printcap man, checked the usual Unix guides.

> Why is the accounting off? Am I supposed to use pac for displaying the
> accounting information?

I'm afraid there's a lot less here than you might think. The af= entry
in printcap just names the "accounting file", but it is up to the
input filter (if=...) to write something to it. The accounting file
name is just passed as an argument to the input filter. If you
really want to do accounting, you need an input filter that can
count pages or whatever and record this in the accounting file.

1. Help: /etc/printcap for EPSON LP-9000 printer ( postscript printer)

I tried to get my EPSON LP-9000 printer worked but failed. Although a lot of
efforts have been given to read through a lot of net printing-howto, I could
not solve the problem. I think I need a /etc/printcap entry for EPSON LP-9000
which is also a postscript printer, and maybe a filter script also needed. Has
anyone ever succeeded in printing or can give me some information on it by
sending email to me?
Thanks in advance.

2. Problems with dyanamic drivers with Sun

3. multi-tray printers and /etc/printcap?

4. filter-rules

5. /etc/printcap entry needed for Printronix P-300 printer

6. Problem Setting Up disk Quota

7. how does samba pick the alias for the printer in the /etc/printcap file?

8. paranoia treaties use to perform -less hedonist

9. Please help find a program to print on remote printer (not using /etc/printcap)

10. /etc/printcap for Epson-compatible 9-dot-printer?

11. /etc/printcap for(laserwriter Select 310) Postscript printer

12. q: serial postscript printer in /etc/printcap?

13. Argh: postscript *only* printer and /etc/printcap