473,597 Members | 2,731 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cross: Printing with STAR receipt printer

I am printing tickets with star tsp700 (743c) on the LPT1 with VB.NET
program (I olso use C#). I use OCX control of STAR company. If I turn off
printer or unplug cable, program for printing is blocked and it is ok (he
will not mark this ticket as printed because program is on hold). After
turning on the printer, program continue printing and at the end, he write
to DB that transaction.

Problem is when printer is on, but paper is out. Than printer gets data to
buffer, buffer is small and data is gone (First In First Out). When printer
is on and paper is out, my program recognize it like everithing is ok.
Program is not blocked, data is "sent to printer", transaction is written to
DB... How can I recognize paper out with Star POS printer component (OCX). I
am trying to use NearEnd and similar properties but I can not get info about
paper out. Does somebody know how to fix this problem? Thanks!
Jun 27 '08 #1
0 1710

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

Similar topics

1
3960
by: PW | last post by:
I have to setup a point-of-sale system for a friend. He has a PC, barcode scanner, receipt printer and cashdrawer. The receipt printer connects to the serial port. The cashdrawer connects to the printer. The barcode scanner has a keyboard wedge. Do I need to setup the receipt printer as a windows printer ? OR can I send output directly to the serial port using ASP ?
0
1196
by: Samuel Lee | last post by:
Could anyone convert the following vb 6.0 codes into vb.net version? '************************************************************************ '** Button to print a sales receipt - spool print data to receipt printer '************************************************************************ Private Sub cmdPrintReceipt_Click() Printer.CurrentX = 0: Printer.CurrentY = 0 Printer.FontName = "Arial"
2
3016
by: Blue Bell Trading - Customer Services | last post by:
Hi, Has anybody here tried to hook up a serial printer (receipt printer like those used in shops) to access? can ti be done though windows using reports in access to generate a receipt then print? What I was wondering is how long it would take for the data to be sent to the serial printer? -- Kind Regards, Customer Services
1
2487
by: jimmy | last post by:
Hi, I'm supposed to come up with receipt printing program similar tothose receipt printing you typically see in a supermarket. Whena new item is added, one more line is added to the printoutuntil the transaction is complete. Apparently, it is a rollingpaper too (the page height can't be determined). Does anyonehave a similiar solution or direct me some resources that I canstudy, please!! Thanks! Jimmy User submitted from AEWNET...
3
3317
by: Les | last post by:
I have made an app with vb.net 2002 and compiled it in the XP environment. It works great in this environment but when I install it to a computer running win98, I cannot communicate with the printer. I know the printer is communicating with the OS because I can print text with notepad. Does this application need to be compiled under the win98 evironment? Or is there a fix for this type of problem? Any suggestions would be appreciated.
2
2345
by: Ravi | last post by:
Hi People, I am facing an issue with printing where I have to print receipts of a custom size. Each receipt is about 8 inch by 4inch. I am using window.print(). When a receipt is printed another 3 receipts are flushed out of the printer. I want only the printed receipt out of the printer. Am using a dot-matrix printer and the receipts are in a continuation (i.e around 1000 receipts attached to one another). I want to print only one...
9
7831
by: Gurbinder Kaur | last post by:
Hi, i have made a project for printing fee receipt. Using Windows-XP, VBasic 6.0 & Ms-Access-97. i have designed a form for prinring receipts. m paper-size is 5x10. Two copies of bills in this size. one for student and other for fee clerk. while printing on dot-matrix, form get printed, but size is A4. My problem is * how to change size to 5x10 (exactly half of printed paper width-wise) * after printing on this size, stop the printer and...
0
1948
by: Tony | last post by:
I am printing tickets with star tsp700 (743c) on the LPT1 with VB.NET program (I olso use C#). I use OCX control of STAR company. If I turn off printer or unplug cable, program for printing is blocked and it is ok (he will not mark this ticket as printed because program is on hold). After turning on the printer, program continue printing and at the end, he write to DB that transaction. Problem is when printer is on, but paper is out....
1
13651
by: Glenn | last post by:
I am writing a program for field work that will use a receipt printer. I need to be able to adjust the page settings prior to printing depending on how much needs to be printed. I have been able to print to this printer but cannot figure out how to overwrite the page settings. Below is the code so far: Private Sub m_PrintDocument_PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles...
0
7977
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7894
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8381
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8261
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5847
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5437
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3893
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2409
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
1245
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.