this is my problem
the pdf has A6 size and the printer config has A4
i was studyng the example project "Print PDF" but i can't PROGRAMMATICALLY configure the printer to match automatically the PDF SIZE
but i think i have a clue.. to print a PDF i use the following code:
if pdf.PrintPDFFileWithDialog(nil, "doc name here",0,nil,nil,nil) = true then msgbox "ok" else msgbox "print cancelled" end if
works great. but the PDF is A6 and i don't want to obligate the user to select A6 format manually... i want to set the page size automatically.
i think that after the above code i could use something like this
dim p as DynaPDFPrintParamsMBS p.PageSize
but i don't even have a clue of how to use it.
i know that instead nil.. i have to use "p" in the corresponding pdf.PrintPDFFileWithDialog parameter
how do i set pagesize using DynaPDFPrintParamsMBS??
i have read the documentation but i don't figure out how to do it