I have a problem printing a REPORT page using DIAdem script.
Using the command PICPRINTDLG("WinPrint") the print dialog is shown and after pushing the OK button the page is printed exactly as it is shown on the screen.
As I don't want to have to push the OK button every time I make a print I changed the command to PICPRINTNODLG("WinPrint") or PICPRINT("WinPrint"). Now the the print is much smaller ( approximately 83% of original layout).
The settings using both above mentioned commands are exactly the same. What can I do to get the right print without using the print dialog box every time?
I use these scriptlines:
Call PICLOAD("bijlage.tdr")
Call PICUPDATE()
PrintLeftMarg = 0.42
PrintTopMarg = 0.46
PrintWidth = 20
PrintOrient = "portrait'
Call PICPRINT("WinPrint")