delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/21/12:57:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: "Bushy" <george DOT bush AT rogers DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Mon, 21 Apr 2003 12:56:09 -0400
Reply-To: "Bushy" <george DOT bush AT rogers DOT com>
In-Reply-To: <Pine.GSO.4.44.0304211249480.19398-100000@slinky.cs.nyu.edu>
MIME-Version: 1.0
Subject: Re: OT - Deleting job in printer queue via command line
Message-ID: <00b0c4003171543NTPAGER@ntpager.ca.cch.com>

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019