Setting and Viewing the QLn Series Printer Real Time Clock

Article ID: 60835959

Details


 

Description

The following commands illustrate how to both set the real time clock and print the values for the time and date

Applies To

Zebra QLn Series Mobile Printers

Requirements

Ability to send commands/files to the printer using Zebra Setup Utilities, the ZDesigner Driver for the printer, or some other method  Read More>>

Procedure

To set the real time clock use these commands

! U1 setvar "rtc.time" "13:02:00" 
! U1 setvar "rtc.date" "12-05-2011"

To print a real time clock value on the label use the following:

! 0 200 200 203 1
CENTER
TEXT 0 2 0 50 !<TIME
TEXT 0 2 0 100 !<DATE
PRINT

If you want the printer to return the value to the host use the following:

! U1 getvar "rtc.time"  
! U1 getvar "rtc.date"

Helpful Information

ZPL Programming Guide  Read More>>

CPCL Programming Guide  Read More>>

USB Communication Information  Read More>>