【发布时间】:2018-08-31 13:52:24
【问题描述】:
我有一个文档,我要使用下面的 c# 代码发送打印
p.StartInfo = new ProcessStartInfo()
{
CreateNoWindow = true,
WindowStyle = ProcessWindowStyle.Hidden,
Verb = "print",
FileName = FileToPrintPath//put the correct path here
};
p.Start();
现在,我有一个条件,我想打印从页码 2 到 5 的突出部分,而不是打印整个文档。我该怎么做?
【问题讨论】: