I created a Microsoft Word document where I set Layout Size to Legal. When I print this document on an HP M402 dw printer with two trays, and the default tray has Letter size paper loaded, the printer selects Legal size paper.
Then I saved this document as a PDF using Words Save As menu. When I open the Print menu in Adobe Reader, it shows the paper size as Letter. When I open the document in Foxit Reader, it shows document size as Legal and Paper as Letter size. When I print this document to the HP printer, it gets printed on Letter size paper.
{"print":{"page_orientation":{"type":"AUTO"},"margins":{"right_microns":12700,"top_microns":12700,"bottom_microns":12700,"left_microns":12700},"collate":{"collate":true},"pages_per_side":{"layout":"LEFT_TO_RIGHT_TOP_TO_BOTTOM","pages_per_side":1},"copies":{"copies":1},"page_range":{},"media_size":{"height_microns":355600,"width_microns":215900},"color":{"vendor_id":"Grey_K","type":"STANDARD_MONOCHROME"},"reverse_order":{"reverse_order":false},"duplex":{"type":"LONG_EDGE"},"fit_to_page":{"type":"FIT_TO_PAGE"},"dpi":{"horizontal_dpi":300,"vertical_dpi":300}},"version":"1.0"}
I uploaded the PDF created from Word.
The PDF was printed on Letter size paper.
My question is whether there is a way to print the PDF on legal size paper using the Google Cloud Print API? Is the problem in the PDF file?