DropDirectory Property

Syntax

dropDir = Object.DropDirectory
Type = string, read/write if not using ClientIniPath, otherwise, read only

Description

The DropDirectory reflects the path to the Server’s LPS scan path.  This path is specified with a mapped drive or a UNC.  Files are deposited in the scan directory for the Loftware Print Server to process when the PrintJob method is invoked.  A good way to verify if your program is working properly is to shut down the LPS on the server and use explorer to view the folder specified with the DropDirectory property.  A file is displayed after requesting a label with the PrintJob method with a .pas extension.  View this file with an ASCII editor to verify that it is syntactically correct.  

Note: If the LPS has multiple scan directories, it is up to your program to choose which directory to use for a given print job.

Example

' Set the DropDirectory for the Default server (0)
ClientX1.DropDirectory = “\\XFILES\LOFTWARE\WDDrop”

See also

isRunning

PrinterPath

LayoutPath

LabelsPath