Advanced Features in DocuClock
DocuClock can be configured to print time stamps, messages, static messages
(labels) as well as text that is saved only to a log file. All the fields can be
configured independently and all are fields are optional.
Types of fields that DocuClock supports:
fields contain text that will be printed on the slip. The message field can be
also be changed at any time from the field in the middle of the main screen.
An example of a message field is: 200 Shares of CSCO
fields print a static message on each slip. Examples of label fields include
personal or company name.
fields remain blank when printed effectively skipping a line on the slip.
Image fields can print image files like logos or
graphics. The field accepts the filename of the bitmap image to print.
No Print Fields
fields are skipped over during the printing of the slip. Unlike the Blank fields
they do not produce an empty line.
are used to save a special text message to the log file. The log fields are not
printed on the slip but are written to the log file. See the
logging option section below.
fields allow the printing of a time stamp in a user-defined format. By modifying
the format you can easily customize the time string that is both printed on the
slip and shown in the time window. Using the time format options you can
pinpoint when a event occurred with millisecond
The default format is
The mm is a placeholder for
number of the month, dd for numeric day of month, yy for 2 digit year, hh
for hour (24 hour format), nn minute of hour and ss seconds of minute. This
yields a sample time string of
DAY, DOW and DATE (d)
d Displays the day as a number without a leading zero (1 - 31).
dd Displays the day as a number with a leading zero (01 - 31).
ddd Displays the day as an abbreviation (Sun - Sat).
dddd Displays the day as a full name (Sunday - Saturday).
h Displays the hour as a number without leading zeros (0 - 23).
hh Displays the hour as a number with leading zeros (00 - 23).
m Displays the month as a number without a leading zero (1 - 12).
If m immediately follows h or hh, the minute rather than the month is
mm Displays the month as a number with a leading zero (01 - 12). If m
immediately follows h or hh, the minute rather than the month is displayed.
mmm Displays the month as an abbreviation (Jan - Dec).
mmmm Displays the month as a full month name (January - December).
N Displays the minute as a number without leading zeros (0 - 59).
nn Displays the minute as a number with leading zeros (00 - 59).
y Displays the day of the year as a number (1 - 366).
yy Displays the year as a 2-digit number (00 - 99).
yyyy Displays the year as a 4-digit number (100 - 9999).
S Displays the second as a number without leading zeros (0 - 59).
ss Displays the second as a number with leading zeros (00 - 59).
ss.s Displays the second as a decimal number with leading zeros
ss.ss Displays the second as a decimal number with leading zeros
ss.sss Displays the second and
milliseconds as a decimal number with leading zeros (00.000). For example
\ Is an 'escape' character used to indicate the next character should
be treated as a literal. It is used to embed literal strings using reserved
characters within time strings.
AM/PM Uses the 12-hour clock and display an uppercase AM with any
hour before noon; display an uppercase PM with any hour between noon and
am/pm Uses the 12-hour clock and display a lowercase AM with any hour
before noon; display a lowercase PM with any hour between noon and 11:59
A/P Uses the 12-hour clock and display an uppercase A with any hour
before noon; display an uppercase P with any hour between noon and 11:59
a/p Uses the 12-hour clock and display a lowercase A with any hour
before noon; display a lowercase P with any hour between noon and 11:59 P.M.
AMPM Uses the 12-hour clock and display the AM string literal as
defined by your system with any hour before noon; display the PM string
literal as defined by your system with any hour between noon and 11:59 P.M.
AMPM can be either uppercase or lowercase, but the case of the string
displayed matches the string as defined by your system settings.
The default format is AM/PM.
The printer options in DocuClock allow you to change the appearance of the
printed output. DocuClock offers settings for the font size, font
type, format and printing options can be set.
Direct Print Version
Choose from 2 different sized fonts and 4
different font spacings to size your output
Windows Print Version
When checked all the printer output will be in bold type.
Underlines all the printer
Sets an approximate top margin
(in inches) from where printing starts.
Sets an approximate left margin in
inches measured from the left edge of the paper.
Eject paper after printing
When used, automatically feeds slip
out of printer after printing.
DocuClock features several
useful indicators on both the DocuClock printer and on the computer screen that
let you know when DocuClock is ready to print.
On the DocuClock Screen...
Connect shows if that the connection to the printer is
established ant that the printer is healthy.
shows that the printer is off or has a problem.
The time display field shows the current time. The format of
the time string is the same as the time field selected in the page setup menu.
Custom time formatting options...
Contains an optional message to be printed on the slip.
Upon exiting the last message will be saved.
Time Stamp Button
When in the manual auto sense mode, commands the printer to
print a time stamp.
Printing Sensor Options
DocuClock features dual optical sensors that wait till the
slip is fully inserted. DocuClock can be operated using the sensors (Automatic)
or without (Manual)
Automatic Print the
time stamp whenever a slip is introduced to the printer. No keys need be
pressed on the computers keyboard.
Manual print on slip
after pressing the button on the screen when there is a slip in the printer.
Show seconds in taskbar
DocuClock can show the real time in
taskbar when the DocuClock application is minimized. DocuClock continues to
update the time every second.
On the Printer...
This light is on
whenever power is supplied to the printer.
This light is on when the
printer is in the paper release mode and it is off when the printer is in the
clamp mode printing the slip.
The RELEASE light will also
blink to indicate an error condition there is a:
Home position error
Power supply problem
This red light is on when paper
is not inserted or is not inserted correctly. The paper is considered inserted
when in view of the optical sensors located in the print head.
Otherwise the printer releases the slip after printing.
The log file shows information about time stamps printed. Logging is useful for
keeping a computer record of when a slip was printed or when an event occurred.
The user can turn logging on or off and select which log file to write to.
Once a log file is specified DocuClock will add data to the log file each time a
time stamp is made. The log file will record the time the stamp was made, and
include any message and log fields selected. The log fields are only printed in
the log file. Timestamps can be printed in the file giving a precise record on
when the time stamp was made. This can be done with millisecond precision using
the msec time format options.
Log File Location
DocuClock has the option to write to a log file every time a time stamp
is made. The log file is a text file that can be located locally on the computer
or on another computer on the network.
Sample log file output:
Stamp Log 11/13/01 4:11:08 PM
Date Time String
----- ---- ----------
01-11-13 16:11:08 This is a message inserted only into file
01-11-15 12:47:17 This is a message
01-12-04 23:06:25 log entry
allows you to record precisely when an event occurs. Users have the
ability to print an event time and/or write the event record to a file. When
running on a computer time standardized with ClockWatch software,
DocuClock can provide either a hard copy or a computer record of when an event
To time the event the user simply presses the "Time
button on the computer screen or enters a paper slip in the printer to mark the
time. The log file will record the time the event occurred, and
include desired annotations. The timestamp can be made with millisecond
using the msec time format options in
Paper and file timestamps create a permanent record on when the event occurred.
Sample event file output:
Stamp Log 11/15/01
Date Time String
----- ---- ----------
01-11-15 14:11:08.034 Task 1 started...
01-11-15 14:11:09.631 Task 1 complete
01-11-15 14:11:12.584 Task 2 started...
01-11-15 14:11:24.139 Task 2 complete
01-11-15 14:11:25.230 Task 3 started...
Also available is a separate
Trigger Module that can use an external electrical
signal to log an event.
DocuClock as a Service
A Service is a Windows-specific system function that runs in a special area under Windows
NT, 2000, XP or 2003. DocuClock contains a special module, which can be installed as a Service under
these versions of Windows. This allows DocuClock to run in the special service area of the
Windows operating system. Whenever Windows is running the service is
active and DocuClock is available
More on automating
data acquisition with DocuClock
Back to top of
The DocuClock software
development kit allows you develop a custom application and integrate DocuClock
functionality with ease. A simple high level application programming interface
allows access to the most common DocuClock functions such as stamping, changing
messages, checking status, etc. The API communicates with the DocuClock service
through the Windows Service Control Manager.
The software development kit
includes a working sample application and documentation.
tells whether DocuClock service is running
reports on DocuClock printer status, On-line, Off-line
Check runs a simple printer health check
prints slip using the current settings
indicates that the DocuClock settings have been changed and that the service
should reset the new settings.
reset the printer.
dynamically change the message that is printed out on each page.
practice, you can change all types of DocuClock output lines
programmatically. In addition to the message type, these types include
logged messages, images, time format, and labels. The type of line (Message,
Time, Image, etc) is normally set by the DocuClock application interface
(Options->Page Setup). Be advised that the format for these lines is
implicitly set for each type and no format checking is done by the function
or the service. For more information, consult the DocuClock Users Guide.
Deploying a Custom Application
The DocuClock software must first be installed
on the target machine. No additional software is required to run the API. Verify
that the DocuClock application works before testing the custom application. Use
the DocuClock application interface for initial configuration and setup of the
DocuClock printer and printed output. The DocuClock service should be set to run
automatically from the Service Manager. This ensures that the DocuClock service
is started at boot time. The DocuClock application does not need to be running
to use the SDK.
Form more information contact
Back to top of