Description: VC++ demo print work permits and business card printing, first open the database to create a record set object instance, execute SQL record set, the database is read from Access, and then get the printer defaults, than on the screen and printer resolution ratio (horizontal and vertical direction), according to the specified format to begin printing, sample code, although simple, but representative, which can be extended to print invoices and other documents to fight the British program
To Search:
File list (Check if you may need any files):
PrintWork\database.mdb
.........\msado15.tlh
.........\msado15.tli
.........\PrintWork.aps
.........\PrintWork.clw
.........\PrintWork.cpp
.........\PrintWork.dsp
.........\PrintWork.dsw
.........\PrintWork.h
.........\PrintWork.rc
.........\PrintWorkDlg.cpp
.........\PrintWorkDlg.h
.........\ReadMe.txt
.........\res\PrintWork.ico
.........\...\PrintWork.rc2
.........\resource.h
.........\StdAfx.cpp
.........\StdAfx.h
.........\res
PrintWork