Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (AndrewAMD, fairtrader, 3run), 599 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 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,209
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,209
İ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,209
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,209
İ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 | chip programmers | 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