Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,528 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: is it possible to print the actual screen into a page? [Re: Theil] #317214
03/30/10 00:18
03/30/10 00:18
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
It does not really matter where you call it. I am guessing you are missing some directx stuff that file_for_screen needs to work.(Or maybe it's an engine bug, some other thing)

try updating to latest directx to see if that works.

(does the small test script i posted gives the same error?)


3333333333
Re: is it possible to print the actual screen into a page? [Re: Quad] #317218
03/30/10 01:02
03/30/10 01:02
Joined: Sep 2009
Posts: 84
Theil Offline OP
Junior Member
Theil  Offline OP
Junior Member

Joined: Sep 2009
Posts: 84
Yeah, I tested the small snippet you posted and it's the same, I'm going to download the lastest directx runtime and I'll post if it works.

Re: is it possible to print the actual screen into a page? [Re: Theil] #317221
03/30/10 02:50
03/30/10 02:50
Joined: Sep 2009
Posts: 84
Theil Offline OP
Junior Member
Theil  Offline OP
Junior Member

Joined: Sep 2009
Posts: 84
It takes the screenshot now but it never opens the dialogbox for printing it =/

Re: is it possible to print the actual screen into a page? [Re: Theil] #317281
03/30/10 12:42
03/30/10 12:42
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
hmmm... the snippet i posted above works on all 3 computers here. I dont know if this is any related but you my try running your app as administrator in vista/win7.


3333333333
Re: is it possible to print the actual screen into a page? [Re: Quad] #317473
03/31/10 20:44
03/31/10 20:44
Joined: Sep 2009
Posts: 84
Theil Offline OP
Junior Member
Theil  Offline OP
Junior Member

Joined: Sep 2009
Posts: 84
there might be some problem linking the windows.h, I tested the program on my laptop and did work, thanks for everything.

Re: is it possible to print the actual screen into a page? [Re: Theil] #374717
06/21/11 08:10
06/21/11 08:10
Joined: Dec 2010
Posts: 224
NRW, Germany
NeoJones Offline
Member
NeoJones  Offline
Member

Joined: Dec 2010
Posts: 224
NRW, Germany
Originally Posted By: Theil
It takes the screenshot now but it never opens the dialogbox for printing it =/


thats my problem, too. i run my programm under winXP 32bit. can anyone help me??


Errors are the engine of progress.

Version: A8 Commercial
OS: Win 7 64bit
Models: Cinema 4D
Re: is it possible to print the actual screen into a page? [Re: NeoJones] #374761
06/21/11 13:44
06/21/11 13:44
Joined: Dec 2010
Posts: 224
NRW, Germany
NeoJones Offline
Member
NeoJones  Offline
Member

Joined: Dec 2010
Posts: 224
NRW, Germany
ok, now it works for me. i changed "print" in "printto" and add the name of the printer, looks like this:

ShellExecute(0,"printto","printfile0.jpg","PDF","",1);

My first printer is a XPS Printer and thats not work with jpg.

Last edited by Dragonfly; 06/21/11 13:48.

Errors are the engine of progress.

Version: A8 Commercial
OS: Win 7 64bit
Models: Cinema 4D
Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1