1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD
28 >smbspool -- send a print file to an SMB printer</DIV
30 CLASS="REFSYNOPSISDIV"
40 > [job] [user] [title] [copies] [options] [filename]</P
50 >This tool is part of the <A
56 >smbspool is a very small print spooling program that
57 sends a print file to an SMB printer. The command-line arguments
58 are position-dependent for compatibility with the Common UNIX
59 Printing System, but you can use smbspool with any printing system
60 or from a program or script.</P
70 >smbspool specifies the destination using a Uniform Resource
71 Identifier ("URI") with a method of "smb". This string can take
78 >smb://server/printer</P
82 >smb://workgroup/server/printer</P
86 >smb://username:password@server/printer</P
90 >smb://username:password@workgroup/server/printer
95 >smbspool tries to get the URI from argv[0]. If argv[0]
96 contains the name of the program then it looks in the <TT
99 > environment variable.</P
101 >Programs using the <B
105 pass the URI in argv[0], while shell scripts must set the
109 > environment variable prior to
124 >The job argument (argv[1]) contains the
125 job ID number and is presently not used by smbspool.
130 >The user argument (argv[2]) contains the
131 print user's name and is presently not used by smbspool.
136 >The title argument (argv[3]) contains the
137 job title string and is passed as the remote file name
138 when sending the print job.</P
142 >The copies argument (argv[4]) contains
143 the number of copies to be printed of the named file. If
144 no filename is provided then this argument is not used by
149 >The options argument (argv[5]) contains
150 the print options in a single string and is currently
151 not used by smbspool.</P
155 >The filename argument (argv[6]) contains the
156 name of the file to print. If this argument is not specified
157 then the print file is read from the standard input.</P
169 >This man page is correct for version 2.2 of
206 > was written by Michael Sweet
207 at Easy Software Products.</P
209 >The original Samba software and related utilities
210 were created by Andrew Tridgell. Samba is now developed
211 by the Samba Team as an Open Source project similar
212 to the way the Linux kernel is developed.</P
214 >The original Samba man pages were written by Karl Auer.
215 The man page sources were converted to YODL format (another
216 excellent piece of Open Source software, available at
218 HREF="ftp://ftp.icce.rug.nl/pub/unix/"
220 > ftp://ftp.icce.rug.nl/pub/unix/</A
221 >) and updated for the Samba 2.0
222 release by Jeremy Allison. The conversion to DocBook for
223 Samba 2.2 was done by Gerald Carter</P