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 From: "Sergey Okhapkin" To: "'Bushy'" , Subject: RE: OT - Deleting job in printer queue via command line Date: Mon, 21 Apr 2003 13:05:38 -0400 Message-ID: <59A835EDCDDBEB46BC75402F4604D55201514BA1@elmer> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <009685609171543NTPAGER@ntpager.ca.cch.com> Importance: Normal X-OriginalArrivalTime: 21 Apr 2003 17:05:38.0479 (UTC) FILETIME=[3B6673F0:01C30828] Looks like you're using backticks (`) instead of single quote character ('). > -----Original Message----- > From: cygwin-owner AT cygwin DOT com > [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Bushy > Sent: Monday, April 21, 2003 1:02 PM > To: cygwin AT cygwin DOT com > Subject: Re: OT - Deleting job in printer queue via command line > > > > > net print '\\internal\xerox1' 162 /delete > > Error I receive: > > bash: internal: command not found > The command completed successfully. > > > On Mon, 21 Apr 2003 13:00:17 -0400 (EDT), Igor Pechtchanski wrote: > > > 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/ > > > > > > > -- > 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/ > -- 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/