Adjusting printers pagesize

Hy there,

when “scripting” the print command and adjusting the pagesize thereby the printer actually does not adjust the printer size afterwards…

Here are the steps I do as follows (doesn’t matter if you do it by hand or by script, it does not work in both cases):

Command -_print

After setting width and height and then printing it will always use tha pagesize used the last time printing which is kind of annoying… It would not matter if print by hand because you can simply use the standard print window.
But when trying to automate this process it would be nice if this would acutally work. Has anybody an idea how to do this?

Yours

Dominik