TotalNET Advanced Server 5.2 Reference Manual

Examples

  1. Use either of the following commands to list all available printer references for all file services in all realms:


    tnpref
    tnpref -L

    Sample Output:

    NB 

     

    lmpac:file 

     

     

    blahprn 

     

    lmpacman:tty:term 

     

     

    blark:file 

    NW 

     

    nwmyhost:file 

     

     

    lhpprn 

     

    blahprn 

     

    nwmyhost:term 

    nwmyhost:nvt 

     

     

  2. Use the following command to list all printer references for the file service test in the NetWare realm:


    tnpref -L -r NW -s test:file

    Sample Output:


    lhpprn
    blahprn
  3. Use the following command to add the printer hpprn to the LM-NT-OS/2 realm file service myhost:


    tnpref -A r NB -s myhost:file -p hpprn
  4. Use the following command to delete the printer reference hpprn from the file service nwmyhost in the NetWare realm:


    tnpref -D -r NW -s nwmyhost:file -p hpprn