I have a situation where we are programatically sending a generated PDF file to a print queue, the issue is; the end result is not selecting the right output format (landscape or portrait).
Basically we have a Service running on that machine that generates the PDF report, then sends it to the print queue on that PC.
If I open the PDF file on that machine, I can File > Print and the output will come out "portrait" which is how it should, however if the PDF is automatically sent to the printer after it is generated, it ignores the PDF layout (landscape) and comes out portrait.
If I manually print the file using Acrobat from the machine it was generated at, it detects the page size automatically and prints landscape, however when passed to the printer through the application service it dees not.
Is this something I can control from the OS or would this need to be adjusted programatically when the process is sending the PDF to be printed?