
Common Problems and FAQ's
Windows Kit SLPAPI.EXE reports errors
The SLPAPI.EXE should install all required resources to their
appropriate target directories respectively. All of these MUST be
installed for the SLP API to work correctly. If errors are encountered,
please close any SLP tasks that might be running by using the Task Manager or
restarting the system.
Note that on NT systems on which earlier versions of the NT
print driver have been installed, the driver and SLPMONX must first be disabled
so that SLPAPI.EXE can install all of the required resources.
No text is printing when running on a Windows NT
system with Kit 1
The SlpCreateFont function is not designed for NT's Unicode
compatibility. A separate modified function is available for use on NT.
Please see details in the SLPAPI.DOC file.
Windows Kit SLPAPI40.DLL is reported to be corrupt
by my compiler.
This resource is compiled with Borland C and not Microsoft
Visual C++. Although environment settings can be made to enable link to this
resource at compile time, it is recommended that you explicitly load this
resource from your program. This should eliminate compiler dependency and make
the functions accessible to programs regardless of what Windows 32 bit
programming language is being used.
NOTE: If you must link at compile time, two separate library
files are provided for Borland and Microsoft C respectively.
Other Hints
Are all resources spelled correctly? Note that these are
often case sensitive.
SLPAPI32.DLL has been replaced by SLPAPI40.DLL which is
inclusive of all of the functions in its predecessor.
Developer Tips:
Printing Easiest way to Print to the SLP If you are developing applications
to run under Windows, the easiest way to print to the Smart Label Printer is to
utilize the SLP Windows Printer Driver. This requires no special programming or
use of the SLP SDK. The SLP is a bit-mapped graphics printer. It is not an ASCII
printer and therefore, does not use escape code sequences to control the
printer. The Smart Label Printers expect information to be in the form of a
graphics bitmap. This allows the printer to print almost anything, graphics or
text. To print text, you must raster the font to the correct resolution of the
printer. Special notes for SLP EZ30 and SLP Plus The SLP EZ30 and SLP Plus
utilize rectangular pixels, not square. This can make programming for these
printers more of a challenge. You may consider writing your custom application
for the SLP 100, 200 and 220, which use square pixels (as well as offer higher
resolution and speed!). |