|
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
Senior Expert
|
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: Theil]
#317281
03/30/10 12:42
03/30/10 12:42
|
Joined: Oct 2007
Posts: 5,211 İstanbul, Turkey
Quad
Senior Expert
|
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: Theil]
#374717
06/21/11 08:10
06/21/11 08:10
|
Joined: Dec 2010
Posts: 224 NRW, Germany
NeoJones
Member
|
Member
Joined: Dec 2010
Posts: 224
NRW, Germany
|
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
Member
|
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
|
|
|
|