T
tc
Does GhostScript provide any library so that we can reference it in our C#
project to programmatically handle printing of ps / pdf files?
I have tried to use the gs command (call by process) in C# application to
handle printing.
gswin32 -dPrinted -dBATCH -dNOPAUSE -q -sDEVICE=ljet4 -dFirstPage=2 -dLastPa
ge=2 -dORIENT1=false -sOutputFile="YourPrinterName" FileName
However, I can't control the paper orientation of the printout (I have found
in some web site that said that dORIENT1 is the parameter to control paper
orientation, but no matter what value I have set, the printout is portrait.
What I need to do is rather simple, to print a pdf file supporting 2
printing features
1. print a range of pages of the pdf file
2. control paper orientation of printout
but yet I can found any solutions.....( I have also tried to call
AcroRd32.exe....but it can handle case 1 of my requirement....)
Thanks
project to programmatically handle printing of ps / pdf files?
I have tried to use the gs command (call by process) in C# application to
handle printing.
gswin32 -dPrinted -dBATCH -dNOPAUSE -q -sDEVICE=ljet4 -dFirstPage=2 -dLastPa
ge=2 -dORIENT1=false -sOutputFile="YourPrinterName" FileName
However, I can't control the paper orientation of the printout (I have found
in some web site that said that dORIENT1 is the parameter to control paper
orientation, but no matter what value I have set, the printout is portrait.
What I need to do is rather simple, to print a pdf file supporting 2
printing features
1. print a range of pages of the pdf file
2. control paper orientation of printout
but yet I can found any solutions.....( I have also tried to call
AcroRd32.exe....but it can handle case 1 of my requirement....)
Thanks