Sponsored Content
Operating Systems Solaris How to trace source location of print jobs ? Post 302456982 by Exposure on Monday 27th of September 2010 04:22:59 AM
Old 09-27-2010
How to trace source location of print jobs ?

hi friends, recently one of our printers kept printing a job non-stop, how do i trace to check which script or application is printing it ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SYSLOG Source code location

Hi, I'm using Fedora Code 5 . I want to see the source code of syslog. Please tell me, where I can find the source code of syslog. If you know any implementation of syslog meant for embedded linux, please let know (except busybox). Thanks Jay (3 Replies)
Discussion started by: jockey007
3 Replies

2. UNIX for Dummies Questions & Answers

Catching print jobs.

Hi, I am wondering how to catch print jobs to process them before been served to the printer. I was told that the challenge is to catch raw text that an old legacy application sends to the printer (invoices, quotes, etc) and save them as text files to allow a new application to process them... (5 Replies)
Discussion started by: miguel77mex
5 Replies

3. Linux

holding print jobs in CUPS

Hi all. I have a problem with some printers that when I print a lot of jobs at once the printers gets stuck after 2 prints... (It's a barcode printers - DATAMAX). Whenever I'm printing each job separtly with a delay of a few seconds the printers work fine... So my question is how can I... (0 Replies)
Discussion started by: eliraza6
0 Replies

4. Shell Programming and Scripting

print queue jobs

Hi, I have one queue that have status QUEUE and 10 jobs are waiting.Can any one guide me how i can get total number of jobs on this queue.i can see 10 jobs but i need to get count 10 for this queue.Please help me out thanks in advance sagii (2 Replies)
Discussion started by: sagii
2 Replies

5. Shell Programming and Scripting

print queue jobs

Hi, i m having problem to get number of jobs waiting using lpstat.my printer is out of paper and 10jobs are in queue but i run lpstat -pqname it didnt show any thing.any one have idea whats wrong here. thanks sagii (2 Replies)
Discussion started by: sagii
2 Replies

6. Shell Programming and Scripting

print q jobs

Hi, I need to get queue name ,status and numbero jobs waiting in queue.I was using lpstat and i got the queue name ,status and number of jobs waiting but the problem with lpstat is that when printer is out of paper then it shows printer status ready and 0 jobs in queue.is there any way that i can... (4 Replies)
Discussion started by: sagii
4 Replies

7. UNIX for Advanced & Expert Users

[Solved] remove all print jobs from a print queue

Hello, Sometimes i need to clear all the jobs of a print queue and it is really annoying to cancel one by one. Is there a way to cancel all print jobs for a specific print queue with a single command instead of cancelling them one by one? My AIX system is 5.3 Thank you for your attention (2 Replies)
Discussion started by: omonoiatis9
2 Replies

8. Post Here to Contact Site Administrators and Moderators

How to count successfully copy files source to target location with check directory in Linux?

Hi guys...please any one help me .... how to copy files from source to target location if 5 files copied successfully out of 10 files then implement success=10 and if remaining 5 files not copied successfully then count error=5 how to implement this condition with in loop i need code linux... (0 Replies)
Discussion started by: sravanreddy
0 Replies

9. UNIX for Dummies Questions & Answers

How to count number files successfully copied from source to target location?

Hi Guys, how to count number of files successfully copied while coping files from source to destination path ex:10 files from source to target location copying if 8 files copied successfully then echo successfully copied=8 failure=2 files if two files get error to coping files... (2 Replies)
Discussion started by: sravanreddy
2 Replies

10. Shell Programming and Scripting

Count the number of files copied from source to destination location

Hi Guys, how to count number of files successfully copied while coping files from source to destination path ex:10 files from source to target location copying if 8 files copied successfully then echo successfully copied=8 failure=2 files if two files get error to coping files from... (23 Replies)
Discussion started by: sravanreddy
23 Replies
cupsenable(8)							    Apple Inc.							     cupsenable(8)

NAME
cupsdisable, cupsenable - stop/start printers and classes SYNOPSIS
cupsdisable [ -E ] [-U username ] [ -c ] [ -h server[:port] ] [ -r reason ] [ --hold ] destination(s) cupsenable [ -E ] [-U username ] [ -c ] [ -h server[:port] ] [ --release ] destination(s) DESCRIPTION
cupsenable starts the named printers or classes. cupsdisable stops the named printers or classes. The following options may be used: -E Forces encryption of the connection to the server. -U username Uses the specified username when connecting to the server. -c Cancels all jobs on the named destination. -h server[:port] Uses the specified server and port. --hold Holds remaining jobs on the named printer. Useful for allowing the current job to complete before performing maintenance. -r "reason" Sets the message associated with the stopped state. If no reason is specified then the message is set to "Reason Unknown". --release Releases pending jobs for printing. Use after running cupsdisable with the --hold option to resume printing. COMPATIBILITY
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". Also, printer and class names are not case-sensitive. The System V versions of these commands are disable and enable. They have been renamed to avoid conflicts with the bash(1) build-in com- mands of the same name. The CUPS versions of disable and enable may ask the user for an access password depending on the printing system configuration. This dif- fers from the System V versions which require the root user to execute these commands. SEE ALSO
cupsaccept(8), cupsreject(8), cancel(1), lp(1), lpadmin(8), lpstat(1), http://localhost:631/help COPYRIGHT
Copyright 2007-2013 by Apple Inc. 9 October 2008 CUPS cupsenable(8)
All times are GMT -4. The time now is 10:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy