Description:
Development environment:
VS2005
1. main purpose: Formatting Print on paper certificates, invoices, receipts and other content-filled print.
2. the contents include:
2.1. the formatted print control PrintControl.dll and the source
2.2. print template example PrtTemplate.xml (You can also change the storage medium of template according to your needs, such as a database or other)
2.3. the calling examples for PrintControl.dll
3. the features:
3.1. XML template can be set to print entry position, font, size
3.2. supports preview Print or print directly
3.3. from the project <PrintControlTest>,you should learn how to use the <PrintControl.dll>
4. the supplement:
The code is simple, I hope it can help you, thank you :)
To Search:
File list (Check if you may need any files):
PrintControl
............\PrintControl
............\PrintControl.sln
............\PrintControl.suo
............\PrintControlTest
............\................\bin
............\................\...\Debug
............\................\...\.....\PrintControlTest.vshost.exe
............\................\Form1.cs
............\................\Form1.Designer.cs
............\................\Form1.resx
............\................\obj
............\................\...\Debug
............\................\...\.....\TempPE
............\................\PrintControlTest.csproj
............\................\Program.cs
............\................\Properties
............\................\..........\AssemblyInfo.cs
............\................\..........\Resources.Designer.cs
............\................\..........\Resources.resx
............\................\..........\Settings.Designer.cs
............\................\..........\Settings.settings
............\................\PrtTemplate.xml
............\............\bin
............\............\...\Debug
............\............\FormatPrint.cs
............\............\obj
............\............\...\Debug
............\............\...\.....\TempPE
............\............\PrintControl.csproj
............\............\Properties
............\............\..........\AssemblyInfo.cs
............\Read Me.txt