Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 3rd, 2003, 03:19 PM
Registered User
Join Date: Jul 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Direct Printing from ASP

I am trying to send line by line text to an old dot matrix printer from a web page. Looking around it seems this can be done using VB quite easily by accessing the Win32 API. However, accessing the Win32 API in ASP is more difficult. I haven't figured out how to create the necessary type libraries in ASP to gain access to the inherent functions in the winspool.drv file. I thought of using a meta tag to include a reference to the winspool.drv, but am unsure on how to reference it or the library after I do get the reference. If anyone has an example of ASP code referencing the Win32 API files and how to implement them, I'd be greatly appreciative.
Reply With Quote
  #2 (permalink)  
Old April 19th, 2004, 11:50 AM
Registered User
Join Date: Apr 2004
Location: lima, lima, Peru.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

hi i have the same problem, but i cant send the data to the printer using dll component and calling from asp ,but this never print after that i send other page to print, Firts print the data from the asp code and then print the second data ... i dont undertant why... you have any solution?

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help for printing in ASP.NET agro_menon .NET Framework 1.x 3 August 13th, 2007 05:15 AM
printing from asp.net user1 Crystal Reports 0 January 3rd, 2005 02:50 AM
Customize Printing in ASP nagesh07 Classic ASP Components 2 December 10th, 2003 03:17 AM

All times are GMT -4. The time now is 08:51 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.