12 Ekim 2011 Çarşamba

Print from unix to windows



TODO

1- Check your printer and share printer on Windows.
2- Check print spooler service runnnig on windows. If you use Firewall check your rules. The spooler service listens 515 port by default.

You can print from unix like below command:

/usr/ucb/lpr -P HOST_NAME:PRINTER_NAME -l PRINT_FILE

HOST_NAME    : name or ip address of pc/server which connected to printer.
PRINTER_NAME : sharing name of windows printer

sample:
/usr/ucb/lpr -P pcramazan:printer33 -l abc.txt

Hiç yorum yok:

Yorum Gönder