[samba] 在此求教高速行打如何用samba 配置到nt客户机

weixin_38076230 2003-02-10 08:57:20

--------------------------------------------------------------------------------

公司的高速行打以往一直是配置在给予windows  9x系列的客户机,
我们想将高速行打配置到nt系列的客户机不知如何操作,
以下是我公司的的高速行打的samba配置脚本:
# Set these to the server and service you wish to print to
# In this example I have a WfWg PC called "lapland" that has a printer
# exported called "printer" with no password.
#
# clear out the unwanted parameters
shift;shift;shift;shift;shift
# now the argument list is just the files to print

server=it81
service=lineprinter
password=""

(
# NOTE You may wish to add the line `echo translate' if you want automatic
# CR/LF translation when printing.
echo translate
echo "print -"
cat $*
) | /usr/local/samba/bin/smbclient "\\\\$server\\$service" $user $password -N -P >; /dev/null
exit $?
...全文
34 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧