Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing problem

Status
Not open for further replies.

kahn630

Technical User
Mar 10, 2005
29
US
small print jobs go with no problem, while larger ones hang
>in the queue until they finally disappear without printing.
>
>Here is the sequence of commands used to create the print queue:
>================================================================
>lpadmin -p printer_name -v /dev/null
>lpadmin -p printer_name -m netstandard
>lpadmin -p printer_name -o dest=10.2.28.53:9100 -o protocol=tcp -o timeout=5
>lpadmin -p printer_name -I simple -T hplaserjet4-PCL
>accept printer_name
>enable printer_name
>lpadmin -p printer_name -o banner=never
>lpstat -p printer_name
>
>File that was sent to the printer at the UNIX level, and got truncated:
>=======================================================================
>Different text files of all sizes have been sent. (Remember, nothing gets
>truncated; under a certain size prints, over a certain size hangs in the
>queue and finally disappears.)
>
>Type of printer:
>================
>Laser, accepting PCL
>
>Exact description of problem:
>=============================
>Text files of approximately 50 or fewer lines seem to print correctly,
>while over 50 lines do not. We have not determined if there is some exact
>character count which represents the threshold.
>SDP's Lexmark Optra-S2450 can print jobs of any size correctly; this is an
>older model than the others. For example, their Lexmark T-630, a newer
>model, has the print job size problem.
>Some of the printers use print server boxes; we don't believe they are the
>problem, because the S2450 works fine with one, and the T-630, which is
>network-ready out of the box, experiences the job size problem.

Thank for the help
 
Is this a driver for the printer?
 
JetDirect is a print server application specifically for HP Printers. I have successfully controlled other makes of printers from it. There may be a small learning curve to get it up and running, but once it is configured, it works like a champ.
 
This could be the issue I will not able to get approval
to install this in our production env....is there any thing that I missed cause it print small jobs but not over 50 lines....
 
The only thing I can think of off hand is a spool for the printer. Not familiar enough with the lp daemon to know how the spool function operates. I do know I had simular issues when I tried running with SunOS years ago. That is when I went to (at the time) JetAdmin.

May-be you could install JetDirect on a workstation and give it a try to see if it corrects your problems. I guess there is a chance that you have a printer problem and not a print server problem.

 
try this: create a file with many, many lines in vi or another texteditor; print this file with

unix2dos mylargefile | lp -d 10.2.28.53:raw

does it print the file?

Do your Printers accept PostScript? I have never seen these problems with the PS filter, but I never saw installations with the PCL filter.

Patches: did you check the lp Patches for your OS?

I suggest to try this (PostScript queue, if your printers don't support PS, you might check the man lpadmin for the -T Option for PCL)
# mknod /dev/lanPrinter c 13 2
# chmod 0600 /dev/lanPrinter
# chown lp:lp /dev/lanPrinter
# lpadmin -p lanPrinter -v /dev/lanPrinter -o protocol=bsd,dest=10.2.28.53:raw
# lpadmin -p lanPrinter -i /usr/lib/lp/model/netstandard
# lpadmin -p lanPrinter -T PS
# lpadmin -p lanPrinter -I any
# accept lanPrinter
# enable lanPrinter

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years in the domain of the OS, Backup and Storage
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top