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

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-envelope-info: <rschulz AT sonic DOT net>
Message-Id: <5.2.1.1.2.20030421094737.0274ab28@pop.sonic.net>
X-Sender: rschulz AT pop DOT sonic DOT net
Date: Mon, 21 Apr 2003 09:53:35 -0700
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rschulz AT sonic DOT net>
Subject: re: OT - Deleting job in printer queue via command line
In-Reply-To: <009533243161543NTPAGER@ntpager.ca.cch.com>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0304211211570 DOT 19398-100000 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0

Hi,


% net help print
The syntax of this command is:


NET PRINT \\computername\sharename
           [\\computername] job# [/HOLD | /RELEASE | /DELETE]


NET PRINT displays print jobs and shared queues.
For each queue, the display lists jobs, showing the size
and status of each job, and the status of the queue.

\\computername           Is the name of the computer sharing the printer
                          queue(s).
sharename                Is the name of the shared printer queue.
job#                     Is the identification number assigned to a print
                          job. A computer with one or more printer queues
                          assigns each print job a unique number.
/HOLD                    Prevents a job in a queue from printing.
                          The job stays in the printer queue, and other
                          jobs bypass it until it is released.
/RELEASE                 Reactivates a job that is held.
/DELETE                  Removes a job from a queue.

NET HELP command | MORE displays Help one screen at a time.



You just said "won't work." If we're to help you, you have to give us 
more to go on than that. What result did you get? Nothing at all? A 
diagnostic? If you'd like to be forward looking, show us your PATH 
variable, tell us which version of Windows you're running, which shell 
you're using, things like that.

Best of all, read <http://cygwin.com/bugs.html> (and 
<http://www.catb.org/~esr/faqs/smart-questions.html>) and then try again.

Randall Schulz



At 09:36 2003-04-21, 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


--
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