AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  SMIT print screens missing

    Posted Thu February 07, 2008 02:05 PM

    Originally posted by: SystemAdmin


    Hello, I am using the AIX Print subsystem on AIX 5.3 (5300-07-01-0748). This is a new machine and we had been using 5.2 on the old box that I copied some of the printer queue info over from. I installed the HP jetdirect drivers from the AIX install cd, and I don't have any problems printing from any of these printers, but when I tried to access "Printer Setup" or "Default Print Job Attributes" under "Change / Show Print Queue Characteristics" (which I was able to do on the old box), it says those smit screens are not found, so where can I find them? It looks like these screens are frontends for the "/usr/lib/lpd/pio/etc/piochpq" command, and I do have that on the new system, just not the smit screens to pass all the various flags to it.


  • 2.  Re: SMIT print screens missing

    Posted Thu February 07, 2008 02:21 PM

    Originally posted by: alethad


    When you copy the qconfig and other printer files over you will be able to print to the printers but you won't be able to set the detailed characteristics in smit. SMIT will tell you the printer isn't found or something like that. You would have to either set them thru the virtual printer command or remove them & set them up from scratch. I had to learn this the hard way coming from AIX4.3 to AIX5.2.

    Unless someone else knows how to get around it. I never found it at the time. It was painful. I never had a problem doing that prior to 5L.
    For what it's worth.


  • 3.  Re: SMIT print screens missing

    Posted Thu February 07, 2008 02:30 PM
      |   view attached

    Originally posted by: SystemAdmin


    I have done this many times without any problems. All you need to copy over are:

    /var/spool/lpd (and everything underneath)
    /etc/qconfig

    I use a command such as:

    cd /var/spool
    tar cvpf - lpd | remsh $new_host 'cd /var/spool;tar xvpf -'

    where $new_host is the ip address of the new machine.

    But if it still doesnt work, I have attached a script that you can use on the machine thats having problems to relink the queues to work with SMIT. It came from IBM but no guarantees.

    Attachment(s)



  • 4.  Re: SMIT print screens missing

    Posted Thu February 07, 2008 03:52 PM

    Originally posted by: SystemAdmin


    Thanks for the script, the commands in there allowed me to access those screens again.