1 .TH SMBSPOOL 8 "30 Jan 2001" "smbspool 2.2.0-alpha2"
4 smbspool \- send print file to an SMB printer
7 \fBsmbspool\fP job user title copies options [filename]
11 This program is part of the Samba suite\&.
13 smbspool is a very small print spooling program that sends a print
14 file to an SMB printer\&. The command-line arguments are position-dependent for
15 compatibility with the Common UNIX Printing System, but you can use
16 smbspool with any printing system or from a program or script\&.
20 smbspool specifies the destination using a Uniform Resource Identifier
21 ("URI") with a method of "smb"\&. This string can take a number of
28 smb://workgroup/server/printer
31 smb://username:password@server/printer
34 smb://username:password@workgroup/server/printer
37 smbspool tries to get the URI from argv[0]\&. If argv[0] contains the
38 name of the program then it looks in the DEVICE_URI environment variable\&.
40 Programs using the exec(2) functions can pass the URI in argv[0],
41 while shell scripts must set the DEVICE_URI environment variable prior to
46 The job argument (argv[1]) contains the job ID number and is presently
47 not used by smbspool\&.
49 The user argument (argv[2]) contains the print user\'s name and is
50 presently not used by smbspool\&.
52 The title argument (argv[3]) contains the job title string and is
53 passed as the remote file name when sending the print job\&.
55 The copies argument (argv[4]) contains the number of copies to be
56 printed of the named file\&. If no filename is provided than this argument is
57 not used by smbspool\&.
59 The options argument (argv[5]) contains the print options in a single
60 string and is presently not used by smbspool\&.
62 The filename argument (argv[6]) contains the name of the file to print\&.
63 If this argument is not specified then the print file is read from the
68 This man page is correct for version 2\&.0 of the Samba suite\&.
75 smbspool was written by Michael Sweet at Easy Software Products\&.
77 The original Samba software and related utilities were created by
78 Andrew Tridgell samba@samba\&.org\&. Samba is now developed
79 by the Samba Team as an Open Source project similar to the way the
80 Linux kernel is developed\&.
82 See samba (7) to find out how to get a full
83 list of contributors and details on how to submit bug reports,