Urgent, HPUX print queue take too long to print

Posted on 2008-10-23
Last Modified: 2013-12-16
print a simple text file to printer - lp -dprint /etc/hosts, it took at least 2 minutes to print.  I lpshut/lpsched and disable/enable the printer, but no sign of improvement.  Please help
Question by:dmc-march
  • 3
  • 2

Author Comment

ID: 22790804
Forgot to add primary contact information
LVL 38

Expert Comment

ID: 22837166
Whay type of printer you have? If it direct connected to you HP box, then have a look at the infor in:
to check your printer configurations.
If it is a network printer (with built in NIC or connect to a printer sever) you need to make sure your network is not overloaded, or the printer is not in sleeping mode before you print.
also make the filesystem is not FULL in your box or the printer server.

Author Comment

ID: 22841576
Thank you, Yuzh.  Our printers are HP LaserJet 4000 series.  The enclosed link was informative, but it did not applied to our case.  Our network prints defined in /etc/hosts print1 print2...

Our printers are NIC built in, I verified the network and printers are enbled and in accepting requests status.  Filessystem is definitely not full.  Please advice.
LVL 38

Accepted Solution

yuzh earned 500 total points
ID: 22847384
when you telnet to the Laserjet 4000N printer, the connection is also slow?
It could be a DND setting problem,
1) check your /etc/resolv.conf file looks like:


replace "" with your DNS server IP
2) check  your /etc/nsswitch.conf  file, and make sure that it has:

hosts:     files dns [NOTFOUND=continue]

# you can just modify the record to make it use files and DNS

if you still have probem, check your router, gateway settings.

Author Comment

ID: 22877863
Thank you, Yuzh.  There was one of the nameserver no longer existed, but it still resided in the conf file.

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Run DOS2UNIX and then execute the command 21 71
Red Hat 7 Linux on Azure cannot run a command as root 22 43
Linux script delete files 3 34
error log using ftp 7 41
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question