AIX

AIX

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

 View Only
  • 1.  disable form feed when creating print queue

    Posted Tue June 24, 2008 03:48 PM

    Originally posted by: SystemAdmin


    Hello, we are migrating print servers and I have a very simple script using the following command to create the needed print queues on the new server

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

    however, using this command form feed is enabled on the queue. i know how to disable it through smitty, but how can i disable from the command line or insert it into the creation of the new queue? Thanks in advance.


  • 2.  Re: disable form feed when creating print queue

    Posted Wed June 25, 2008 07:58 AM

    Originally posted by: grukrz1


    do it once from smitty and then check for command line syntax in /smit.script file.

    or press ESC-6 in the smitty form to see the command before execution.


  • 3.  Re: disable form feed when creating print queue

    Posted Wed June 25, 2008 08:16 AM

    Originally posted by: SystemAdmin


    using smitty does the same thing, it enables the form feed on queue creation. is there a way to turn this off on queue creation, rather than me having to back after the queue is created and manually disable form feed on each print queue?


  • 4.  Re: disable form feed when creating print queue

    Posted Mon June 30, 2008 02:38 PM

    Originally posted by: alethad


    The attribute you're looking for I believe is the _Z=!
    The !(bang) means no form feed.

    I haven't done this in a long time but if you're using the mkvirprt I think you can set this attribute. Otherwise write a script to perform a chvirprt on a list of printers and set it for the list.

    Test it with one first.
    Hope that helps.


  • 5.  Re: disable form feed when creating print queue

    Posted Thu July 03, 2008 11:22 AM

    Originally posted by: SystemAdmin


    The chvirprt command worked perfectly. the actual command used is

    chvirprt -qxxxx -dhp@xxxx -a _Z=!