> Rad bi poizvedel, koliko strani je ze natisnil. To pa izvem tako, da mu
> najprej posljem PJL ukaz za stanje stevca strani in tiskalnik nato pove
> stanje.
Skripta (z jedrom 2.2.14 preverjeno deluje):
--- snip ---
#!/bin/sh
echo -en "@PJL INFO PAGECOUNT\n" > /dev/lp0
sleep 2s
cat /dev/lp0
--- snip ---
Odgovor:
--- snip ---
@PJL USTATUS DEVICE
CODE=10001
DISPLAY="00 READY"
ONLINE=TRUE
@PJL USTATUS TIMED
CODE=10001
DISPLAY="00 READY"
ONLINE=TRUE
@PJL INFO PAGECOUNT
6920
--- snip ---
--
Andrej.
... Life is uncertain, so buy the luxuries first!