08-13-2002
Simultaneous printing
I am running AIX 4.3 and network printing setup with HP Jetdirect. I would like to be able to send the same printout to both of the network printers at the same time. They are both PCL
data stream. I have tried to make this work by linking the two print que, by the results are unpredictable.
Is there a way to do this?
Thanks!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have an awk command that searches and replaces. I have multiple searches, but I do not want to do them one after the other. Is there a way in awk to run search/replace at the same time.
thanks, (3 Replies)
Discussion started by: ctcuser
3 Replies
2. UNIX for Dummies Questions & Answers
Hi!
I need to start a program at several hosts in the network at the same time. Starting time difference should be no more than several milliseconds. What is the best way to do that?
Thanks! (5 Replies)
Discussion started by: harjar
5 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I'm working in a project where several procedures are programmed using UNIX scripts.
One of these scripts is launched in several threads. When performing these threads an scp command to another server it gives out. This error happens only sometimes, others not and each time for a... (5 Replies)
Discussion started by: Hector_Saura
5 Replies
4. AIX
Hello everyone,
My OS is AIX 5.2
I would like some help in getting command syntax that does the following:
1. Searches simultaneously several directories downward;
2. Checks every subdirectory in each directory (and so on...) for file names that contain certain characters such as “~”, start... (0 Replies)
Discussion started by: Hopeful
0 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I need information on file handling in UNIX enviornment.
If in UNIX enviornment I have two process..
P1
P2
Both accessing the same file simultaneosuly(read operation)..
Suppose P1 opened the file in read mode first and started reading the file..
Then P2 opens the same file in... (5 Replies)
Discussion started by: chibob
5 Replies
6. Shell Programming and Scripting
I'm using a shared server on Hostgator (Linux CentOS). I'm trying to set a cron job using the Control Panel that will check if its already running before starting a new one.
I've tried the following...
* * * * * &&
but I get this error emailed to me...
/bin/sh: line 0:
Any... (5 Replies)
Discussion started by: tech9821
5 Replies
7. Shell Programming and Scripting
I have 5 scripts, basicly do the same thing. Use expect and telnet to devices.
First set the variables and the script as follow
spawn telnet $ipaddr
expect "Username:"
send -- "$usuario\r"
expect "Password:"
send -- "$password\r"
send -- "\r"
send -- "\r"
send -- "copy running-config... (6 Replies)
Discussion started by: robonet
6 Replies
8. UNIX for Dummies Questions & Answers
I just registered today and started unix about a month ago.
I'm trying to make a script where I can add commands or text to the end of files in a listing.
$ echo "#text_or_command" >> #List of files from ls
I can't seem to find/understand it on these fourms.
Could it be done at... (4 Replies)
Discussion started by: 62583
4 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
So my problem is: 4990 of 5000 users should be able to access a file. How can this be accomplished.
2.... (1 Reply)
Discussion started by: protiss
1 Replies
10. Shell Programming and Scripting
Hello
I want to call multiple sites simultaneously by xargs or parallel
for example
a.com/srv/1
a.com/srv/3
a.com/srv/2
a.com/srv/n
That means 500 different sites will be called in a moment
Then I use command I call a url at the same time. I need to call each url once, but every 500... (1 Reply)
Discussion started by: mnnn
1 Replies
lpsched(1M) lpsched(1M)
NAME
lpsched, lpshut, lpmove, lpfence - start the LP request scheduler; stop the LP request scheduler; move requests between LP destinations;
define the minimum priority for printing
SYNOPSIS
requests dest
dest1 dest2
printer fence
DESCRIPTION
Schedules requests taken by
for printing on printers. is typically invoked in This creates a process which runs in the background until is executed. The
activity of the process is recorded in
recognizes the following options:
Write a verbose record of the
process on
Write logging data on
Shuts down the printer scheduler.
All printers that are printing at the time is invoked stop printing. Requests that were printing at the time the scheduler was
shut down are reprinted in their entirety after is started again. All LP commands perform their functions even when is not
running.
Moves requests that were queued by
between LP destinations.
The first form of the command moves the named requests to the LP destination, dest. requests are request IDs as returned by
The requests that are currently printing will not be moved.
The second form of the command moves all requests for destination dest1, including requests that are currently printing, to
destination dest2. As a side effect, dest1 rejects all subsequent requests.
Note that never checks the acceptance status (see accept(1M)) for the new destination when moving requests.
Defines the minimum required
priority for the spooled file to be printed. fence must be in between 0 (lowest fence) and 7 (highest fence). Each printer
has its own fence, which is initialized to 0 when it is configured by the command.
EXTERNAL INFLUENCES
Environment Variables
determines the format and contents of date and time strings.
determines the language in which messages are displayed.
If is not specified in the environment or is set to the empty string, the value of is used as a default for each unspecified or empty vari-
able. If is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of If any internationalization
variable contains an invalid setting, the commands behave as if all internationalization variables are set to "C". See environ(5).
EXAMPLES
Move requests and from destination queues and to the destination queue if the requests are not currently printing.
Move all requests from the destination queue laserjet1 to the destination queue laserjet2. This will also cause laserjet1 to reject
all subsequent print requests to it. All currently printing requests from laserjet1 will be reprinted on laserjet2.
Suppose is a member of classes and Running this command will cause only print requests of priority 5 and above from queues and to be
printed on printer Print requests of priority 4 and below will not be picked by the scheduler for printing on
WARNINGS
and perform their operation on the local system only.
FILES
SEE ALSO
cancel(1), enable(1), lp(1), lpstat(1), accept(1M), lpadmin(1M), lpana(1M), rcancel(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M).
lpsched(1M)