How do I manage UniVerse print spooler?

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# 

How do I change a printer’s IP address in Linux?

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:

Command Line

  • Log into your server via PuTTY
  • Launch your favorite text editor to edit the hosts file. For example, using vim:
vim /etc/hosts
  • Locate the entry for the printer(s) you wish to change
  • Make the change
  • Save the file and quit

GUI

To view a step-by-step screencast of this process:

To change the printer’s IP address from the GUI interface:

  • Log into the GUI via any method (ie VNC, DRAC, physical console)
  • Navigate to Applications -> Accessories -> Text Editor
  • Navigate to File -> Open Location
  • Enter /etc/hosts
  • Locate the entries for the printer(s) you wish to change
  • Select Save
  • Exit

How do I troubleshoot a Linux printer

To troubleshoot a print queue on Linux:

  • Log into the server as root
  • Try to ping the server:
ping -c4 lp1
  • Common problems:
    • If the printer doesn’t respond, verify its network connectivity
    • If the printer exhibits packet loss or high latency (round trip) times, check with your network support provider, as these can disrupt printing
  • Check the Linux (CUPS) print queue status:
lpstat -p lp1
  • Common problems:
    • If the printer is “disabled” or “paused,” enable the queue: cupsenable lp1
  • Check the UniVerse (UV) print queue status:
usa -p lp1
  • Common problems:
    • If the printer is marked as “off,” enable the queue: usa +o -p lp1

Okidata Printer Trouble-shooting

Factory Reset
With the printer off, hold FF/LOAD + TEAR then power the printer on.

Menu Reset
With the printer off, hold SELECT + LF then power the printer on.

Print Menu Settings
Enter menu mode by holding down SHIFT, then pressing SEL. Menu Light will go on.
(Press the PRINT key to Print the Configuration Page, if needed.)

GROUP: Prints the First Line in each Group in the Menu. (Press Group mult times to find emulation, etc)
ITEM: Prints next Item in the Group. (Usually press once to get to emulation)
SET: Prints next Setting for an Item in the Group. (To change a value)
PRINT: Prints Menu Settings or With the SHIFT key, prints current settings for the Group selected.
MENU: Light is ON when the printer is in the Menu Mode. Press Shift/Select (see Step One) to turn Menu Light off.

Tips & Tricks

  • Form Tear Off is in the “Rear Feed” group (typical setting is 500 ms)
  • Emulation Mode for Oki’s is usually ML or Epson FX (IBM PPR for Troy Pocket Pro)(For D-Link, try all 3).
  • To print a config page on an Oki with an internal print server, press the test button on the NIC with a paperclip

(For additional support, you may contact Oki Support at 800-654-3282 or use this link: http://my.okidata.com/)

AIX Printer Setup

NOTE: The instructions below are for configuring a new printer for “traditional” or “legacy” printing on an AIX server, not for printing via Eclipse Forms.

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.

  • Name = LP1 (shows all caps)
  • Path = /dev/null
  • Driver = lp1.dvr (ignore error)
  • Lock = lock.lp1

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)

  • Printer/Fax = new
  • Name = 1 (# from lp#)
  • Type = (press F10 to select)
  • ESC to apply and exit
  • L (Location Maintenance)
  • Location = NEW
  • Name = HERE
  • Ship Ticket Branch = (blank)
  • Physical Branch = (blank)
  • Printer = 1 (number of printer)
  • ESC to apply and exit