Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing the time that the job is being printed - How?
Message
From
01/02/2006 07:44:06
Arlei Silva
Chevron Oronite Brasil Ltda.
Capuava, Brazil
 
 
To
01/02/2006 07:22:57
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01092254
Message ID:
01092264
Views:
19
>Unless the printers have a built in real time clock which you can read programmatically, I only see one solution, which is the
>one I use myself. In stead of printing to a server queue, I have an old computer which contains a VFP application which
>monitors a Printjob.DBF constantly. When a new record is added to this prinjtob table, the program reads the new records which
>contains information about what to print. Then the program writes the label directly to the local LPT1, and marks the record as
>printed and when it was printed. This way, the printed time is the real time minus a few seconds which the printer needs to
>process and print the label. If really important, you can calculate this delay, and add it to the printed time.


Hi Tore,

It is an interesting workaround, but I can not apply your solution. The printers I use (Zebra / Datamax) has a pause button. As soon as the first label is printed, the printer pauses. The user then presses the pause button and the next label is then printed, and the printer pauses again and so on... Using your solution, the time I will have will be the time that the VFP application reads the DBF and send the job to the printer, but not the time that the user unpause the printer.

Anyway, thank you for your help.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform