sharing printers between aix and windows

Upload: r-d-sandeep

Post on 30-May-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/14/2019 Sharing Printers Between AIX and Windows

    1/3

    Sharing Printers between AIX and Windows

    faq52-3563

    Posted: 9 May 03 (Edited 26 May 03)

    AIX ( or Unix ) and Windows, use the same (almost) Transport Protocol (TCP),

    but to share files and printers use different protocols ( NFS,LPD - Lan Manager ),

    FILES PRINTERS

    +----------+---------------------+| AIX nfs lpd

    +----------+---------------------+

    | WIN lan-manager

    +----------+---------------------+

    To make possible they "speak", one of them must activate

    the protocol of the other; furthermore, we have to understand who is the client and which

    is the server.

    Printers

    --------

    In this case, we choose that Windows emulates Unix:

    lpd protocol is installable on Windows as client or serverIn Windows 2000 or NT4 it can be found on Windows CD ;

    For Windows 9x it is not so easy:

    If W9X is client, we can download 3rd part software : eg

    http://www-1.ibm.com/support/docview.wss?uid=psd1P4000166ftp://ftp.software.ibm.com/printers/products/netprt/lpr/instlpr.exe

    If W9X is server,

    http://ftp.unicamp.br/simtel.net/win95/network.html

    lpd101.zip

    or change strategy, and do AIX emulate Windows, using Samba, but is a bit more

    complicated.

    Suppose Windows NTx

    NT5 (2000) :

    http://openindex%28450%2C450%2C%27http//www.tipmaster.com/includes/refinfo.cfm?w=450&h=450%27)http://www-1.ibm.com/support/docview.wss?uid=psd1P4000166ftp://ftp.software.ibm.com/printers/products/netprt/lpr/instlpr.exehttp://ftp.unicamp.br/simtel.net/win95/network.htmlhttp://openindex%28450%2C450%2C%27http//www.tipmaster.com/includes/refinfo.cfm?w=450&h=450%27)http://www-1.ibm.com/support/docview.wss?uid=psd1P4000166ftp://ftp.software.ibm.com/printers/products/netprt/lpr/instlpr.exehttp://ftp.unicamp.br/simtel.net/win95/network.html
  • 8/14/2019 Sharing Printers Between AIX and Windows

    2/3

    Start | Setting | Contro Panel | Add/Remove Programs |

    Add/Remove Wind... | Other Network File and Printer..|

    Print Service for Unix .Insert Windows2000 CD, and SPx if required

    NT4: In Control Panel, Network, TCPIP,

    add protocol "Microsoft TCPIP Printng"(sorry for imprecisions, but I have not here now a NT4 box )

    =====================

    Windows is Server

    =====================

    Win-side

    - Computer Management | Service and Applications|

    Services

    - look for

    TCP/IP Print Server

    - Start it and set its Startup-type as Automatic.

    - Add Printer ( Local Printer ) and use a existent port

    for parallel,serial port or a new port if there isa printer server or the p. has a nic: follow

    instructions and install the printer driver.

    - Then share it: use a short name (eg max 8 char)

    without blanks or strange chars, and Uppercase.

    Perform a test print.

    AIX-side

    - Ensure that aix has a name-resolution for Windows

    machine (/etc/hosts, nis, DNS )

    - smitty mkpq

    remote

    standard Processing

  • 8/14/2019 Sharing Printers Between AIX and Windows

    3/3

    Name of QUEUE to add : any ( I suggest the NT name )

    HOSTNAME of remote server : windows-machine-name

    Name of QUEUE on renote server : MUST BE THE ONE YOUHAVE SHARED

    =====================

    AIX is Server

    =====================

    AIX-side

    - smitty spoolerManage Print Server

    Start the Printer Server .... both

    Add print Access for a Remote Client

    put a '+' (plus sign) for any clients

    - however, the AIX has to resolve

    Windows-machine-name IP address

    - Install the printer : local, or jetdirect or other

    and choose a simple name for the queue : test it .

    - ensure lpd is running : lssrc -g spooler

    Win-side

    - Add Printer , Local Printer (strange but Local),

    Create a new port: drop-down LPR port :

    fill in AIX name or address and AIX queue name

    - Choose printer type and install driver