smbspool - 装载一个SMB文件系统
wing
smbspool - 装载一个SMB文件系统
smbspool - mount an SMB filesystem
smbspool - 装载一个SMB文件系统
SYNOPSIS
语法
smbspool job user title copies options [filename]
DESCRIPTION
描述
This program is part of the Samba suite.
此程序是samba套件的一部分。
smbspool is a very small print spooling program that sends a print file to a
SMB printer. The command-line arguments are position-dependent for
compatibility with the Common UNIX Printing System, but you can use smbspool
with any printing system or from a program or script.
smbspool是个非常小的打印假脱机程序用于向SMB共享打印机发送打印文件的作业。命令
行参数的位置根据通通用UNIX打印系统的兼容性来决定,而你可以在任何打印系统或者程
序脚本中使用这个小工具。
DEVICE URI
设备统一资源标识符
smbspool specifies the destination using a Uniform Resource Identifier
("URI") with a method of "smb". This string can take a number of forms:
smbspool使用“smb”的统一资源标识符“URI”方法来指定操作目标。这种描述象以下这
样的形式:
smb://server/printer
smb://workgroup/server/printer
smb://username:password@server/printer
smb://username:password@workgroup/server/printer
smbspool tries to get the URI from argv[0]. If argv[0] contains the name of
the program then it looks in the DEVICE_URI environment variable.
smbspool会试图从argv[0]参数中得到URI。如果argv[0]包含了程序名的话,它将到
DEVICE_URI环境变量中取得URI。(这点学过C的朋友应该可以理解吧:D)
Programs using the exec(2) functions can pass the URI in argv[0], while shell
scripts must set the DEVICE_URI environment variable prior to running
smbspool.
当shell脚本比运行中的smbspool更优先地设定了DEVICE_URI环境变量时,程序使用
exec(2)函数传递在argv[0]中的URI参数。
OPTIONS
选项
The job argument (argv[1]) contains the job ID number and is presently not
used by smbspool.
job参数(argv[1])包含了smbspool当前还没有用到的作业ID号。
The user argument (argv[2]) contains the print users name and is presently
not used by smbspool.
user参数(argv[2])包含了smbspool当前还没有和到的打印用户名。
The title argument (argv[3]) contains the job title string and is passed as
the remote file name when sending the print job.
title参数(argv[3])包含了在发送打印作业时作为远程文件名传递的打印作业标题字串。
The copies argument (argv[4]) contains the number of copies to be printed of
the named file. If no filename is provided than this argument is not used by
smbspool.
copies参数(argv[4])包含了需要打印文件的份数。如果没有提供文件名,则无法用这个
参数。
The options argument (argv[5]) contains the print options in a single string
and is presently not used by smbspool.
options参数(argv[5])包含了smbspool当前还没有用到的打印选项(以一个字串来描述)。
The filename argument (argv[6]) contains the name of the file to print. If
this argument is not specified then the print file is read from the standard
input.
filename参数(argv[6])包含了要打印的文件名。如果不指定文件名则从标准输入中读取
信息作为打印的内容。
VERSION
版本
This man page is correct for version 2.0 of the Samba suite.
此手册页是针对samba套件版本2.0的。
SEE ALSO
参见
smbd (8)
AUTHOR
作者
smbspool was written by Michael Sweet at Easy Software Products.
Michael Sweet在自己的Easy Software Products开发了这个程序。
The original Samba software and related utilities were created by Andrew
Tridgell [email protected]. Samba is now developed by the Samba Team as an
Open Source project similar to the way the Linux kernel is developed.
samba软件和相关工具最初由Andrew Tridgell [email protected]创建。samba现在由
开发组作为类似Linux内核开发采用的开放源代码计划方式来发展。
See samba (7) to find out how to get a full list of contributors and details
on how to submit bug reports, comments etc.
请参见samba (7)查找如何获得一份完整的维护者列表以及如何提交错误报告及注解等等
发布人:netbull 来自:LinuxAid