473,516 Members | 2,711 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Receipt Printer cannot print HTML / ASP file

1 New Member
Dear brothers and sisters,

Very grateful if you can assist me, as now i m stuck in a project, i develop an ASP based POS system, as i using asp to generate the receipt, but then once i tried to print the receipt, the receipt will show weird @@@@@@@
and squeeze all the forms together.

I tried Samsung Bixolon, Epson TM880 and Lukhan D30 dot matrix receipt printer, all of these printer cannot support to print html and asp format file, so is it anyway for me to create like VB tray to print direct to the printer? as i m not good in VB script, therefore really need your guys help

thanks

Hendy
May 17 '10 #1
1 3089
jhardman
3,406 Recognized Expert Specialist
ASP can produce nearly any output, although we typically produce HTML output, and plain text is extremely easy, we can even do binary output. I'd suggest outputting plain text just to see if it prints:
Expand|Select|Wrap|Line Numbers
  1. response.write "hello world" & vbNewLine
  2. response.write "line 2" & vbNewLine
let me know if this works.

Jared
May 19 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
7552
by: PW | last post by:
I have an electronic cash drawer as part of a point-of-sale installation. You're supposed to be able to automatically open the cash drawer with some printer commands (drawer is connected to the receipt printer) but I can't get it to open automatically. I want it to open when the customers receipt is printed. How do you send printer escape...
2
1648
by: Access Guy | last post by:
I have a procedure to automate .pdf reports. I set the default printer to the pdfwriter driver before running. When the procedure runs, some of the reports get an error: "Cannot print, the file is in use or locked". Any ideas? Win2k and Access v8.
2
3503
by: kids_pro | last post by:
Does any know how can I fit my report to a Receipt Printer (dot matrix)? Is there any special sequence code to control the line? Any namespace provide this functionality? Cheers, Kids
1
5132
by: David Templet | last post by:
I have a C# application that generates its reports in HTML. After it creates the report, it opens it in IE so it can be viewed or printed. I would like to add the ability to print the report directly from the application, but I haven't found an easy way to do this. I am probably making it overly complicated, but this is what I am doing right...
1
9489
by: hasanainf | last post by:
Hi all and thanking you all in advance for your help My client wants to use a receipt printer. Since I have never used one before I have some questions. 1. Unlike other printers which are set by default to print a whole A4 size page, I want the receipt printer to print an unlimited lenght of receipt, that is to say that if five items are...
14
2408
by: philbo30 | last post by:
Silly question, I know, but I have a code snippet that looks like this: printf("blah blah"); printf("more blah"); x = a + b - c; printf($%3.2f\n", x); y = d + e; printf($%3.2f\n, y);
0
1306
by: dutch | last post by:
Greetings. I'm attempting to print an existing html file to a network printer. I tried opening a socket connection using the printer ip and port. With this, I was able to print the file path/name on the printer, ala... my $socket = IO::Socket::INET->new(PeerAddr => $peerAddr, PeerPort...
7
6025
by: ARC | last post by:
Hello all, What's the proper paper size setting if you want to do a receipt printer report, that's a continuous form? I don't really see an option for a continuous paper size. Thanks! Andy
1
1855
by: =?Utf-8?B?S3VtYXIuQS5QLlA=?= | last post by:
We have a requirement in our project to print Html page from a vb.net windows service application. The application should not display any dialog box. The Printer details, which varies for different Print Jobs, needs to be programmatically set. We have found the following code on the net which can be used to print HTML page. Dim p As New...
4
2915
by: ems9tech | last post by:
I have code that works fine on my XP machine. It loads an HTML document into the VB 6 WebBrowser control and then uses the following command to print the document without any print dialog box: mfrmPrint.WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, PRINT_DONTBOTHERUSER_WAITFORCOMPLETION I have also just implemented a .NET...
0
7182
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7581
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7548
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5714
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5110
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4773
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3259
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1624
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
488
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.