SCO UNIX How to Kill Print jobs

Posted on 2005-03-16
Medium Priority
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.
Question by:jarredondo
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
LVL 51

Expert Comment

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

Author Comment

ID: 13560191
The printing system is an lpr
LVL 38

Expert Comment

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

man cancel
man lpstat
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

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

Expert Comment

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

Accepted Solution

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

cancel <printjobid>


cancel xerox-13


cancel <printername>


cancel xerox

to cancel all the jobs of that printer

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