diff options
author | Gerald Carter <jerry@samba.org> | 2000-09-14 16:44:44 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2000-09-14 16:44:44 +0000 |
commit | ded142d7f0f344e531a48ecb3cbf325ec22155e7 (patch) | |
tree | e1a9d9ef6c550458ea64ff44ab1d1e143e45f9b6 /docs | |
parent | d41db5dcf9a4e73241e2dd01a51606d63f0519ca (diff) | |
download | samba-ded142d7f0f344e531a48ecb3cbf325ec22155e7.tar.gz samba-ded142d7f0f344e531a48ecb3cbf325ec22155e7.tar.bz2 samba-ded142d7f0f344e531a48ecb3cbf325ec22155e7.zip |
Added a gew more mods by Patrick Powell (lprng guy)
jerry
(This used to be commit d675a6bd147e974c7970310ba8af9032f8bba1c7)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/textdocs/Printing.txt | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/docs/textdocs/Printing.txt b/docs/textdocs/Printing.txt index 47729bcdff..87032c1e47 100644 --- a/docs/textdocs/Printing.txt +++ b/docs/textdocs/Printing.txt @@ -79,11 +79,28 @@ be: # replace the command with the one appropriate for your system /usr/bin/lpr -r -P$1 $2 2>>&/tmp/tmp.print -Then you print a file: - - echo "print /tmp/test" | - smbclient //server/pr password -Uuser - +Then you print a file and try removing it. You may find that the +print queue needs to be stopped in order to see the queue status +and remove the job: + +h4: {42} % echo hi >/tmp/hi +h4: {43} % smbclient //localhost/lw4 +added interface ip=10.0.0.4 bcast=10.0.0.255 nmask=255.255.255.0 +Password: +Domain=[ASTART] OS=[Unix] Server=[Samba 2.0.7] +smb: \> print /tmp/hi +putting file /tmp/hi as hi-17534 (0.0 kb/s) (average 0.0 kb/s) +smb: \> queue +1049 3 hi-17534 +smb: \> cancel 1049 +Error cancelling job 1049 : code 0 +smb: \> cancel 1049 +Job 1049 cancelled +smb: \> queue +smb: \> exit + +The 'code 0' indicates that the job was removed. The comment +by the smbclient is a bit misleading on this. You can observe the command output and then and look at the /tmp/tmp.print file to see what the results are. You can quickly find out if the problem is with your printing system. Often people |