Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 21 Apr 2003 13:00:17 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Bushy cc: cygwin AT cygwin DOT com Subject: Re: OT - Deleting job in printer queue via command line In-Reply-To: <00b0c4003171543NTPAGER@ntpager.ca.cch.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Please provide the *exact* command sequence that results in that error. Igor On Mon, 21 Apr 2003, Bushy wrote: > On Mon, 21 Apr 2003 12:50:58 -0400 (EDT), Igor Pechtchanski wrote: > > > Are you doing this from bash? > > Yes. > > > Then I suspect it's a quoting issue. Try > > net print '\\computername\sharename' 162 /delete > > Also, make sure "computername" and "sharename" are referring to the > > correct printer. > > It now deletes the job fine but I get the following error? > > bash: computername: command not found > The command completed successfully. > > Any way to get rid of the "bash" error? > > > Igor > > > > On Mon, 21 Apr 2003, Bushy wrote: > > > > > Hmm...w2k > > > > > > I did a > > > > > > net print \\computername\sharename 162 /DELETE > > > > > > "162" being the Job ID. > > > > > > Nothing happens. It just spits me out as if I did a net help print? > > > > > > On Mon, 21 Apr 2003 12:44:34 -0400 (EDT), Igor Pechtchanski wrote: > > > > > > > Hmm... You forgot to specify the OS? > > > > Igor > > > > P.S. So did I -- it works on Win2k, should also work on NT and XP. > > > > > > > > On Mon, 21 Apr 2003, Bushy wrote: > > > > > > > > > Hmmm...won't work? > > > > > > > > > > On Mon, 21 Apr 2003 12:13:00 -0400 (EDT), Igor Pechtchanski wrote: > > > > > > > > > > > On Mon, 21 Apr 2003, Bushy wrote: > > > > > > > > > > > > > Hi all, > > > > > > > > > > > > > > Does anyone know of a utility that will delete a job from the Windows > > > > > > > printer queue via command line or telnet prompt? > > > > > > > > > > > > > > Currently I just set up a windows queue to the printer and use regular > > > > > > > Windows interface. > > > > > > > > > > > > "net print". > > > > > > Igor > > > > > > P.S. Nice e-mail... :-) > > > > > > > > -- > > > > http://cs.nyu.edu/~pechtcha/ > > > > |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu > > > > ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com > > > > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski > > > > '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! > > > > > > > > Knowledge is an unending adventure at the edge of uncertainty. > > > > -- Leto II > > > > > > > > > > > > > > > > > > > -- > > > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > > Problem reports: http://cygwin.com/problems.html > > > Documentation: http://cygwin.com/docs.html > > > FAQ: http://cygwin.com/faq/ > > > > > > > -- > > http://cs.nyu.edu/~pechtcha/ > > |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu > > ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com > > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski > > '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! > > > > Knowledge is an unending adventure at the edge of uncertainty. > > -- Leto II > > > > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Knowledge is an unending adventure at the edge of uncertainty. -- Leto II -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/