I am trying to print the landscape layout from VB.Net page using SumatraPDF, but page gets cut. If I open the SumatraPDF execuytable and print the same page from app, it works great. Here is the command I am using:
gcc:
test1_us: 69352
test2_us: 28171
test3_us: 36501
icpc:
test1_us: 93810
test2_us: 11350
test3_us: 51007
clang:
test1_us: 83138
test2_us: 26206
test3_us: 45224
It looks like the setting "fit" does not work from the command line. What other options can I try to print PDF document from server side without opening the system print dialog? OR how can I edit the command I use to make it work for the horizontal layout? Thank you
答案 0 :(得分:0)
看看this。在第128行,你有一个const,其中包含参数的所有命令行可能值。
static const char* zoomValues = "fit page\0fitpage\0fit-page\0fit width\0fitwidth\0fit-width\0fit " "content\0fitcontent\0fit-content\0";