"JM" <mail.today> writes:
SAP likes to hold all its print jobs in its own queue, then dump
them in batches of 200-300 all at once on the local computer's
If you don't use local queues on the Solaris/SAP machine, you'll
run into problems. When SAP dumps its batch of print jobs onto
Solaris, your printer configuration will create many background
processes, each with a connection to the Windows 2000 server.
I.e. SAP dumps 250 print jobs on Solaris, creating 250 processes
and 250 simultaneous connections to the Win 2000 machine.
Unix operating systems like Solaris handle all those simultaneous
connections just fine, but the Windows Print Service for UNIX does
not handle them well. What I've seen is that some of the connections
appear to hang. The Solaris processes for those connections stall,
waiting for the Windows server to respond, and the print jobs stay
on the Solaris machine.
What works better is a local queue on the Solaris machine for each
of the printers, that forwards the print jobs unchanged to the
Windows server. Solaris queues the jobs on disk, and makes only
a few connections to the Windows machine (one connection per queue)
rather than hundreds of connections (one connection per job).
Windows handles this better, so the jobs flow to the Windows machine
properly and don't get stuck on the Solaris machine.
Here's a template for the Solaris queues that I would recommend:
Replace "SOL-NAME" with the printer queue name on the Solaris machine.
Replace "WIN-NAME" with the printer queue name on the Windows machine.
Replace "HOSTNAME" with the hostname or IP address of the Windows machine.
chmod 600 /dev/SOL-NAME
chown lp:lp /dev/SOL-NAME
lpadmin -p SOL-NAME -v /dev/SOL-NAME -m netstandard -I any
lpadmin -p SOL-NAME -o dest=HOSTNAME:WIN-NAME -o data-file-type=l
lpadmin -p SOL-NAME -o banner=never
The option letter in "-I any" is an uppercase i, not a lowercase L.
The last character in "-o data-file-type=l" is a lowercase L. Some
newsreaders use fonts that make it hard to tell the difference.
Don't forget the colon (:) between HOSTNAME and WIN-NAME.
Do NOT reply via e-mail.
Reply in the newsgroup.