Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Send text to printer directly using ASP/VBScript

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,114
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Send text to printer directly using ASP/VBScript
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Send text to printer directly using ASP/VBScript - 6/6/2001 4:04:10 AM   
  qtmm

 

Posts: 1
Score: 0
Joined: 6/6/2001
From:
Status: offline
In visual basic , we can use printer.print to send text to printer directly, how can i make ASP/VBScript coding for the same function ? Please help, thank you very much.
 
 
Post #: 1
 
 Re: Send text to printer directly using ASP/VBScript - 6/6/2001 4:23:12 AM   
  mid

 

Posts: 16
Score: 0
Joined: 6/4/2001
From: USA
Status: offline
Hi,

This piece of code will do the task

<input type="button" value="print it" onClick="vbscript:window.print">

(in reply to qtmm)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Send text to printer directly using ASP/VBScript Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts