From ded142d7f0f344e531a48ecb3cbf325ec22155e7 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 14 Sep 2000 16:44:44 +0000 Subject: Added a gew more mods by Patrick Powell (lprng guy) jerry (This used to be commit d675a6bd147e974c7970310ba8af9032f8bba1c7) --- docs/textdocs/Printing.txt | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) (limited to 'docs') 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 -- cgit