forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


print html pages from vds

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Knowledge Base
View previous topic :: View next topic  
Author Message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Wed Mar 19, 2003 6:41 am    Post subject: print html pages from vds Reply with quote

i came across this nifty piece of code that will enable you to directly print a htm or a html page from within vds...only problem is that you must have msie installed (not sure what version although i think that it is version 4+)

Code:
run @windir()\rundll32.exe mshtml.dll","PrintHTML @chr(34)%%file_to_print


Serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
LOBO
Valued Contributor
Valued Contributor


Joined: 14 Mar 2002
Posts: 241
Location: Wilmington, Delaware, USA

PostPosted: Wed Mar 19, 2003 12:33 pm    Post subject: Reply with quote

Thanks Serge this could come in handy down the road Very Happy

Regards,
Mark
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Mar 19, 2003 1:47 pm    Post subject: Reply with quote

Maybe this works too...

Code:
Shell print,%%file_to_print
Back to top
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Thu Mar 20, 2003 10:30 am    Post subject: Reply with quote

hi skit3000,

you are absolutely and positively correct...i had a nagging feeling that there was an easier way and for the life of me couldn't remember it Wink

Serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Knowledge Base All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group