The Wonderful World of AIX

Packaging

Look for an installed package: lslpp -l 'openssl*'

Printing

  Config file: /etc/qconfig
  Useful commmand:
      lpstat -W | grep <queue>                        # Find a print queue status
      lpstat -p<queue-name>                           # Shows queue status
      qadm -x <queue-name>                            # Cancel print jobs
      qadm -U <queue-name>                            # Enable a queue
      qadm -D <queue-name>                            # Disable a queue
      qadm -K <queue-name>                            # Disable a queue allowing jobs to complete
      lp -c -d<queue>:hp@<printer> /tmp/file1         # sending a print job
  Restarting the printer daemon:
      smit
          Processes & Subsystems
              Subsystems
                  writesrv
                  lpd
                  qdaemon

Add printer by Example

How to add a printer to TRMS, TMMS, LTRMS

  • Perform these actions as root;
  1. Obtain IP address for jet direct box
  2. Have LOB determine name for printer
  3. Add the ip address and name in the /etc/hosts file
  4. Use the following command to add the print queue (e.g. printer name is houlj1)

/usr/lib/lpd/pio/etc/piomkjetd mkpq_jetdirect -p 'hplj-4' -D pcl -q 'houlj1' -h 'houlj1' -x '9100'

  1. cd /pbs
  2. create a script named {printername.sh} with the following contents;

cat - | qprt -P houlj1

  1. save that file and make sure the perms are 775.
  2. cd /apps/uv
  3. . ./.profile
  4. choose spooler
  5. choose device management
  6. choose maintain devices
  7. enter the printer name<enter>
  8. for pathname - /dev/null<enter>
  9. for driver - /pbs/{printername.sh}<enter>
  10. press 10 and press enter on file menu
  11. choose save and answer yes to save config and re-read spooler.
  12. Exit from menu
  13. From the main menu choose spooler management
  14. Choose reset spooler
/var/www/sites/dokuwiki-2011-05-25a/data/pages/notes/unix/aix.txt · Last modified: 2009/04/11 22:23 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki