G'day,
In finding a couple of very recent Pups (LxPupSc from peebee, using a 64-bit kernel in a 32-bit Slacko Pup) wouldn't work with inkgui, I did look at its terminal options (first screenshot).
Trying a few of these options has proved disappointing (second screenshot).
You may see I entered to no avail my printer's network address (192.168.1.12 - WiFi if that matters?). If this option as '-b bjnp' or '-p bjnp' could be made workable, I could unplug my printer (an Epson WF-2510) from my computer USB port and just use the network connections.
Can anyone with an inkjet printer on their network get this command to read and display ink levels?
Is version 0.5.1 (-v) the latest for this package?
Other notes:
1) I have found inkgui will work in most of my Pups with a simplified script (found in /usr/local/bin/):
#!/bin/sh
# Program to display printer ink levels
# v01 by JB4x4 2008-02-16
# v02 by rcrsn51 2012-05-10
rm -f /tmp/inklevel.txt
#for P in `ls /dev/usb/lp*`; do
# ink -d $P > /tmp/inktemp.txt
# if [ $? -eq 0 ]; then
# cat /tmp/inktemp.txt >> /tmp/inklevel.txt
# echo >> /tmp/inklevel.txt
# fi
#done
#ink -p parport > /tmp/inktemp.txt
ink -p "usb" > /tmp/inktemp.txt
if [ $? -eq 0 ]; then
cat /tmp/inktemp.txt >> /tmp/inklevel.txt
fi
[ -f /tmp/inklevel.txt ] || echo "No printers found" > /tmp/inklevel.txt
gxmessage -file /tmp/inklevel.txt -title "InkGUI"
You can see I commented out the first part about "/dev/usb/lp*" and in the second part, the line about a parallel port printer (parport) - very last century
! Does anyone have such a printer anymore?
Simply having 'ink -p "usb"' (or ink -p usb?) gets the ink level information for the inktemp.txt file on my computer+printer set-up.
2) Sometimes I see an error message that inkgui or escputil needs a RAW device (sorry, I haven't the details at present
).
I assume RAW means read-and-write??
How can I define my network printer as a RAW device in a Pup giving this message? Or even as a USB printer?
Thanks for any advice or ideas.
David S.