set printMargin command issue
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
set printMargin command issue
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
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
Rob Glassman
ArkStar
ArkStar
Re: set printMargin command issue
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
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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: set printMargin command issue
Thanks Mark,
I decreased the printPaperSize but still get the blank page....
Any other ideas?
Thanks again
Rob
I decreased the printPaperSize but still get the blank page....
Any other ideas?
Thanks again
Rob
Rob Glassman
ArkStar
ArkStar
Re: set printMargin command issue
Rob,
You can calculate the max total size yourself. 1 inch = 72 pixels.
Mark
You can calculate the max total size yourself. 1 inch = 72 pixels.
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: set printMargin command issue
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
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
Rob Glassman
ArkStar
ArkStar
Re: set printMargin command issue
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
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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: set printMargin command issue
That was it Mark!
Thanks for your help and quick replies!!!
Rob
Thanks for your help and quick replies!!!
Rob
Rob Glassman
ArkStar
ArkStar