jrachr wrote:Well finally got an ink cartridge Joe.
OK, but remember my earlier comment...you can test "printing" to a PDF file.
Your script ...
One thing that I want to make very clear...it is NOT
my script. All I did was test it when you posted it to show that it does, indeed, wrap to 300 pixels.
it only prints across the top of the page
Yes, the printed page looks like this:
- print at top.png (50.84 KiB) Viewed 739 times
But that's because of the image you're creating. If you want it elsewhere on the page, experiment with the width and height params in the
Gui,Add,Text line, as well as newline chars in the text itself. To make it easier to experiment, I suggest using a
Message variable, such as:
Code: Select all
Message:="`n`n`n`n`n`n`n`n`nDelivery Coming`nPlease Do not Lock Door"
I added that line and replaced the
Gui,Add,Text line with this:
Code: Select all
Gui Add,Text,w720 h1040 Center,%Message%
That results in this printed page:
- print in middle.png (47.14 KiB) Viewed 739 times
And, of course, you can experiment with different font sizes and styles. Regards, Joe