This forum is meant for posting anything related to Adventure Maker that doesn't fit in the other forums.Please post technical questions in the Technical Support Forum!
Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
by juhuwoorps » Mon Sep 26, 2011 5:06 pm
Does someone know if there is a chance to print a picture or text during playing an AM game?
-
juhuwoorps
- Code Master
-
- Posts: 622
- Joined: Tue Jul 08, 2008 3:13 pm
by reneuend » Mon Sep 26, 2011 5:31 pm
Do you mean printing what is shown on the screen? I think so...I believe I tried this a few years ago.
If you want to print something that is NOT on the screen, then you'll have to build a postscript file during runtime and then send it to the printer, which is also possible....its just that it has been a long time since I've written any postscript.
---
-
reneuend
- Administrator
-
- Posts: 2762
- Joined: Sat Nov 22, 2008 8:37 pm
- Location: Midwest Cornfield, USA
-
by Candle » Wed Sep 28, 2011 12:10 am
I wrote a program that did it when you hit some keys but not sure where it is right now with all the hard drive crashes I have had. lol
I'll see if I can find a copy.
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
-
Candle
- Administrator
-
- Posts: 3077
- Joined: Sat Feb 07, 2004 2:21 am
- Location: Rudy's Bar
by reneuend » Wed Sep 28, 2011 4:36 am
Worse case...I'd be willing to try to build this when I have some free time....probably this coming weekend.
---
-
reneuend
- Administrator
-
- Posts: 2762
- Joined: Sat Nov 22, 2008 8:37 pm
- Location: Midwest Cornfield, USA
-
by reneuend » Fri Sep 30, 2011 5:33 am
There is the AM functions online manual that shows how to do it. I tested this and it works in XP and in Win7. This prints the current frame.
- Code: Select all
LoadControl PictureBoxObject(1)
PictureBoxObject(1).move 0,0,GetProjectWidth*15,GetProjectHeight*15
CaptureFrame(PictureBoxObject(1))
set PictureBoxObject(1).picture=PictureBoxObject(1).image
PrinterObject.paintpicture PictureBoxObject(1).picture,1000,1000
PrinterObject.enddoc
---
-
reneuend
- Administrator
-
- Posts: 2762
- Joined: Sat Nov 22, 2008 8:37 pm
- Location: Midwest Cornfield, USA
-
Return to Adventure Maker General Discussion
Who is online
Users browsing this forum: No registered users and 0 guests