Ignore:
Timestamp:
May 23, 2008, 6:56:41 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.29

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/docs/manpages/smbspool.8

    r44 r134  
    1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
    2 .de Sh \" Subsection
    3 .br
    4 .if t .Sp
    5 .ne 5
    6 .PP
    7 \fB\\$1\fR
    8 .PP
    9 ..
    10 .de Sp \" Vertical space (when we can't use .PP)
    11 .if t .sp .5v
    12 .if n .sp
    13 ..
    14 .de Ip \" List item
    15 .br
    16 .ie \\n(.$>=3 .ne \\$3
    17 .el .ne 3
    18 .IP "\\$1" \\$2
    19 ..
    20 .TH "SMBSPOOL" 8 "" "" ""
     1.\"     Title: smbspool
     2.\"    Author:
     3.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
     4.\"      Date: 05/21/2008
     5.\"    Manual: System Administration tools
     6.\"    Source: Samba 3.0
     7.\"
     8.TH "SMBSPOOL" "8" "05/21/2008" "Samba 3\.0" "System Administration tools"
     9.\" disable hyphenation
     10.nh
     11.\" disable justification (adjust text to left margin only)
     12.ad l
    2113.SH "NAME"
    2214smbspool - send a print file to an SMB printer
     
    2820This tool is part of the
    2921\fBsamba\fR(7)
    30 suite.
     22suite\.
    3123.PP
    32 smbspool is a very small print spooling program that sends a print file to an 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.
     24smbspool is a very small print spooling program that sends a print file to an 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\.
    3325.PP
    34 \fBDEVICE URI\fR
     26\fIDEVICE URI\fR
    3527.PP
    36 smbspool specifies the destination using a Uniform Resource Identifier ("URI") with a method of "smb". This string can take a number of forms:
    37 .TP 3n
    38 \(bu
     28smbspool specifies the destination using a Uniform Resource Identifier ("URI") with a method of "smb"\. This string can take a number of forms:
     29.sp
     30.RS 4
     31.ie n \{\
     32\h'-04'\(bu\h'+03'\c
     33.\}
     34.el \{\
     35.sp -1
     36.IP \(bu 2.3
     37.\}
    3938smb://server[:port]/printer
    40 .TP 3n
    41 \(bu
     39.RE
     40.sp
     41.RS 4
     42.ie n \{\
     43\h'-04'\(bu\h'+03'\c
     44.\}
     45.el \{\
     46.sp -1
     47.IP \(bu 2.3
     48.\}
    4249smb://workgroup/server[:port]/printer
    43 .TP 3n
    44 \(bu
     50.RE
     51.sp
     52.RS 4
     53.ie n \{\
     54\h'-04'\(bu\h'+03'\c
     55.\}
     56.el \{\
     57.sp -1
     58.IP \(bu 2.3
     59.\}
    4560smb://username:password@server[:port]/printer
    46 .TP 3n
    47 \(bu
     61.RE
     62.sp
     63.RS 4
     64.ie n \{\
     65\h'-04'\(bu\h'+03'\c
     66.\}
     67.el \{\
     68.sp -1
     69.IP \(bu 2.3
     70.\}
    4871smb://username:password@workgroup/server[:port]/printer
     72.sp
     73.RE
    4974.PP
    5075smbspool tries to get the URI from the environment variable
    51 \fBDEVICE_URI\fR. If
     76\fBDEVICE_URI\fR\. If
    5277\fBDEVICE_URI\fR
    5378is not present, smbspool will use argv[0] if that starts with
    54 \fBsmb://\fR
    55 or argv[1] if that is not the case.
     79\(lqsmb://\(rq
     80or argv[1] if that is not the case\.
    5681.PP
    5782Programs using the
     
    5984functions can pass the URI in argv[0], while shell scripts must set the
    6085\fBDEVICE_URI\fR
    61 environment variable prior to running smbspool.
     86environment variable prior to running smbspool\.
    6287.SH "OPTIONS"
    63 .TP 3n
    64 \(bu
    65 The job argument (argv[1]) contains the job ID number and is presently not used by smbspool.
    66 .TP 3n
    67 \(bu
    68 The user argument (argv[2]) contains the print user's name and is presently not used by smbspool.
    69 .TP 3n
    70 \(bu
    71 The title argument (argv[3]) contains the job title string and is passed as the remote file name when sending the print job.
    72 .TP 3n
    73 \(bu
    74 The copies argument (argv[4]) contains the number of copies to be printed of the named file. If no filename is provided then this argument is not used by smbspool.
    75 .TP 3n
    76 \(bu
    77 The options argument (argv[5]) contains the print options in a single string and is currently not used by smbspool.
    78 .TP 3n
    79 \(bu
    80 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.
     88.sp
     89.RS 4
     90.ie n \{\
     91\h'-04'\(bu\h'+03'\c
     92.\}
     93.el \{\
     94.sp -1
     95.IP \(bu 2.3
     96.\}
     97The job argument (argv[1]) contains the job ID number and is presently not used by smbspool\.
     98.RE
     99.sp
     100.RS 4
     101.ie n \{\
     102\h'-04'\(bu\h'+03'\c
     103.\}
     104.el \{\
     105.sp -1
     106.IP \(bu 2.3
     107.\}
     108The user argument (argv[2]) contains the print user\'s name and is presently not used by smbspool\.
     109.RE
     110.sp
     111.RS 4
     112.ie n \{\
     113\h'-04'\(bu\h'+03'\c
     114.\}
     115.el \{\
     116.sp -1
     117.IP \(bu 2.3
     118.\}
     119The title argument (argv[3]) contains the job title string and is passed as the remote file name when sending the print job\.
     120.RE
     121.sp
     122.RS 4
     123.ie n \{\
     124\h'-04'\(bu\h'+03'\c
     125.\}
     126.el \{\
     127.sp -1
     128.IP \(bu 2.3
     129.\}
     130The copies argument (argv[4]) contains the number of copies to be printed of the named file\. If no filename is provided then this argument is not used by smbspool\.
     131.RE
     132.sp
     133.RS 4
     134.ie n \{\
     135\h'-04'\(bu\h'+03'\c
     136.\}
     137.el \{\
     138.sp -1
     139.IP \(bu 2.3
     140.\}
     141The options argument (argv[5]) contains the print options in a single string and is currently not used by smbspool\.
     142.RE
     143.sp
     144.RS 4
     145.ie n \{\
     146\h'-04'\(bu\h'+03'\c
     147.\}
     148.el \{\
     149.sp -1
     150.IP \(bu 2.3
     151.\}
     152The 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\.
    81153.SH "VERSION"
    82154.PP
    83 This man page is correct for version 3.0 of the Samba suite.
     155This man page is correct for version 3\.0 of the Samba suite\.
    84156.SH "SEE ALSO"
    85157.PP
    86158\fBsmbd\fR(8)
    87159and
    88 \fBsamba\fR(7).
     160\fBsamba\fR(7)\.
    89161.SH "AUTHOR"
    90162.PP
    91163smbspool
    92 was written by Michael Sweet at Easy Software Products.
     164was written by Michael Sweet at Easy Software Products\.
    93165.PP
    94 The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
     166The original Samba software and related utilities were created by Andrew Tridgell\. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\.
    95167.PP
    96 The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
    97 ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
    98 
     168The original Samba man pages were written by Karl Auer\. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
     169ftp://ftp\.icce\.rug\.nl/pub/unix/) and updated for the Samba 2\.0 release by Jeremy Allison\. The conversion to DocBook for Samba 2\.2 was done by Gerald Carter\. The conversion to DocBook XML 4\.2 for Samba 3\.0 was done by Alexander Bokovoy\.
Note: See TracChangeset for help on using the changeset viewer.