Cash Bill Print For Sales Receipt?
Jan 14, 2010I want to try to make a program for the Bill Print.
View 1 RepliesI want to try to make a program for the Bill Print.
View 1 RepliesProb 1: While the printing is going on, the whole system hangs. I would like the printing to go on while in spooling and not monitor its status.
Prob 2: To solve Prob 1, I removed the try..catch block and all the error messages BUT.. now my cash drawer does not OPEN.
Below is the whole set of code I used for testing. It is really very urgent request. (This code makes the whole system hang till printing is complete)[code]...
I got a big problem in using crystal report in vb.net 2005. im creating a sales and inventory system for softdrinks dealer. so i need to create a receipt for every cash or credit transaction of a client. but i dont have any idea how to use crystal report. how can i make a receipt on crystal report in vb.net 2005.
View 4 RepliesI'm working on a sales system. I have a form which consist of all the following information (item code, item name, item price, quantity of item) which is display using a data grid. Data input by user using text box and all this information will be stored in a database (sales database) I'm using ms access 2007. the grand total will be displayed in a text box. And amount paid will be input in a text box too, my major problem now is how to I create a receipt that will have all this information of the purchase. I have a receipt button. How to get the reciept done.
View 3 Repliesi want to print bill from the billing system using VS 2008.any suggestion for the coding?
View 5 Repliesi need some suggestion regarding which approach to use to print on already printed bill.what i want to do is, i have already printed bill, which contain some design,name , shpper details and other things.
there is some predefined section on that bill where i need to print amount, using my vb.net application.
so can you let me know which method i should use?
i am working on small RMS and got problem to print receipt using pos printer. the expected out put is like that.[code..]
View 1 Replieshow to print a receipt? I am creating a restaurant POS and everything is working fine but I don't know how to print the receipt after a transaction is made. What should I use to do this and can anybody please give me an example on how to do this. I am using VB.net 2008 and sql server express 2008. I dont have a POS printer so I plan on using an ordinary printer.
View 10 RepliesIs it possible that I could use the VB.net print dialogue tool to print a receipt from a payment? Like If I were able use a ready to print document which I will only be needing to change the amount, cash, change and name before printing. :D I dont want to use crystal reports because I know its really complicated.I am just a vb.net beginner here, learned everything I know in just 3 days. xD
View 3 RepliesI have a problem regarding bill printing on roll paper. My printer is Epson LX-300+II, my roll paper is about 3" width, and is used for printing bill/invoices for the customers. The number of items varies.Whenever I finished printing the bill, the printer throws out/ejects the paper, as long as about a letter (11") size. Whatever the ways to achieve this, I just want the printer stop printing/ejecting after the last line, then i can tear off the bill for my customers without wasting paper.
I'm really wondering someone out there could help me.. I have worked hard for this, and searched in internet, but it seems that there's no applicable and clear solution. If the solution is in VB, please give me the code to implement this, or give me a very simple example application.I cannot make a custom size in my printing preference.
Using VB.NET 2005 Express edition, I have a task to create a simple receipt using a Epson TM T88IV Thermal printer. I don't have any idea where to start. Can you show some good example or links that I can study to create an application?
View 1 RepliesI am trying to get a function so when i press the calculate button it somes up with sales totals and sales commissions. this is just a simple project i just cant find the answer.
View 5 RepliesI got a problem I want to print a report which is receipt having size 3 x 4 cm. i am unable to resize crystal report. i am using crystal report coming with visual studio.net 2008.
View 1 RepliesI need my program to output and input a customer ID and sales amount multiple times. I need it to display both outputs, customer ID and sales amount, on mulltiple lines. It also will need to accumulate the sales amount and then display the total sales. it should look something like that.[code...]
I think that I was supposed to use a messagebox but wrote the program a different way. the form.vb was already locked, but I added two text boxs. Not sure if I did this right because I need to enter multiple sales for one customer ID.[code...]
Basically, the code checks if the amount being entered is check. If it is check, insert the check value into chckval. If it is cash insert the cash value into cashval. So far, it is half working. It inserts the check into the check fieldname and inserts 0 into cash fieldname. What is not working is inserting cash into cash fieldname if the money is cash. It inserts the cash into cash fieldname as it should but it also inserts the same amount into check fieldname. This is not good. If it is cash and it is inserted into cash fieldname, I want check value to be 0.
Here is the latest code.
For x = 1 To 5 Step 1
dedval = Gridview1.FindControl("ded" & CStr(x))
chckval = Gridview1.FindControl("chck" & CStr(x))
chcknumval = Gridview1.FindControl("chcknum" & CStr(x))
checkboxval = Gridview1.FindControl("chckBox" & CStr(x))
[Code] .....
I think there is some issue with the
IF chckval.Text <> "" And Not checkboxval.Checked Then
statement
I still have troubles understanding what the deal is with the whole String.Format("{0:C}" thing. How would I implement it into this code and how exactly does it work?
Public Class Form1
Private Sub computedeposit(byval dblrate As Decimal, ByVal dblfutureval As double, ByVal intyears As integer, byref dbldeposit as double)
dblrate = dblrate / 100
dbldeposit = dblfutureval / ((1 + dblrate) ^ intyears)
[code].....
I have a USB cash drawer that acts as a com port (lets assume com2)
any ideas on how I can open it? there is not really any documentation with it.
I have one medical prescription form in my table....which will generate bill...and a receipt number will be generated in crystal reports....If suppose a bill is generated for a particular transaction and after suppose few days i need a duplicate bill....how can it be created...means how shud I store the values for all bill generated in the past...
View 3 RepliesI can't find the right way to design areceipt using vb.net.
View 1 RepliesI am still working on a POS application in VB.Net 2003. What I need to do is check the state of the cash drawer. I want to make sure the drawer is closed before a cashier is allowed to move on to the next sale. The cash drawer I am using is a MMF ECD200 (not sure if this will make a difference). Here is the code I am using to open the drawer:
[Code]...
My assignment this week is to create a simple cash register. The kicker here is that I have to have an input box pop up to accept the data. I know I need to use a Do Loop here, but I' not sure what the proper condition should be. Hitting cancel on the input box or inputting nothing ought to terminate the loop.
Private Sub btnCheckout_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCheckout.Click
Static decPrice As Decimal
Static intCount As Integer
Static decSub As Decimal
[code]....
I am working on this program that is suppose to display the patient's bill after they have selected a service at a dental lab. the problem I am having is that if the patient name is empty it gives me a message but it still shows the bill. Also I am having a problem with the code that will calculate the bill if a a patient choose more than one service. Here is my code below
P
ublic Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
[Code].....
This is my project for class and this is what i have so far but my teacher gave me no credit. What am i doing wrong? i tried re arranging but had no sucess..A fast-food vendor sells pizza slices at $1.25 each, fries at $1.00, and soft drinks at $0.75. Write a program to computer a customer's bill. The program should use 4 subprocedures that do the following:
1. read in the amount of each item ordered
2. calculate the total cost
3. display an itemized bill
4. read in the user's full name from a textbox, and display a sentence, addressing the user by first name only and in upper case characters, informing the user of their bill. [code]
On Stack Overflow, I found the question Generate a receipt number in this range.In answers (from Adam Maras) I find this code (very interesting for me):
Private Const FirstReceiptNumber As String = "GA00000"
Public Function GenerateReceiptNumber(ByVal lastNumber As String) As String
If lastNumber.Length <> 7 Then
[code]....
But show me error in GenerateReceiptNumber().ow do I use that code to give me a receipt number in TextBox1 when I open this form?The receipt number must be +1 next time with Form_Load.
I am programmatically "reading" e-mails using WebDav. I am also deleting these e-mails when I've finished having my way with them, however, this is causing an interesting problem. Each time I delete an e-mail the original sender is getting a not read response. I have logged into OWA and checked the option Do not automatically send a response but this doesn't seem to help.Is there ANY way to remove the request for read receipt from the e-mail before deleting it?
View 2 RepliesWhat I am currently trying to do, is when the user reaches the end of the program, it creates a new form and has everything that had their box checked off listed.[code]...
View 8 Repliesim having a hard time on using this crystal report, i only need to view SPECIFIC DATA ni the REPORT VIEWER, not ALL the DATA in THE DATABASE
or is there any other way to PRINT?
I'm trying to convert an ancient cash register program to .net. Conquered everything else, but I can't pop open the cash register. Its connected to COM1, you are supposed to send a "trigger" text down COM1 that will cause the register to open.
Here is the .net code.
MsgBox("Opening Drawer")
Dim port As System.IO.Ports.SerialPort
port = New System.IO.Ports.SerialPort("Com1")
port.PortName = "COM1"
port.BaudRate = 9600
[Code] .....
I get msgboxes "Signal Sent", "Done Pop Drawer". It just won't pop. It's an MS-Cash Drawer (EP125KC). Definitely connected to COM1, definitely has power. Chr(65) is the old code used to pop drawer and it works:
Open drawerComPort For Output Access Write As #1
Print #1, Chr$(65); "A";
Close #1
The above code worked successfully. The root problem was caused by a reversed power cord (negative was on the wrong side).
I need to make a cash register program that uses an inputbox.
The outcome should be like this example[code]...
It should open a input box asking for the amount of each purchase and loop until all purchases have been entered
bcoz i have an assignment regarding in POS or point of sale....
View 9 Replies