7 CONTENT=
"Modular DocBook HTML Stylesheet Version 1.57"></HEAD
27 >smbspool
--
send print file to an SMB printer
</DIV
29 CLASS=
"REFSYNOPSISDIV"
39 > [job] [user] [title] [copies] [options] [filename]
</P
49 >This tool is part of the
<A
55 >smbspool is a very small print spooling program that
56 sends a print file to an SMB printer. The command-line arguments
57 are position-dependent for compatibility with the Common UNIX
58 Printing System, but you can use smbspool with any printing system
59 or from a program or script.
</P
65 >smbspool specifies the destination using a Uniform Resource
66 Identifier (
"URI") with a method of
"smb". This string can take
73 >smb://server/printer
</P
77 >smb://workgroup/server/printer
</P
81 >smb://username:password@server/printer
</P
85 >smb://username:password@workgroup/server/printer
90 >smbspool tries to get the URI from argv[
0]. If argv[
0]
91 contains the name of the program then it looks in the
<TT
96 > environment variable.
</P
98 >Programs using the
<B
102 pass the URI in argv[
0], while shell scripts must set the
108 > environment variable prior to
123 >The job argument (argv[
1]) contains the
124 job ID number and is presently not used by smbspool.
129 >The user argument (argv[
2]) contains the
130 print user's name and is presently not used by smbspool.
135 >The title argument (argv[
3]) contains the
136 job title string and is passed as the remote file name
137 when sending the print job.
</P
141 >The copies argument (argv[
4]) contains
142 the number of copies to be printed of the named file. If
143 no filename is provided than this argument is not used by
148 >The options argument (argv[
5]) contains
149 the print options in a single string and is presently
150 not used by smbspool.
</P
154 >The filename argument (argv[
6]) contains the
155 name of the file to print. If this argument is not specified
156 then the print file is read from the standard input.
</P
168 >This man page is correct for version
2.2 of
205 > was written by Michael Sweet
206 at Easy Software Products.
</P
208 >The original Samba software and related utilities
209 were created by Andrew Tridgell. Samba is now developed
210 by the Samba Team as an Open Source project similar
211 to the way the Linux kernel is developed.
</P
213 >The original Samba man pages were written by Karl Auer.
214 The man page sources were converted to YODL format (another
215 excellent piece of Open Source software, available at
217 HREF=
"ftp://ftp.icce.rug.nl/pub/unix/"
219 > ftp://ftp.icce.rug.nl/pub/unix/
</A
220 >) and updated for the Samba
2.0
221 release by Jeremy Allison. The conversion to DocBook for
222 Samba
2.2 was done by Gerald Carter
</P