static void Main(string[] args) { string strPath = System.AppDomain.CurrentDomain.BaseDirectory.Replace("\\", "/"); // Instantiate Object APServer.Server server = new APServer.Server(); // Convert the PostScript file into PDF ServerDK.Results.ServerResult result = server.ConvertPCLToPDF( PCLFile: $"{strPath}Server.Input.pcl", PDF: $"{strPath}Server.PCLToPDF.pdf"); // Output result WriteResult(result); // Process Complete Console.WriteLine("Done!"); Console.WriteLine("Press any key to exit."); Console.ReadKey(); }