Registers a stylized bitmap such as a shop logo in the NV memory (nonvolatile memory) of the TM printer and prints it at the top of receipts.
Registers bitmap data in the NV memory (Keycode: 48,48) of the TM printer with the utility corresponding to the device.
Prints the bitmap data registered in NV Graphics 0, using "h" of control font.
Programming Language Source Executable file Link Storage location 32 bit 64 bit C++ Source folder [Expanded folder]\Sample\Src\C++\SingleFunction\Program10\ .exe .exe
In .NET environment, you cannot specify a control font in the TM printer directly.
You need replace fonts. For details on how to replace fonts, see "Step1 Printing Device Font."
TrueTypeFont Device Font Name Consolas control With this sample program, NV graphic data is created in 1.5-point Consolas, which is converted into a control device font to print NV graphics.
Programming Language Source Executable file Link Storage location 32 bit 64 bit VB.NET Source folder [Expanded folder]\Sample\Src\VBNET\SingleFunction\Program10\ .exe .exe
Monitors the printer status and cancels jobs when a paper end error occurs.
Programming Language Source Executable file Link Storage location 32 bit 64 bit C++ Source folder [Expanded folder]\Sample\Src\C++\SingleFunction\Program11\ .exe .exe
Programming Language Source Executable file Link Storage location 32 bit 64 bit C# Source folder [Expanded folder]\Sample\Src\C#\SingleFunction\Program11\ .exe .exe VB.NET Source folder [Expanded folder]\Sample\Src\VBNET\SingleFunction\Program11\ .exe .exe
Obtains the maintenance counter such as the number of paper feeding lines or operating time, using BiGetCounter of Status API.
Some models do not support this function.
Use BiResetCounter to reset the maintenance counter.
Programming Language Source Executable file Link Storage location 32 bit 64 bit C++ Source folder [Expanded folder]\Sample\Src\C++\SingleFunction\Program12\ .exe .exe
Programming Language Source Executable file Link Storage location 32 bit 64 bit C# Source folder [Expanded folder]\Sample\Src\C#\SingleFunction\Program12\ .exe .exe VB.NET Source folder [Expanded folder]\Sample\Src\VBNET\SingleFunction\Program12\ .exe .exe
Occupies a shared printer, using Status API.
When the printer is used in multiple processes such as being used by more than one user, you can avoid conflict with other processes by controlling priorities.
Programming Language Source Executable file Link Storage location 32 bit 64 bit C++ Source folder [Expanded folder]\Sample\Src\C++\SingleFunction\Program14\ .exe .exe
Programming Language Source Executable file Link Storage location 32 bit 64 bit C# Source folder [Expanded folder]\Sample\Src\C#\SingleFunction\Program14\ .exe .exe VB.NET Source folder [Expanded folder]\Sample\Src\VBNET\SingleFunction\Program14\ .exe .exe
Note:
This program will force the printer to reset even if printing is in progress, and the data being printed will be deleted.
A forced reset of the printer is performed from this program without closing the [Print Test Page].
If printing is not completed or an error is not obtained within 150 seconds after executing a print job,
this program displays a confirmation message and then performs a forced reset.
Adjust the time (150,000ms for the sample program) as necessary according to the volume of data being printed.
Edited file
Programming Language Source File name Edited locations Link Storage location C++ Source folder [Expanded folder]\Sample\Src\C++\SingleFunction\Program16\Program16\ PrintDlg.cpp Line 15 VB.NET Source folder [Expanded folder]\Sample\Src\VBNET\SingleFunction\Program16\Program16\ Form1.vb Line 68
Programming Language Source Executable file Link Storage location 32 bit 64 bit C++ Source folder [Expanded folder]\Sample\Src\C++\SingleFunction\Program16\ .exe .exe
Programming Language Source Executable file Link Storage location 32 bit 64 bit VB.NET Source folder [Expanded folder]\Sample\Src\VBNET\SingleFunction\Program16\ .exe .exe