Show TOC

Background documentationWindows POS Parameters

 

The options in this section of the POS.ini file control the POS Xpress application’s behavior. The following list is in alphabetical order.

Note Note

This section must be at the beginning of the POS.ini file (first 64K of the file) to ensure full functionality in the Windows POS parameters because it controls some of the major behavior of the POS.

End of the note.
Answer

Function

Allows the cashier to close the POS Xpress application with the ALT+F4 key combination at any time.

Possible values

Value of 42 enables this feature.

Any other value disables this feature.

Default value

0 (Disabled)

M

Function

Allows the cashier to minimize the POS Xpress application at any time by pressing the CTRL+M key combination.

Possible values

Value of 13 enables this feature.

Any other value will disable this feature.

Default value

0 (Disabled)

MINIDUMPPATH

Function

This option specifies the location of the stack dump file. The POS/XPS application writes the stack dump file at this location.

Possible values

A string that represents a valid Windows directory.

Example Example

MINIDUMPPATH=C:\Program Files\SAP\Retail Systems\Point of Sale\logs

End of the example.

Default value

Windows TEMP directory

MINIDUMPTYPE

Function

This option is used to specify the type of stack dump to be generated by the application.

Possible values

The following is a list of different types of dump files that can be generated:

  • MiniDumpNormal 0x00000000

  • MiniDumpWithDataSegs 0x00000001

  • MiniDumpWithFullMemory 0x00000002

  • MiniDumpWithHandleData 0x00000004

  • MiniDumpFilterMemory 0x00000008

  • MiniDumpScanMemory 0x00000010

  • MiniDumpWithUnloadedModules 0x00000020

  • MiniDumpWithIndirectlyReferencedMemory 0x00000040

  • MiniDumpFilterModulePaths 0x00000080

  • MiniDumpWithProcessThreadData 0x00000100

  • MiniDumpWithPrivateReadWriteMemory 0x00000200

  • MiniDumpWithoutOptionalData 0x00000400

  • MiniDumpWithFullMemoryInfo 0x00000800

  • MiniDumpWithThreadInfo 0x00001000

  • MiniDumpWithCodeSegs 0x00002000

  • MiniDumpWithoutAuxiliaryState 0x00004000

  • MiniDumpWithFullAuxiliaryState 0x00008000

Example Example

MINIDUMPTYPE =0x00000002

End of the example.

Default value

MTOSSHOWPASSES

Function

Defines, in seconds, how long the number of MTOS passes per second is displayed in the console log window. For this option to be available, you must enter “3” into the APPNLOGLVL option. The display appears in the log window as “MTOS avg. passes/ sec (avg.) = X”.

Possible values

Enter a number.

Default value

15

MTOSMINMAX

Function

Defines the minimum and maximum number of full passes through all multitasking threads in one second before any adjustments are made to balance the effect of the WIN32PERFORMANCE option. This ensures that proper server throughput is achieved by skipping the appropriate number of sleep cycles defined in the option.

Possible values

Format: two numbers separated by a comma (for example, 160,190).

Enabled: enter the first number to set the minimum number of passes through multitasking threads. Then, enter the second number to set the maximum number of passes through multitasking threads.

Disabled: do not enter any numbers.

Note Note

The range of numbers you choose depends on the processor speed. The recommended range for a Pentium 200Mhz is 160,190.

End of the note.

Default value

0 (Disabled)

MTOSYIELDDELAY

Function

Defines, in milliseconds, how long to suspend the execution of the current thread when calling MTOSYIELD. A value of zero (“0”) causes the function to return immediately to the current thread if there are no other threads of equal priority ready to run.

Possible values

Enter a number greater than 0 to define the suspend time.

Enter 0 to cause the continuous execution of the current thread.

Default value

20

NoReSize

Function

Allows you to resize the POS Xpress screen using the XSIZE, YSIZE, XOFFSET, and YOFFSET options.

Possible values

0 - yes, allow the POS Xpress screen to be resized.

1 - no, do not allow the POS Xpress screen to be resized.

Default value

0

WIN32PERFORMANCE=0,0

Function

Releases cycles to the Windows Operating System to avoid taking 100% of IDLE CPU time. This is only necessary when using other programs that make use of “on idle” timing, such as print spooling and screen savers. Cycles are returned to Windows when the POS Xpress application is put to sleep. The values you enter into this option define the length of time that the POS Xpress application is put to sleep.

Possible values

Format: two numbers separated by a comma (for example, 10,1).

Enabled:

First number - enter the time, in milliseconds, that the POS Xpress is to be put to sleep.

Second number - enter the time, in milliseconds, between sleep sessions. A value of 0 means that all CPU idle time is available to the POS Xpress application.

Default value

Win32performance=10,1 enabled (recommended setting).

ySize

Function

Sets the height of the POS Xpress application’s window. The screen at full size is 640x480. This option is only available if you enter “0” into the NORESIZE option.

Possible values

Enter a number between 1 - 100 to set the percentage for the window’s height.

Example Example

To set the POS window’s width to 50% of screen size: ySize=50

End of the example.

Default value

100

yOffset

Function

Positions the top position of the POS Xpress application’s window on the monitor.

Possible values

Enter a number between 0 - 100 to set the percentage of the screen where the top of the POS window will be positioned.

Example Example

To set the top of the POS window’s position to the middle of the screen: yOffset=50

End of the example.

Default value

0 - the top part of the POS Xpress application’s window appears in the top most position of the monitor.

xSize

Function

Sets the width of the POS Xpress application’s window. The window at full size is 640x480. This option is only available if you enter 0 into the NORESIZE option.

Possible values

Enter a number between 1 – 100 to set the percentage for the window’s height.

Example Example

To set the POS window’s width to 50% of screen size: ySize=50

End of the example.

Default value

100

xOffset

Function

Positions the left side of the POS Xpress application’s window on the monitor.

Possible values

Enter a number between 0 – 100 to set the percentage of the screen where the left side of the POS window will be positioned.

Example Example

To set the left side of the POS window to the middle of the screen: xOffset=50

End of the example.

Default value

0 - the left side of the POS Xpress application’s window appears in the left most side of the monitor.

Note Note

These options must remain at the beginning of the POS.ini file.

End of the note.