如何获取文件名 [英] How To Get File Name

查看:127
本文介绍了如何获取文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我需要一个代码来获取已打印的文件名.请帮忙.

Hi All,

I need a code to Get File name that has Printed. Help Please.

推荐答案

您的问题对我来说似乎是您想获取有关打印文档的通知.有几种方法可以使用Windows Spooler API,并且可以在 PrintMon.exe上演示Win32 Spooler API [后台打印程序API函数 [ ^ ]来获取后台处理程序API文档.

[更新]
在这里,您将找到自我解压缩的可执行文件,其中包含的源代码PrintMon [ ^ ].
[/更新]

问候,

—MRB
Your question sounds to me as if you wanted to get notification about a printed document. There are several ways to use the Windows Spooler API and on PrintMon.exe Demonstrates the Win32 Spooler API[^] you''ll find some of the options available.

Please refer to the Print Spooler API functions[^] for the spooler API documentation.

[Update]
Here you''ll find the self extracting executable the contains the source code for PrintMon[^].
[/Update]

Regards,

—MRB


这篇关于如何获取文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆