This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: OT - Deleting job in printer queue via command line


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]