Home > Uncategorized > Printing in Mac OSX C# / Xamarin / Mono

Printing in Mac OSX C# / Xamarin / Mono

Just figured this out !

using System.Diagnostics;

ProcessStartInfo pStartInfo = new ProcessStartInfo();
            pStartInfo.FileName = “lpr“;
            pStartInfo.Arguments = “/Users/fiachreid/Desktop/osx–printer.png“;
            Process.Start(pStartInfo);

Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a comment