文件名称:PrintWork
介绍说明--下载内容均来自于网络,请自行研究使用
VC++演示打印工作证和名片打印,先打开数据库创建记录集对象实例,执行SQL得到记录集,将数据库从Access中读取出来,然后获取打印机默认值,比对屏幕与打印机分辩率比率(水平和垂直方向),按照指定格式开始打印,示例代码虽简洁,但具有代表性,由此可扩展成证件打英发票打印等程序-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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
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