10 More Discussions You Might Find Interesting
1. AIX
I am using AIX 5.
Just swapped over an HP printer.
The old printer was on a JetDirect box. The new printer connects directly to the network. Using the same IP address to print to, so the only alteration I made was to edit the etc/qconfig file to alter the port setting from 9103 to 9100. I can... (2 Replies)
Discussion started by: charding
2 Replies
2. 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
3. AIX
Hi,
We have a problem with remote printers installed on our server.
Consistently, the printer status is ready but the impressions of the queue are waiting therefore blocked. To unblock the situation, we must launch stopsrc qdaemon-s-s and startsrc qdaemon to reactivate the queue.
Thank you... (2 Replies)
Discussion started by: GBAGO
2 Replies
4. UNIX for Dummies Questions & Answers
Dear all,
I'm a new guy doing some quntum calculation with gaussian on my rocks clusters. Recently, my cluster upgraded to rocks 5.3, but something strange happened. Everything goes correct except a serious problem. when I summit my gaussian job with script to sge queue, the job does run,... (0 Replies)
Discussion started by: liuzhencc
0 Replies
5. SCO
Hwey I manage a Unix box where I ama having multiple printer problems. the only way to get printers to print again is by rebooting. I stop and start services with no luck. Any one have any ideas? It can go weeks with being OK but then any given printer can go and cause the entire print queue to... (6 Replies)
Discussion started by: uk2us88
6 Replies
6. Shell Programming and Scripting
I am very new to scripting could use some assistance polishing up my script. I have had issues with a print queue going down and needing some TLC to get it going again, however currently I have to wait for a user to complain about the issue. I have written a little script to monitor the print queue... (0 Replies)
Discussion started by: tdiYUZER
0 Replies
7. Programming
Hi,
I´m having a lot of problems when working with message queues, both on HP-UX Systems and Sun Solaris. When we fill a queue with a messages, the system hangs and locks everything that relies on the use of IPC resources. Anyone knows how to eliminate this problem?
Thanks,
Haroldo Teixeira (2 Replies)
Discussion started by: haroldo
2 Replies
8. Solaris
I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (2 Replies)
Discussion started by: Sean_69
2 Replies
9. UNIX for Dummies Questions & Answers
I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (1 Reply)
Discussion started by: Sean_69
1 Replies
10. UNIX for Dummies Questions & Answers
We have a 3rd party print queue installed on HP-UX 11.11 that interfaces with a binary. Basically we use the lp command to send reports to the print queue, which then interfaces with a binary to capture those reports into a reporting warehouse.
The problem lies in the way that HP uses a link to... (6 Replies)
Discussion started by: dangral
6 Replies
accept(1M) System Administration Commands accept(1M)
NAME
accept, reject - accept or reject print requests
SYNOPSIS
accept destination...
reject [-r reason] destination...
DESCRIPTION
accept allows the queueing of print requests for the named destinations.
reject prevents queueing of print requests for the named destinations.
Use lpstat -a to check if destinations are accepting or rejecting print requests.
Generally, accept and reject are run on the print server to control local print queues. Under some configurations, accept and reject are
run on client systems when IPP is being used to communicate between client and server.
OPTIONS
The following options are supported for reject:
-r reason Assigns a reason for rejection of print requests for destination.
reason is reported by lpstat -a. By default, reason is unknown reason for existing destinations, and new printer for destina-
tions added to the system but not yet accepting requests. Enclose reason in quotes if it contains blanks.
OPERANDS
The following operands are supported:
destination The name of the destination accepting or rejecting print requests. Destination specifies the name of a printer or class of
printers (see lpadmin(1M)). Specify destination using atomic name or URI-style (scheme://endpoint) names. See print-
ers.conf(4) for information regarding the naming conventions for destinations.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
FILES
/etc/printers.conf System printer configuration database
$HOME/.printers User-configurable printer database
ou=printers LDAP version of /etc/printers.conf
printers.conf.byname NIS version of /etc/printers.conf
printers.org_dir NIS+ version of /etc/printers.conf
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWlp-cmds |
+-----------------------------+-----------------------------+
|CSI |Enabled. See NOTES. |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
SEE ALSO
enable(1), lp(1), lpstat(1), lpadmin(1M), lpsched(1M), printers.conf(4), attributes(5)
NOTES
accept and reject affect only queueing on the print server's spooling system. Requests made from a client system remain queued in the
client system's queueing mechanism until they are cancelled or accepted by the print server's spooling system.
accept is CSI-enabled except for the destination name.
When IPP is in use, the user is prompted for a passphrase if the remote print service is configured to require authentication.
SunOS 5.11 5 Jun 2006 accept(1M)