Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
var myProcessStartInfo = new ProcessStartInfo
{
    UseShellExecute = true,
    FileName = fname,
    Verb = "Print",
    CreateNoWindow = true,
    Arguments = DefaultPrinterName(), 
    WindowStyle = ProcessWindowStyle.Hidden


What I have tried:

var myProcessStartInfo = new ProcessStartInfo
{
    UseShellExecute = true,
    FileName = fname,
    Verb = "Print",
    CreateNoWindow = true,
    Arguments = DefaultPrinterName(), 
    WindowStyle = ProcessWindowStyle.Hidden
};
Posted

1 solution

<pagesrange> - specifies the range of pages to be processed. For example:

1,3,10-20 // to process 1,3,10,11,12,..20 pages

50- // to process 50,51,... <lastpagenumber> pages

-50 // to process first fifty pages
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900