I ran into this problem trying to run some locally developed tag scripts that worked before, but I have a new laptop and it works under Windows 10. bash in the cygwin version that I installed, t seems to have print as a built-in command ( it has printenv and printf as external commands), and there is no print command other than a System32 command:
$ type print print is hashed (/cygdrive/c/WINDOWS/system32/print) $ type echo echo is a shell builtin
As a job, I added this line at the top of each script:
alias print=echo
And this fixed the problem “Failed to initialize PRN device”. It would be nice to know why this worked at some point.
source share