How can I configure the StartApplication Parameter Order...

Black Ice Printer Driver related questions

Moderator: Technical Support Team

How can I configure the StartApplication Parameter Order...

Postby TechnicalSupportTeam » Tue Mar 30, 2004 1:46 pm

How can I configure the StartApplication Parameter Order from within the INI file during driver installation?


In order to set the StartApplication parameter order, you need to add a new entry to the INI file:
StartApplicationParameterOrde=123456

The value of this entry should always be a 6 digit decimal number. In the devmode.h there is the following definition:

typedef enum {
PARAMETER_NONE =0,
PARAMETER_DOCUMENT_NAME =1,
PARAMETER_GROUP_FILE_NAME=2,
PARAMETER_PRINTER_NAME=3,
PARAMETER_NUMBER_OF_PAGES=4,
PARAMETER_MULTIPAGE=5,
PARAMETER_ORIENTATION=6,
PARAMETER_LAST
}

If you want the first parameter to be the printer name then in the INI file the first digit of the StartApplicationParameterOrder value should be 3. If you want the document name as second parameter, then the second digit should be 1.
Examples:
a.) Send document name only: StartApplicationParameterOrde=100000
b.) Send document name and printer name: StartApplicationParameterOrde=130000
c.) Send standard parameter list: StartApplicationParameterOrde=123456
TechnicalSupportTeam
 
Posts: 944
Joined: Sat Mar 20, 2004 11:50 am

Return to Printer Drivers



Who is online

Users browsing this forum: Bing [Bot] and 2 guests