The mappings of IP addresses to “lp” names are contained in the /etc/hosts configuration file. To change the IP address:
vi /etc/hosts
The mappings of IP addresses to “lp” names are contained in the /etc/hosts configuration file. To change the IP address:
vi /etc/hosts
To administer print jobs in UniVerse spooler, first log into the server as root and run the following commands:
Displays the spooler status of all printers.
usa
To reload/refresh the spooler configuration file
usa -R
To manually start the spooler
cd /u2/uv bin/usd /usr/spool/uv -t
Resets the print spooler for this specific printer.
usa +o -p lp#
Displays the spooler status only for the specified printer.
usa -p lp#
Displays all active print jobs.
usa -A
Stops printing current job for the specified printer.
usa -b -p lp#
Restarts current job for the specified printer.
usa -c -p lp#
Cancels a specified job in the UniVerse spooler.
usm -k job#
Cancels all print jobs from a specified UniVerse spooler.
usm -k -p lp#
The mappings of IP addresses to “lp” names are contained in the /etc/hosts configuration file. You may modify the IP addresses for entries in the /etc/hosts files in a couple of different ways:
vim /etc/hosts
To view a step-by-step screencast of this process:
To change the printer’s IP address from the GUI interface:
The default CUPS (Linux print spooler) settings have been shown to be reliable for Eclipse legacy printing at over 100 customer locations. In nearly all instances where print queues are consistently “going down,” a wide area network (WAN) issue has been proven to be the root cause. While working to resolve long-term networking issues, here are a few useful settings that can be adjusted to increase the amount of time allowed by CUPS before disabling a print queue
The Timeout directive controls the amount of time CUPS will wait before an active HTTP or IPP request times out. The default timeout is 300 seconds (5 minutes), but this can be increased by modifying the /etc/cups/cupsd.conf configuration file, per the example below (1200 seconds or 20 minutes):
Timeout 1200
The MaxJobs directive controls the maximum number of jobs that are kept in memory. Once the number of jobs reaches the limit, the oldest completed job is automatically purged from the system to make room for the new one. If all of the known jobs are still pending or active then the new job will be rejected.
In a real-world scenario, if there is a printer down with a very large number of jobs in its queue this setting could cause printing to stop functioning server-wide. For this reason, and to ensure there are no hidden hardware or network issues, it is important to periodically monitor the number of jobs in the print queues (using the lpstat or similar tools).
If you regularly submit more than a few hundred jobs at one time to a print queue, you may wish to increase this setting in /etc/cups/cupsd.conf, taking care not to raise it too high to avoid system crash or spooler filesystem from filling up from an out of control print job.
By default, CUPS limits the number of active jobs at any one time to 500, but this can be increased to a larger value or be disabled entirely by setting the value in /etc/cups/cupsd.conf to 0 per the example below:
MaxJobs 0
http://www.cups.org/documentation.php/doc-1.3/ref-cupsd-conf.html
To view a step-by-step screencast of this process, click here.
In each of the steps below, substitute your printer’s IP address and new “lp” number.
Add an entry for the printer’s hostname and IP address to the /etc/hosts file:
echo "172.17.189.5 lp1" >> /etc/hosts
Add an AIX print queue:
/usr/lib/lpd/pio/etc/piomisc_ext mkpq_remote_ext -q 'lp1' -h 'lp1' -r 'lp1' -t 'aix' -T '999' -C 'FALSE'
Add the UniVerse driver file:
echo "lp -dlp1" > /usr/spool/uv/lp1.dvr chmod 777 /usr/spool/uv/lp1.dvr
Add the UV print queue:
cd /u2/uv uv
Select Spooler -> Device -> Maintain Devices
Use ENTER to advance, selecting all defaults unless otherwise specified.
Press ESC -> Q -> ENTER to exit
Launch Eterm and log into Eclipse to setup the Eclipse print queue
Select F2 -> F -> P -> A (Assign Printer)