var server = new PrintServer(serverName); var queue = new PrintQueue(server, printerName); { var size = new PageMediaSize(PageMediaSizeName.ISOA4); queue.UserPrintTicket.PageMediaSize = size; var job = queue.AddJob("jobname", file, false); { } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)