Check status on a receipt printer

  • Thread starter Thread starter Kuba
  • Start date Start date
K

Kuba

Hello,

I'm developing a cash register software application that uses a receipt
printer (connected to a serial or parallel port, or remotely over the
LAN). This printer operates in an epson escape codes emulation mode. I
can print to the printer without any problems, but I don't know how to
check if the print job was successful. Is there a way to do that? The
print job can fail for many reasons (printer is off, out of paper,
paper is stuck, power disconnected, ...), and I can check a few of
these using the proper escape codes, but I was wondering if there is a
universal way to check if a print job was successful. Is that possible?

Thanks a lot.

Kuba
 
Kuba said:
Hello,

I'm developing a cash register software application that uses a receipt
printer (connected to a serial or parallel port, or remotely over the
LAN). This printer operates in an epson escape codes emulation mode. I
can print to the printer without any problems, but I don't know how to
check if the print job was successful. Is there a way to do that? The
print job can fail for many reasons (printer is off, out of paper,
paper is stuck, power disconnected, ...), and I can check a few of
these using the proper escape codes, but I was wondering if there is a
universal way to check if a print job was successful. Is that possible?

Thanks a lot.

Kuba

Sure. A human is going to be wanting that receipt so make it easy for
the human who prints the receipt to tell the program something is wrong
and to do a reprint. MUST be easy to do cause the operator may not be
too sharp. BTW this also allows reprinting of the receipt if the
customer just wants another copy.

Lou
 
The problem is that sometimes the printer is connected over the LAN
(perhaps in another room), and I can't force the user to go check if
the receipt was printer successfully. I need to have a way, so the
program can tell if the print job was completed (without user's check).
 
Kuba said:
The problem is that sometimes the printer is connected over the LAN
(perhaps in another room), and I can't force the user to go check if
the receipt was printer successfully. I need to have a way, so the
program can tell if the print job was completed (without user's check).

Perhaps a program can tell you that the information was sent to the printer,
but that does not mean it actually worked the way it should. Paper jam can
go on for a long time with nothing coming out properly if you never look.
 
Kuba said:
The problem is that sometimes the printer is connected over the LAN
(perhaps in another room), and I can't force the user to go check if
the receipt was printer successfully. I need to have a way, so the
program can tell if the print job was completed (without user's check).

Hmm You DO have a problem:-((

Lou
 
Back
Top