How to expose a printer to Internet using a public IP address
We are trying to expose a printer through the Internet to be accessed from one of our providers, but I'm new to this. We have a public IP address. How ca开发者_开发技巧n I do this?
It is very simple, first have your PPD file for that printer then do lpadmin command
Eg: lpadmin -p my_front -E -v socket://212.228.219.120/ -m brq890wl.ppd
Then issue the print request using lp command
lp -d my_front file.doc
NOTE: Make sure the firewal setting should allow lpd for that IP, try ping the ip from outside of your network, if ping success then the above instruction should work. all the best
精彩评论