public static void GetSetPrintOwnerName()
{
// ExStart:GetSetPrintOwnerName
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_AsposePdfFacades_Printing();
PdfViewer viewer = new PdfViewer();
// Bind source PDF file
viewer.BindPdf(dataDir + "input.pdf");
// Specify the name of Print job
viewer.PrinterJobName = GetCurrentUserCredentials();
// ExEnd:GetSetPrintOwnerName
}
// ExStart:GetCurrentUserCredentials