OS

How to add a printer server in Windows 2012

1. GOTO server manager
2. CLICK on Manage
3. CHOOSE add roles and Features
4. SELECT Print and Document Services
5. SPECIFY print server, Distributed Scan server and Internet printing
6. CLICK on next and install
7. OPEN Print management
8. ADD a printer under Printers category
9. Shared the printer
10. Grant the shared printer to everyone
11. ADD the same printer on all clients within same network
12. REBOOT both server and client machines.

QTP

Write data into text file

Set Fo = createobject (“Scripting.FilesystemObject”)
Set f = Fo.openTextFile (“c:\myFile.txt”,8,true)     ’ open in write mode
f.Write (contents)
f.Close
Set f = nothing