Hi josip,
I'm having the same problem, I have all the parameters and I am capable of printing by bash.
Am I missing anything or is this a bug?
My switches:
thanks in advance
I'm having the same problem, I have all the parameters and I am capable of printing by bash.
Am I missing anything or is this a bug?
My switches:
string printerName = "MyPrinter";
string inputFile = @"C:\my.pdf";
List<string> switches = new List<string> { "-empty",
"-sDEVICE=mswinpr2",
"-dBATCH",
"-dNOPAUSE",
"-dNOPROMPT",
"-dNoCancel",
@"-sOutputFile=""%printer%" + printerName+@"""",
"-q",
"-f", inputFile };
wich is the same i use on bashgswin32c.exe -dBATCH -dNOPAUSE -dNOPROMPT -dNoCancel -sDEVICE=mswinpr2 -sOutputFile="%printer%MyPrinter" -q -f "C:\my.pdf"
If you need more info please ask.thanks in advance