home *** CD-ROM | disk | FTP | other *** search
- on HdlePrintTheStage
- global _PCdruckt
- doc = new(xtra("PrintOMatic"))
- if not objectp(doc) then
- exit
- end if
- setDocumentName(doc, "ShotOfTheStage")
- setProgressMsg(doc, EMPTY)
- hideMessages(doc, 0)
- setProgressLoc(doc, point(-100, -100))
- setMargins(doc, rect(24, 24, 24, 24))
- setLandscapeMode(doc, 1)
- setTextJust(doc, "centered")
- w = getPageWidth(doc) * 0.94999999999999996
- h = getPageHeight(doc) * 0.94999999999999996
- drawStagePicture(doc, rect(0, 0, w, h))
- append(doc, EMPTY)
- if the shiftDown then
- printPreview(doc)
- else
- if doJobSetup(doc) then
- _PCdruckt = 1
- print(doc)
- doc = 0
- else
- _PCdruckt = 0
- end if
- end if
- end
-