473,651 Members | 2,987 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 1716

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

Similar topics

1
3961
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
1197
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
3019
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
2491
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
3318
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
2353
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
7836
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
13671
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
8361
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
8807
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8701
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...
1
8466
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6158
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
4144
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
2701
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
1
1912
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1588
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.