开发者

XPS Document with Print Ticket not printing correctly

I am trying to print XPS files, created in .Net, to several different makes of printer.

I have written some code to create the XPS and print it via PrintDialog along with a document level print ticket and this works correctly. However the document I want to create needs to be laid out as follows:

  • Page 1 and 2 printed in duplex
  • Page 3 and 4 printed in simplex
  • The whole document needs stapling.

At the moment I can create an XPS file that contains all the pages. However I have to duplex all the pages (blank pages after 3 and 4) as the printer ignores the individual page level print tickets.

What I want to do is create 2 separate documents each with their own print tickets that specify duplexing and then combine these into another XPS document that开发者_C百科 contains a document level print ticket that staples the output.

Although I can create this document the printer ignores the document print tickets and just prints all the pages out.

The printers I am currently testing with are an HP CM4730 MFP and a Kyocera FS-2020D.

Does anyone have any ideas/code examples that will solve this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜