473,387 Members | 1,493 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,387 software developers and data experts.

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 1694

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

Similar topics

1
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...
0
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...
2
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...
1
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...
3
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...
2
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...
9
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...
0
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...
1
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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,...

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.