Automating the software, Automation with activex, Programming interface: automation (activex) – QuickLabel Designer Pro User Manual

Page 183

Advertising
background image

- 183 -

 

l

skip

: Use   this attribute to specify how many labels to skip at the beginning. This   feature 

is useful if you print sheet of labels to laser printer, but the   sheet is partial already printed. 
Not required.

 

l

job_name

:   Use this attribute to specify the name of your job file. The specified   name is 

visible in the print spooler. Not required.

 

l

print_to_file

:   Use this attribute to specify the file name where you want to save the   

printer commands. Not required.

Session_Print_Job: The element   that unions commands for printing labels. It considers session print 
rules.   You can use this element several times within the command file. For available   attributes 
lookup the attributes for the element Print_Job.   All of them are valid, you only cannot use the 

quan-

tity

   attribute. See the description of the element Session   to find out how to specify label quantity in 

session printing.

Database: The element that overrides   the database selection on the label. Use it whenever you do 
not want to   use data from the database that is configured on the label, but some other   database. You 
can use this element several times within the command file.

 

l

name

: The   attribute contains the database name. Required.

Table: The element that overrides   the table selection on the label. Use it whenever you do not want 
to use   data from the table that is configured on the label, but some other table.   You can use this ele-
ment several times within the command file.

 

l

name

: The   attribute contains the table name. Required.

Variable: The element that sets   the value of variables on the label. You can use this element several
   times within the command file.

 

l

name

: The   attribute contains the variable name. Required.

Automating the Software

Automation with ActiveX

Programming interface: Automation (ActiveX)

The information in this chapter is for advanced users and application   developers only. If you don't 
plan to write applications that use the embedded print engine    to print labels, you can skip this chapter 
entirely.

The labeling software can act as an OLE Automation server. Its class name is Nice-
Label6.Application.

The commands actually allow you to have more control over the labeling software   from your own 
application. Active X allows also the status of variable   managing procedure to be returned to your 
application so you can control   printing process more accurately. A lot more programming func-
tionality   is allowed. The ActiveX interface makes is possible to query every label   element for its 
properties. The same goes for variables and functions   defined on the label. The properties of all label 
elements can be modified   prior printing if for some reason you do not want to use label-defined   set-
tings. You can even create a label preview in your own application.

For more information about programming interface please refer to the   manual ActiveX and DDE
Programming manual
   available on the product CD-ROM and on the product website.

Advertising