17.04.2014 Views

Microplate Barcode Labeler User Guide - Agilent Technologies

Microplate Barcode Labeler User Guide - Agilent Technologies

Microplate Barcode Labeler User Guide - Agilent Technologies

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

164<br />

Chapter 8: VCode ActiveX<br />

VCode <strong>User</strong> <strong>Guide</strong><br />

PrintAndApply<br />

Description<br />

Prints and applies one set of label data to one side of the plate,<br />

executing immediately.<br />

Parameters<br />

Name Type Range Description<br />

format SHORT 1 – 19 The printer format to<br />

use.<br />

sides BYTE 1 - 15 1 = east side.<br />

2 = north side.<br />

4 = west side.<br />

8 = south side.<br />

The side is a bitmask,<br />

so if you want to print<br />

on the north and south<br />

sides, the parameter is<br />

10 (2+8).<br />

dropStage BOOL TRUE / FALSE TRUE = drop stage<br />

before applying label.<br />

FALSE = raise stage<br />

before applying label.<br />

field0 BSTR data for field 1.<br />

field1 BSTR data for field 2.<br />

field2 BSTR data for field 3.<br />

field3 BSTR data for field 4.<br />

field4 BSTR data for field 5.<br />

field5 BSTR data for field 6.<br />

Returns<br />

HRESULT<br />

Examples<br />

Visual C++<br />

/* Print and apply “hi” and “there”<br />

using format 2 on the west and south<br />

sides. According to the table, west<br />

= 4 and south = 8, so pass 12 in the<br />

for the sides parameter.*/<br />

m_VCode.PrintAndApply( 2, 12, TRUE,<br />

“hi”, “there”, “”, “”, “”, “”);<br />

Visual Basic<br />

'Print and apply "hi" and "there" using<br />

'format 2 on the west and south sides.<br />

'According to the table, west = 4 and<br />

'south = 8, so pass 12 in the for the<br />

'sides parameter.<br />

VCode1.PrintAndApply 2, 12, True, "hi",<br />

"there", "", "", "", ""

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!