This method retrieves the paper tray names and tray numbers from the printer designated by the printer name. This method is recommended when using scripting or other languages that require variant types

[Visual Basic]   [ Long = ]imagekitcontrolname.PrintDraw.EnumPaperBinsVariant(BinNames As Variant, BinNumbers As Variant)

Parameters

Name Explanation
BinNames The string containing the retrieved paper tray names
BinNumbers The array containing the retrieved paper tray numbers

  In Visual Basic, Dim Bnum(0 To 2) As Integer then set Bnum(0)

Return Value

Returns the number of retrieved items. Returns 0 if unsuccessful.

Explanation

The EnumPaperBinsVariant method retrieves the supported paper tray names and tray numbers from the printer designated by the printer name. This method is recommended when using scripting or other languages that require variant types. If you need to know the number of elements in the array, the GetArrayNum method can be used to retrieve this. The BinNames string will be returned as "xxxxx,xxxxx,xxxxx,¥¥¥¥¥¥¥¥," (delimited by commas and ends with a comma).

Also see EnumPaperBins method.

Note: In VB.NET and C#.NET, you cannot retrieve the string for BinNames. Use InvokeMembers instead. For details, please see the code example on EnumPaperBins method.

 

The ImageKit8 ActiveX is a product created by Newtone Corporation