check printer out of paper
Is there a way I can check in VFP whether the printer is out of paper ?
It's going about a Epson ticket printer and when a customer's magnetic card
is approved, he gets a ticket to enter. But we want to built in a check that
signals us when the printer is out of paper.
Thanks.
[303 byte] By [
Jan Jacobs] at [2007-11-10 12:50:48]

# 1 Re: check printer out of paper
Jan,
Like all Windows programs - not directly. While you can make explicit =
Win-32 API calls to check a printer's status, current OS's (especially =
Win NT, 2000, XP) don't allow applications to directly access the =
hardware. I've seen code posted to make these kind of checks, but I =
can't seem to find any in my "answers" folder. Maybe someone else can =
provide the code. Note: Not all printers, printer ports, cables and/or =
printer drivers are capable of reporting ALL status information.
Rick
"Jan Jacobs" <jan_jacobs@skynet.be> wrote in message =
news:3f530246@tnews.web.dev-archive.com...
>=20
> Is there a way I can check in VFP whether the printer is out of paper =
?
> It's going about a Epson ticket printer and when a customer's magnetic =
card
> is approved, he gets a ticket to enter. But we want to built in a =
check that
> signals us when the printer is out of paper.
> Thanks.