pb11.5调用系统打印机
生活随笔
收集整理的這篇文章主要介紹了
pb11.5调用系统打印机
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
pb11.5調用系統打印機?
Function ulong ShellExecute(ulong hwnd,ref string lpOperation,ref string lpFile,ref string lpParameters,ref string lpDirectory,ulong nShowCmd) LIBRARY "shell32.dll" ALIAS FOR "ShellExecuteA;ansi"?
?
//pb9調用方法
Function Long ShellExecute (UInt ?ihwnd,String ?lpszOp,String lpszFile,String ?lpszParams, String ?lpszDir,Int ?wShowCmd ) Library "Shell32.dll" Alias For "ShellExecuteA" ??
?
string ls_null,ls_pic,ls_cmd
setnull(ls_null)
ls_cmd="print"
ls_pic="D:\qianerpgsp\bmp\07.bmp"
messagebox('',ShellExecute(0,ls_cmd,ls_pic,ls_null,ls_null,0))
總結
以上是生活随笔為你收集整理的pb11.5调用系统打印机的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C. Jon Snow and his
- 下一篇: YAML/Properties配置文件与