?
Solved

SCO UNIX How to Kill Print jobs

Posted on 2005-03-16
6
Medium Priority
?
1,610 Views
Last Modified: 2013-12-19
We have an accounting application which runs on Windows machines through a unix emulator. On my UNIX server I would like to know how to kill a specific print job which has been qued and is printing. I would appreciate all your feedback. Thank you.
0
Comment
Question by:jarredondo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 13559741
depends on your printing system, is lpr, cups or lpd?
0
 

Author Comment

by:jarredondo
ID: 13560191
The printing system is an lpr
0
 
LVL 38

Expert Comment

by:yuzh
ID: 13561378
use "cancel" command to cancel the job, use "lpstat -t" to list all the job numbers.

man cancel
man lpstat
0
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

 
LVL 51

Expert Comment

by:ahoffmann
ID: 13562797
lpr -- use cancel -- ??
for lpr the proper command to use is lprm, lpq and lpc
or is SCO different?
0
 
LVL 38

Expert Comment

by:yuzh
ID: 13562879
Yes, SCO use "cancel" (it is true from SCO 3.x - SCO 5.x).
0
 
LVL 10

Accepted Solution

by:
neteducation earned 400 total points
ID: 13671962
the command is only called "cancel"

cancel <printjobid>

i.e.

cancel xerox-13

or

cancel <printername>

i.e.

cancel xerox

to cancel all the jobs of that printer
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses
Course of the Month14 days, 12 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question