Printing on OSX
Shari
gypsyware at earthlink.net
Thu Jun 5 15:09:02 EDT 2003
I can't remember if I tested the print command on OSX before. I know
it works on PPC and Windows. I could swear it worked on OSX as well
(I can't imagine NOT testing it), but for some reason, it fails.
And other things print in OSX, such as a TextEdit doc. So I know the
printer is functioning properly.
Why would the following fail? It "stops" the printer, and then the
printer won't print anything, from any program, until I "start" it
again.
on mouseUp
# put a bunch of data into the variable "spit"
put empty into cd fld 1
of cd "Strats" of stack "HSPrint" of stack "Blackjack Gold"
set the cursor to busy
lock messages
go invisible cd 2 of stack "HSPrint" of stack "Blackjack Gold" as topLevel
set the topLeft of stack "HSPrint" to the topLeft of stack "Blackjack Goldie"
set the decorations of stack "HSPrint" to "title,minimize,maximize,menu"
show stack "HSPrint"
unlock messages
put spit into cd fld 1
of cd "Strats" of stack "HSPrint" of stack "Blackjack Gold"
put the topLeft of stack "HSPrint" into startPt
put the bottomRight of stack "HSPrint" into endPt
set the printScale to .90
set the printMargins to "36,36,36,36"
go stack "HSPrint" # added after it didn't work, hoping to make it work
print cd 2 of stack "HSPrint" from startPt to endPt
end mouseUp
--
--Shareware Games for the Mac--
http://www.gypsyware.com
More information about the metacard
mailing list