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

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 21 Apr 2003 12:50:58 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Bushy <george DOT bush AT rogers DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: OT - Deleting job in printer queue via command line
In-Reply-To: <00c335854161543NTPAGER@ntpager.ca.cch.com>
Message-ID: <Pine.GSO.4.44.0304211249480.19398-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

Are you doing this from bash?  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.
	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