The Get_Printer function returns the current printer port information when the CURRENTPORT message is specified.