AIX

AIX

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


#Power
#Power
 View Only
  • 1.  AIX Remote Printer Queue Setup Using Linux / CUPS

    Posted Tue July 10, 2007 07:54 PM

    Originally posted by: SystemAdmin


    Hello,

    Is setting up a remote printer queue in AIX using a Linux CUPS print server possible? We are testing printing from our AIX/Oracle database to this Linux remote queue/printserver.

    I have the remote Linux queue given to me as lpd:/dev_cups/LPTest

    I would need to determine the queue name, hostname of the Linux server, and the remote queue name LPTest, correct?

    In SMIT I don't see type of "CUPS". Just BSD, etc...

    Is it possible to have this setup somehow?

    Regards,

    Edward Pluskwa
    #AIX-Forum


  • 2.  Re: AIX Remote Printer Queue Setup Using Linux / CUPS

    Posted Tue July 10, 2007 10:10 PM

    Originally posted by: SystemAdmin


    Some people have done this in the past, but they have downloaded and built CUPS. It does not come with AIX and is not supported at all by IBM.

    It is likely that AIX printing or System V printing on AIX can provide the capability you need to print to your Linux server.
    #AIX-Forum


  • 3.  Re: AIX Remote Printer Queue Setup Using Linux / CUPS

    Posted Tue July 10, 2007 10:45 PM

    Originally posted by: SystemAdmin


    Thank you for your response.

    I'm not looking to setup CUPS in AIX. I am using the AIX print subsystem.

    I defined a remote printer queue on my AIX server (lptest) using standard processing and using the hostname dev_cups (which is the Linux CUPS printserver)
    and the remote queue name on the Linux server (LPTest). It configured correctly and qchk -A reports its ready.

    My question was really whether choosing 'BSD' for my type of remote queue in AIX would be the same (or work with) a remote CUPS defined Linux queue.

    So far it seems to work.

    Regards,

    Edward Pluskwa
    #AIX-Forum


  • 4.  Re: AIX Remote Printer Queue Setup Using Linux / CUPS

    Posted Wed July 11, 2007 09:33 AM

    Originally posted by: SystemAdmin


    Yes, BSD would be the most likely 'statfilter' choice. The type of stat filter does two things when using AIX printing. First it sets the format of the output from the lpstat command for the remote queue. Second it affects the print flags that are passed in the 'control file' to the remote queue with certain print commands. When printing from AIX to AIX with the AIX stat filters you can pass through things like the passthrough flag, or the number of copies. This is not true with the BSD stat filter. The original file name is sent as 'Nfilename', while with AIX this is sent both as "Nfilename' and '-Tfilename' for the title page. I would recommend you use BSD to a CUPS server.

    #AIX-Forum