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
94 > environment variable.</P
96 >Programs using the <B
100 pass the URI in argv[0], while shell scripts must set the
104 > environment variable prior to
119 >The job argument (argv[1]) contains the
120 job ID number and is presently not used by smbspool.
125 >The user argument (argv[2]) contains the
126 print user's name and is presently not used by smbspool.
131 >The title argument (argv[3]) contains the
132 job title string and is passed as the remote file name
133 when sending the print job.</P
137 >The copies argument (argv[4]) contains
138 the number of copies to be printed of the named file. If
139 no filename is provided than this argument is not used by
144 >The options argument (argv[5]) contains
145 the print options in a single string and is presently
146 not used by smbspool.</P
150 >The filename argument (argv[6]) contains the
151 name of the file to print. If this argument is not specified
152 then the print file is read from the standard input.</P
164 >This man page is correct for version 2.2 of
201 > was written by Michael Sweet
202 at Easy Software Products.</P
204 >The original Samba software and related utilities
205 were created by Andrew Tridgell. Samba is now developed
206 by the Samba Team as an Open Source project similar
207 to the way the Linux kernel is developed.</P
209 >The original Samba man pages were written by Karl Auer.
210 The man page sources were converted to YODL format (another
211 excellent piece of Open Source software, available at
213 HREF="ftp://ftp.icce.rug.nl/pub/unix/"
215 > ftp://ftp.icce.rug.nl/pub/unix/</A
216 >) and updated for the Samba 2.0
217 release by Jeremy Allison. The conversion to DocBook for
218 Samba 2.2 was done by Gerald Carter</P