'sudo cat ~/.bashrc > /dev/lp0' does not work the way you intend it to. You need to do
echo hello | sudo tee /dev/lp0 -- cupsys does not automatically detect parallel printer https://launchpad.net/bugs/29050 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs