Samples

You can modify or include the samples in your products fully or partly without any limitations.
All samples are included in Woosim Systems PrintCE SDK archive. Please see Sample directory.

For Visual Studio 2003/2005 .NET C# Smart Device Application

Example_CF1 Simple example of PrintCE SDK printing function usage (graphic mode and text mode)
Browse
Example_CF2
Example of SilentPrintSetup and GetCurrentSetup functions usage
Browse

For Visual Studio 2003/2005 .NET Visual Basic Smart Device Application

Example_CF_VB_1
Simple example of PrintCE SDK printing function usage (graphic mode and text mode)
Browse

For Embedded Visual C++/Visual Studio 2005 Win32 PrintDC PDC_

Example_PDC1
Simple example of Win32 PrintDC printing function usage
Browse
Example_PDC2
Complex example of Win32 PrintDC printing function usage (Example of Invoice printing)
Browse

For Embedded Visual C++/Visual Studio 2005 text mode printing API

Example_ASCII
Simple example of 'ASCII_' text mode printing functions usage
Browse

For Embedded Visual C++/Visual Studio 2005 Fast&Easy Print API prn

Example_Prn1
Simple example of prn PrintCE SDK printing function usage
Browse
Example_Prn2
Complex example of prn PrintCE SDK printing function usage (Example of Invoice printing)
Browse
Example_Prn3
Example of prnSilentPrintSetup and prnGetCurrentSetup functions usage
Browse

For Embedded Visual C++/Visual Studio 2005 ActiveX PrintCE

Example_ActiveX1
Simple example of printing function usage by means of ActiveX PrintCE SDK
Browse
Example_ActiveX2
Complex example of printing function usage by means of ActiveX PrintCE SDK (Example of Invoice printing)
Browse
Example_ActiveX3
Example of SilentSetup and GetCurrentSetup functions usage by means of ActiveX PrintCE SDK
Browse

For Embedded Visual Basic/Visual Studio 2005 ActiveX PrintCE

Example_VB1
Simple example of printing function usage by means of ActiveX PrintCE SDK
Browse
Example_VB2
Complex example of printing function usage by means of ActiveX PrintCE SDK (Example of Invoice printing)
Browse
Example_VB3 Example of SilentSetup and GetCurrentSetup functions usage by means of ActiveX PrintCE SDK
Browse
Example_VB_ASCII
Simple example of text mode printing function usage by means of PrintAscii ActiveX control
Browse

Sample CAB file

If you distribute PrintCE.dll with your program, you need to add registration of PrintCE.dll in .inf file for CabWizard
VC help: "Creating an .inf File for the CAB Wizard" -> [DefaultInstall] section -> CESelfRegister

Example of PrintCE.Dll inclusion into installment package of CAB format:

[DefaultInstall.SH3]
Copyfiles=Files.SH3
CESelfRegister = PrintCE.dll

[DefaultInstall.MIPS]
Copyfiles=Files.MIPS
CESelfRegister = PrintCE.dll

[DefaultInstall.ARM]
Copyfiles=Files.ARM
CESelfRegister = PrintCE.dll

[SourceDisksNames.SH3]
1 = ,"SH3 files",,C:\PrintCE\SH3Rel

[SourceDisksNames.MIPS]
1 = ,"MIPS files",,C:\PrintCE\MIPSRel

[SourceDisksNames.ARM]
1 = ,"ARM files",,C:\PrintCE\ARMRel

[SourceDisksFiles.SH3]
PrintCE.dll = 1

[SourceDisksFiles.MIPS]
PrintCE.dll = 1

[SourceDisksFiles.ARM]
PrintCE.dll = 1

[DestinationDirs]
Files.SH3 = 0, %CE2%
Files.MIPS = 0, %CE2%
Files.ARM = 0, %CE2%

[Files.SH3]
PrintCE.dll,,,CE_COPYFLG_NO_DATE_DIALOG

[Files.MIPS]
PrintCE.dll,,,CE_COPYFLG_NO_DATE_DIALOG

[Files.ARM]
PrintCE.dll,,,CE_COPYFLG_NO_DATE_DIALOG


Copyright 2008 SPRT