Displaying 2 results from an estimated 2 matches for "pprinternam".
Did you mean:
pprintername
2009 Mar 17
0
No subject
...PrintDlg16(
GlobalUnlock16(lppd->hDevNames);
}
}
+ strcpy( di->pDriverPath, "wineps16");
PRINTDLG_CreateDevNames16(&(lppd->hDevNames),
di->pDriverPath,
pi->pPrinterName,
I don't know how a patch will survive the formatting of this forum. But since it is single line patch you should should be able to manually patch the file.
Rebuild and see if it works as it works here.
1998 Sep 25
3
printer accounting
...d on the hp only allows 1 connection at a time. So you do all
this work at one point. You may have to play around with delays and such but
I see no reason why it shouldn't work.
it would look at little like this.
#!/bin/sh
#pagecounter
BEFOREPAGES=`npadmin --pagecount {printer ipaddress)`
lpr -Pprintername -r %s
AFTERPAGES=`npadmin --pagecount {printer ipaddress)`
TOTAL = `expr $BEFOREPAGES - $AFTERPAGES`
then you echo out TOTAL with usersnames etc etc to a log (with logger
preferrably)
that should help somewhat.
good luck
-sv