Page 1 of 1
set printMargin command issue
Posted: Mon Aug 16, 2010 4:55 am
by arkstar
I have added a "set printmargins to" command in my printing script. Now my first page is a blank page and then all is correct. Once I remove the printmargin statement, no more first page blank. I have played with the parameters of the statement but there is no effect.
Does anyone have an idea? Here is my code:
set the printPaperOrientation to "portrait"
set the printColors to true
set the printPaperSize to 612,792
set the printMargins to 36,0,18,18
set the printScale to .9
Thanks!
Rob
Re: set printMargin command issue
Posted: Mon Aug 16, 2010 10:55 am
by Mark
Hi Rob,
If you are printing on A4, then your paperSize
including the margins should be no more than 842 pixels high and 597 pixels wide. Your current paper size is 666 pixels wide. Such a number just can't be right
Best,
Mark
Re: set printMargin command issue
Posted: Mon Aug 16, 2010 11:09 am
by arkstar
Thanks Mark,
I decreased the printPaperSize but still get the blank page....
Any other ideas?
Thanks again
Rob
Re: set printMargin command issue
Posted: Mon Aug 16, 2010 11:09 am
by arkstar
FYI
I am using US letter size.
Rob
Re: set printMargin command issue
Posted: Mon Aug 16, 2010 11:17 am
by Mark
Rob,
You can calculate the max total size yourself. 1 inch = 72 pixels.
Mark
Re: set printMargin command issue
Posted: Mon Aug 16, 2010 11:54 am
by arkstar
Hi again Mark,
Actually, Everything prints out just great...except....I now get an extra page at the beginning that is blank. This did not happen until I added the printMargins command.
Rob
Re: set printMargin command issue
Posted: Mon Aug 16, 2010 12:02 pm
by Mark
Hi Rob,
I think it is because the page you are printing is larger than the physical size of the paper in your printer. If you think it is not, then you should post your complete printing script.
Best,
Mark
Re: set printMargin command issue
Posted: Mon Aug 16, 2010 12:28 pm
by arkstar
That was it Mark!
Thanks for your help and quick replies!!!
Rob