set the printColors to false
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
set the printColors to false
This little issue has been vexing me for some time.
I have a stack consisting of one large card, intended to print onto an 8.5 X 11 inch form. When it's ready to print, it looks fine on the screeen.
If I print it from the print command in the file menu, it prints okay, except it doesn't print in the right places, because I haven't set the margins and the print rect.
Normally, I print with the following simple scrpt:
open printing with dialog
set the printColors to false
set printMargins to 0,0,0,0
print card from 21,21 to 654,754
close printing
The first time I print the card with this script, the area defined by the print rect gets a uniform light-gray mist printed over it. If I don't change anything, and run the same script again, it works fine until I quit RR and start again. Then the problem occurs again, once.
I've made sure all the colors on the card, stack, and all the fields are set to white.
I tried running the script from the msg box while watching the message watcher. No handler appears to be contributing to this issue.
"set the printcolors to false" appears to be the offending line. As far as I can tell, the issue goes away if I remove it. I could get along without it, but it has some convenient features.
Maybe there's something I don't know about "set the printColors to false," or maybe there's a tiny little bug at work here.
Any thoughts? Thanks in advance.
Tim
I have a stack consisting of one large card, intended to print onto an 8.5 X 11 inch form. When it's ready to print, it looks fine on the screeen.
If I print it from the print command in the file menu, it prints okay, except it doesn't print in the right places, because I haven't set the margins and the print rect.
Normally, I print with the following simple scrpt:
open printing with dialog
set the printColors to false
set printMargins to 0,0,0,0
print card from 21,21 to 654,754
close printing
The first time I print the card with this script, the area defined by the print rect gets a uniform light-gray mist printed over it. If I don't change anything, and run the same script again, it works fine until I quit RR and start again. Then the problem occurs again, once.
I've made sure all the colors on the card, stack, and all the fields are set to white.
I tried running the script from the msg box while watching the message watcher. No handler appears to be contributing to this issue.
"set the printcolors to false" appears to be the offending line. As far as I can tell, the issue goes away if I remove it. I could get along without it, but it has some convenient features.
Maybe there's something I don't know about "set the printColors to false," or maybe there's a tiny little bug at work here.
Any thoughts? Thanks in advance.
Tim
formatForPrinting
Do you have the stack's formatForPrinting set to true? If not, that might make a difference. I now it dramatically changes how fonts print.
Peter Evensen
[url]http://www.PetersRoadtoHealth.com[/url]
[url]http://www.PetersRoadtoHealth.com[/url]
Hi Peter,
No, it's set to its default value, which is false. This is on an OS X machine, anyway. I think that property is ignored in OS X.
Any other ideas?
I want to submit a responsible bug report, if that's what this is. But I don't want to submit a fase bug report, either.
I tried replicating this issue on yet another stack. RR quit spontaneously four times in a row. I think I can still replicate that, but only on that stack. RR NEVER quits on me! (Well, hardly ever...)
Tim
No, it's set to its default value, which is false. This is on an OS X machine, anyway. I think that property is ignored in OS X.
Any other ideas?
I want to submit a responsible bug report, if that's what this is. But I don't want to submit a fase bug report, either.
I tried replicating this issue on yet another stack. RR quit spontaneously four times in a row. I think I can still replicate that, but only on that stack. RR NEVER quits on me! (Well, hardly ever...)
Tim
Re: set the printColors to false
Hi Tim ~
Try changing the order of your "open print with dialog" call. Set up all the formatting prior to calling any print routine that interacts with the print driver.
This worked for me using OS X 10.3 & 10.4 with HP Photosmart 7150 and Rev Studio 2.7:
on myPrintRoutine
set the backgroundColor of this card to white
set the printColors to false
set printMargins to 0,0,0,0
open printing with dialog
if the result is "Cancel" then exit myPrintRoutine
print card from 21,21 to 654,754
close printing
end myPrintRoutine
Try changing the order of your "open print with dialog" call. Set up all the formatting prior to calling any print routine that interacts with the print driver.
This worked for me using OS X 10.3 & 10.4 with HP Photosmart 7150 and Rev Studio 2.7:
on myPrintRoutine
set the backgroundColor of this card to white
set the printColors to false
set printMargins to 0,0,0,0
open printing with dialog
if the result is "Cancel" then exit myPrintRoutine
print card from 21,21 to 654,754
close printing
end myPrintRoutine