Host services
lp -h <printer-ip> <file>
Send a print job to a network printer (IPP, TCP 631). The printer lists it with 'lpstat -W completed'.
Works on: PC, Server, NASMode: shell
Example
PC1# lp -h 10.0.0.20 report.pdfRun this command live
Don't just read it — type lp -h <printer-ip> <file> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.
Frequently asked
What does the "lp -h <printer-ip> <file>" command do?
Send a print job to a network printer (IPP, TCP 631). The printer lists it with 'lpstat -W completed'.
Example of "lp -h <printer-ip> <file>"
PC1# lp -h 10.0.0.20 report.pdf