联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Print monitor that prints into a directo - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为18996
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • Air Traffic Controller
  • PoolMan
  • virtualdub-win
  • Apache-SSL-Jserv
  • CppUnit
  • GLgraph
  • FCK editor
  • Async Professional
  • -= 更多 =-

    项目描述:
    Recently we had to do some printing on our IIS-Server. Printing on a physically existing printer was no problem. But after that we tried to print into files and send the files to the appropriate user.
    Printing to "FILE:"-port caused the spooler-service to ask for a destination file, which you had to type in manually. Of course this was not the right approach for our IIS-server.
    After studying the MSDN I found "The Print Monitor API" (refer to this for further information) which explains how to implement a print monitor. A print monitor is a DLL that exports some specific functions to enable the print spooler to do customized tasks--for example to print not to a printer but into a directory.
    I used the print monitor example from the Microsoft DDK as a template to implement this print monitor. The example in the DDK was very complicated and did more than I wanted it to do (it should just redirect the print jobs into appropriate files).
    Notice that the file WINSPLP.H was shipped with the Microsoft Windows NT 4.0 DDK

    目前我们需要在IIS-Server上完成一些打印功能。在一个物理存在的打印机上打印不是问题,问题是打印到一个文件,并将这个文件发送到相应的用户。
    打印到文件致使 spooler-service 询问一个目标文件,你需要以后手工打印它。当然我们的IIS服务器不能自动完成这一要求。
    在我研究了MSDN之后,我发现了"The Print Monitor API" ,它演示了如何实现一个打印监视器。打印监视器是一个DLL,它可以导出一些函数来让打印缓存定制任务,例如不是打印到打印机,而是打印到一个文件。
    来源: http://www.codeguru.com/printing/printspool.html
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    DBTextGrid  1.0  2004-03-24 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/printing/printspoolbin.zip

      » 合 作 伙 伴