Re: Printing from Solaris

From: Greg Andrews (gerg_at_panix.com)
Date: 03/18/04


Date: Thu, 18 Mar 2004 08:02:45 +0000 (UTC)

Mark Valery <mevalery@attbi.com> writes:
>On Thu, 18 Mar 2004 02:50:53 +0000, Greg Andrews wrote:
>
>> Try issuing 100 lp commands for that printer very quickly, such as
>> in a script. You'll find that a few of the jobs become stuck on
>> the Solaris machine because the printer's Jetdirect card or box
>> accepted all the simultaneous TCP connections but never returned
>> the printing protocol responses on some of them. The Jetdirect
>> responded on all the other connections, but lost track of those few.
>
>Thanks, that explains why I never had a problem at my former
>companies. We never used scripts to fire off a bunch of jobs,
>just interactive users. I'll give your setup a try the next
>time I add a printer.
>

There are some software packages that let print jobs build up
in an internal queue, then issue dozens of rapid-fire lp commands
to print them. Certain configurations of the SAS software will
do that. Also, once in a while on large servers, you'll get a
bunch of people who all decide to print at the same time.

It's not a universal problem (i.e. not everyone sees it), but it
is seen by sites that have bursty patterns of printing.

  -Greg

-- 
Do NOT reply via e-mail.
Reply in the newsgroup.


Relevant Pages

  • Re: "/usr/bin/jobs" in BASH??
    ... In the normal bash, I can stop, kill, rerun the jobs. ... the same commands in a bash-shell-script, ... There are a number of commands in /usr/bin that are hard links to the ...
    (comp.unix.shell)
  • Re: "/usr/bin/jobs" in BASH??
    ... :> In the normal bash, I can stop, kill, rerun the jobs. ... There are a number of commands in /usr/bin that are hard links to the ... : same ksh script. ...
    (comp.unix.shell)
  • Re: make dd commands wait until autoloader swaps out tapes? argh!!!!
    ... > restore the filefrom each tape. ... > next tape...how do I make my jobs, which are simple dd commands, wait ... It will provide the commands you desire. ... Your script may look ...
    (comp.unix.aix)
  • Re: Netcat question
    ... Also, I apologize since I think you might have provided this already, but can we see the virtual device script? ... Maybe a quick & dirty hack fix is to have the virtual device script always append something unobtrusive to the collected print data for no other reason than to garuntee that the print jobs are always at least a few bytes. ... It uses a cheap-o single port print server that snaps onto the centronics plug just like that netgear ps101. ...
    (comp.unix.sco.misc)
  • Re: Netcat question
    ... If you write the virtual device script to simply throw out all output from ... than to garuntee that the print jobs are always at least a few bytes. ... It uses a cheap-o single port print server that snaps onto the centronics ...
    (comp.unix.sco.misc)