TotalNET Advanced Server 5.2 Reference Manual

Examples

  1. Use the command below to print four copies of the local file /tmp/that.doc to the print queue starblazer on the server flip, as user john with password abcdefgh. This command also prevents banner printing and post-printing form feeds.


    ncprint -nf -s flip -q starblazer -N 4 -u john
     	-p abcdefgh /tmp/that.doc
  2. Use the command below to print the local file this.doc from the current local directory and send the print job to the print queue nov4dot on the server nov4 as user root. This command does not display the password.


    ncprint -s nov4 -q nov4dot -u root -P this.doc
  3. Use the command below to print 10 copies of the file rampage.doc in the directory tmp to the print queue village on server hi, as user mildred with password market:


    ncprint -s hi -q village -N 10 -u mildred -p market
     	/tmp/rampage.doc