I'm trying to solve a printer issue and I'm attemting to send a text file via Ghostscript to a locally attached USB printer. To do this, I need the device name (
/dev/<someidentifer>). How do I determine what that device identifier is?
The command I'm trying to issue is:
cat file.txt | gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sDEVICE=gdi \ -sPAPERSIZE=letter -r600 -sOutputFile=- - | cat /dev/**SOMEUSBIDENTIFER**
How can I find out what
Please note: I'm looking for the procedure to determine this as I don't have the actual printer to test. All my current printers are networked and the last time I dealt with locally attached printers, parallel ports (Centronics) were all the rage (