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 X-envelope-info: 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 Subject: re: OT - Deleting job in printer queue via command line In-Reply-To: <009533243161543NTPAGER@ntpager.ca.cch.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 (and ) 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/