Sponsored Content
Operating Systems AIX AIX Bunch of printers queue creation script - HELP Post 302500033 by smurphy on Saturday 26th of February 2011 12:24:54 PM
Old 02-26-2011
correct

Correct. The prt.add file contains one queue name per line.
 

10 More Discussions You Might Find Interesting

1. AIX

AIX 5 print queue

I have setup a printer and queue using SMIT and I have set the default tray to 4. What I am trying to find out is if there is a way to set the next tray it trys to use if tray 4 is empty to tray 3, then tray 2, then tray 1. (0 Replies)
Discussion started by: chefsride
0 Replies

2. AIX

Multiple printers to a print queue

Hello I created a print queue on my AIX 5 server. Unfortunetly, I already had a print queue with that name, so now I have 2 printers connected to one print queue. I see the option in smit to add another printer to a queue, but I do not see how to remove one. Anyone know the secret?? ... (3 Replies)
Discussion started by: mhenryj
3 Replies

3. AIX

Interface drivers for printers under AIX 5.3 or above

Hello, Under Linux (Cups) you can place an interface driver in: /etc/cups/interfaces .. which allows you to intercept printouts to a certain printer and then carry on with the printer. Is there a similar function under AIX? Thanks, (0 Replies)
Discussion started by: stuaz
0 Replies

4. AIX

AIX Printers moved to anothere AIX system

AIX Printers need to be moved to another system Guy's We have two servers old AIX 5.2 and new AIX 6.1 the old server has more than 300 printers installed with different configurations I'd like to move all the printers from the old server to the new server with fast steps it's... (1 Reply)
Discussion started by: ITHelper
1 Replies

5. Shell Programming and Scripting

Script for adding few methods to bunch of Java files

Hi I have around 1000+ java file under different folder in /home/raxit/source and in each file i want to add a fix method. -------- /* Some comment for few lines like header block etc.. */ package import class A { method1 () { } method2 () (3 Replies)
Discussion started by: raxitsheth
3 Replies

6. AIX

Help with clear printer queue script in AIX 5.3

Good day UNIX forum, could you help me with my clear printer queue script, i have problems with the consistency of this function, sometimes it works sometimes it doesn't. Thanks in advance } preRemovePrintQ(){ clear; echo; echo... (1 Reply)
Discussion started by: beware187
1 Replies

7. AIX

AIX Print Queue

I am trying to print from Aix 6.1 using a remote queue to a Brother 7360N All in one, I can see the printer, but only output is blank pages. My smit setup is: Name of queue: testprt Hostname if Remote Printer: testprt (I added name to etc/hosts) Name of queue on remote printer: testprt (I... (4 Replies)
Discussion started by: Al Metz
4 Replies

8. Shell Programming and Scripting

File system creation script on AIX 6.1 using while loop

#!/bin/sh echo "VG: " read VG echo "LP: " read LP echo "SAP: " read SAP echo "NUM: " read NUM echo "SID: " read SID while ]; read VG LP SAP NUM SID ; do mklv -y $SAP$NUM -t jfs2 -e x $VG $LP; crfs -v jfs2 -d /dev/$SAP$NUM -m /oracle/$SID/$SAP$NUM ... (14 Replies)
Discussion started by: arorap
14 Replies

9. AIX

Adding print queue in AIX

Hi When I add a print queue in my AIX server I get the below message. enq: (WARNING): 0781-162 Cannot awaken qdaemon (request accepted anyway). enq: errno = 2: A file or directory in the path name does not exist. Added print queue 'CUNE024'. Also when I give a test print the status... (3 Replies)
Discussion started by: newtoaixos
3 Replies

10. UNIX for Beginners Questions & Answers

AIX 4.3 - Need help - Printers not working

I am running an old IBM P-Series server running AIX 4.3 (I know a dinosaur). The OS has not been updated. We had a hard drive failure last weekend, and I was able to get most of the system back up, however, I have 3 line printers and 3 label printers that I can not get working. I have tried... (2 Replies)
Discussion started by: Patrick.Crocker
2 Replies
enable(1)						      General Commands Manual							 enable(1)

NAME
enable, disable - enable/disable LP printers SYNOPSIS
printers [reason]] printers DESCRIPTION
The command activates the named printers, enabling them to print requests taken by Use to find the status of printers (see lp(1) and lpstat(1)). deactivates the named printers, disabling them from printing requests taken by By default, any requests that are currently printing on the designated printers are reprinted in their entirety either on the same printer or on another member of the same class. Use to find the status of printers. Options recognizes the following options: Cancel any requests that are currently printing on any of the designated printers. Associate a reason with the deactivation of the printers. This reason applies to all printers mentioned up to the next option. If the option is not present or the option is given without a reason, a default reason is used. reason is reported by The maximum length of the reason message is 80 bytes. reason message of length greater than 80 bytes is truncated to 80 bytes. EXTERNAL INFLUENCES
Environment Variables determines the language in which messages are displayed. If is not specified or is null, it defaults to (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to (see environ(5)). International Code Set Support Single- and multibyte character code sets are supported. EXAMPLES
Enable printer to accept requests: Deactivate printer and cancel any logged jobs: WARNINGS
If the restrict cancel feature (selected by the option -- see lpadmin(1M)) is enabled, and the user is neither administrator nor the owner of the currently printing request on the designated printer, ignores the option. and perform their operation on the local system only. FILES
SEE ALSO
lp(1), lpstat(1), accept(1M), lpadmin(1M), lpsched(1M), rcancel(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M). enable(1)
All times are GMT -4. The time now is 09:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy