473,412 Members | 1,973 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

Printing in Dot-matrix printer

Hi,

I am working on a Web based Intranet application and one of the requirements
of the project is to print to a dot matrix printer.

The users access the application through a web browser (IE) and submit data
forms of various types like Sales Invoices etc. Once they create a document
like a Sales Invoice, they need to print the document in a dot-matrix
printer connected locally.

I am presently writing ASP code that generates a dynamic text file based on
the layout that is to be printed and send the text file to the client
machine where an ActiveX component then sends the text file to the printer.

Though this process works, I am not sure if this is an effecient method. The
problems as I see it:

1. The layout in which the document is printed is hard coded in the
application and to change the printing layout, changes to the ASP code is
necessary.
2. I need an ActiveX component in the client machine and that means, the
client cannot use any browser or OS as he/she may wish.
3. It is taking a lot of coding effort to generate such layouts and dynamic
text files and there are numerous documents and reports to be printed.

Can anyone offer me a better solution to this problem. Any help will be
highly appreciated.

Thanks in advance
Aditya
Jul 19 '05 #1
1 2917
Aditya wrote on 26 jan 2004 in microsoft.public.inetserver.asp.general:
Can anyone offer me a better solution to this problem. Any help will be
highly appreciated.

Just make a textfile and have the browser print it via user print command.
You can changer the layout by having the user specify the format required.

Or

Use an .hta file downloaded to the user (intranet !) to do the printing.

Or

etc ...

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
by: Markus Ernst | last post by:
Hi I have a title with a title gif: <h1><img src="mytitle.gif" alt="This is my title"></h1> So this is text-based browser and search-engine friendly and can be easily formatted with a style...
1
by: Dave Quigley[work] | last post by:
Im working on a printing module for a program that my company is writing and I am wondering if im working with printing the right way. From what I understand with the PrintDocument you get a...
3
by: Chrisitiaan | last post by:
Hi, I want to develop a 'truly' object oriented application, that is, my business logic objects handle the business logic (of course) and the persistence to a MS SQL server database. The user...
5
by: John Bowman | last post by:
Hi, I've been reading through the threads on using the WebBrowser control in C# app's and how to print it's contents. I've got that much working. However, the big problem is I can't figure out...
1
by: Dan Bass | last post by:
I've got a custom control that makes use of DrawString and DrawBezier, drawn from the graphics object passed by in the PaintEventArgs for the Paint event. I've not printed anything via c#...
2
by: Steffen Loringer | last post by:
Hi group, I like to print my ASP.NET page with the internet explorer. I added a panel (with a black border and blue as background) and a button to my page. If I press print in the Internet...
1
by: Nick | last post by:
Hi, I'm converting an existing VB/Access app into an ASP.Net Intranet app. Most of the conversion is pretty straight forward - except the printing! The old app prints mailing labels on Avery...
1
by: Uncle_Albert | last post by:
Hi all! Printing in VB6 used to be a doddle, however, as with many other things, this task has been made much harder in VB.Net! Can anyone point me in the direction of sample code, tutorials,...
3
by: Jay | last post by:
Hi, I have this problem with DataGrid printing. I have a page which contains only DataGrid. When i try to print the page, only 1st page contains the verticle and horizontal lines of the...
10
by: sophie_newbie | last post by:
Hi, I'm trying to write a piece of code that spawns a thread and prints dots every half second until the thread spawned is finished. Code is something like this: import threading class...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.