9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello All,
When using CUPs. Does the file that gets printed live in some temp directory somewhere?
For example, if a user submits a PDF file to be printed, does a cached copy of that PDF file live somewhere on the Server in a temporary directory, at least until its printed?
# lpq -P... (1 Reply)
Discussion started by: mrm5102
1 Replies
2. Red Hat
Hi,
We need to restart CUPS service, and want to know if restarting CUPS service will stop/start existing printing queues?
Thank you! (1 Reply)
Discussion started by: aixlover
1 Replies
3. Red Hat
Hi all,
unable to print from linux box. Earlier it used to work fine.
The print job is sitting in the queue and not going to printer.
Removed queue job and tried again but no luck.
Tried "cupsenable" but ended up with no success.
I tried to print two text files as "root" with "lp " command... (0 Replies)
Discussion started by: lramsb4u
0 Replies
4. UNIX for Advanced & Expert Users
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
5. SCO
Hi, i'm running Openserver 5.0.7 as a CUPS client for a Linux server. The root user can issue a "lpstat -t" to see the printers and can submit jobs without issues.
The problem presents when I try to work as a regular user. If I issue an "lpstat -t" all I get after a few seconds is "lpstat:... (1 Reply)
Discussion started by: cyruspy
1 Replies
6. Shell Programming and Scripting
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. Shell Programming and Scripting
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
8. UNIX for Dummies Questions & Answers
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
9. UNIX for Advanced & Expert Users
I have just installed cup printing software on solaris 8 and i am able to print successfully
from the print server but unable to print from any of the print client in my local network subnet. i have enable browsing so that cups printer server could broadcaste itself to client. but still unable to... (1 Reply)
Discussion started by: hassan2
1 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 while cupsdisable stops the named printers or classes.
OPTIONS
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.
CONFORMING TO
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, respectively. They have been renamed to avoid conflicts with the bash(1)
build-in commands of the same names.
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), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc.
11 June 2014 CUPS cupsenable(8)