Advanced Printer Driver Sample Programs


Landscape mode

This is a display example when the customer display is placed horizontally.
Display examples are the merchandise input screen and the accounting display screen.

The sample program also uses the controlA font and the 2D code font.
See Setup Manual for controlA font and 2D code font setting.
If you just want to run the sample program, use the registry file that sets the controlA font and 2D code font used in the sample.
Refer to ControlASample.reg and 2DCodeSample.reg.

Win32 Environment

Programming
Language
Source
Executable file
Link Storage location 32 bit 64 bit
C++ Source folder [Expanded folder]\Sample\src\C++\CustomerDisplay\Program03\ .exe .exe

.NET Environment

In .NET environment, you cannot specify a device font in the customer display directly.
To print a device font, specify so that a specified TrueType font is replaced by a device font.

See Setup Manual for font replacement setting.
To run the sample program, set the font replacement as follows.

TrueTypeFont Device Font Name
Consolas control
Courier New controlA
MS Gothic DM-D Character
Lucida Console 2D-Code1

Programming
Language
Source
Executable file
Link Storage location 32 bit 64 bit
C# Source folder [Expanded folder]\Sample\src\C#\CustomerDisplay\Program03\ .exe .exe
VB Source folder [Expanded folder]\Sample\src\VBNET\CustomerDisplay\Program03\ .exe .exe

If you just want to run the sample program, use the registry file that sets the fonts used in the sample program.
Refer to FontSample.reg.

Top
Page top

Portrait mode

This is a display example when the customer display is placed vertically.
Display examples are the merchandise input screen and the accounting display screen.

The sample program also uses the controlA font and the 2D code font.
See Setup Manual for controlA font and 2D code font setting.
If you just want to run the sample program, use the registry file that sets the controlA font and 2D code font used in the sample.
Refer to ControlASample.reg and 2DCodeSample.reg.

Win32 Environment

Programming
Language
Source
Executable file
Link Storage location 32 bit 64 bit
C++ Source folder [Expanded folder]\Sample\src\C++\CustomerDisplay\Program04\ .exe .exe

.NET Environment

In .NET environment, you cannot specify a device font in the customer display directly.
To print a device font, specify so that a specified TrueType font is replaced by a device font.

See Setup Manual for font replacement setting.
To run the sample program, set the font replacement as follows.

TrueTypeFont Device Font Name
Consolas control
Courier New controlA
MS Gothic DM-D Character
Lucida Console 2D-Code1

Programming
Language
Source
Executable file
Link Storage location 32 bit 64 bit
C# Source folder [Expanded folder]\Sample\src\C#\CustomerDisplay\Program04\ .exe .exe
VB Source folder [Expanded folder]\Sample\src\VBNET\CustomerDisplay\Program04\ .exe .exe

If you just want to run the sample program, use the registry file that sets the fonts used in the sample program.
Refer to FontSample.reg.

Top
Page top