让选择保存路径和文件名,可我的程序中已经有 默认文件名和路径了,以前用PDFCREATOR,没问题,但是生成出来的PDF没法查找,现在改为用doPDF v7 ,又必须手工选择一下保存路径。不知doPDF v7 能否有接口可以设置默认文件名和路径呢?
6 个解决方案
#1
#2
程序中已经有 默认文件名和路径了,这是PB的,不是doPDF,看一下doPDF里是否有设置,不弹出路径和文件名
你可以采用pdfFactory Pro ,这个比较好用
#3
不知doPDF有不有程序可以调用设置的 接口函数哦
#4
pdfFactory Pro 用程序调用 dw_1.SaveAs("4353535.pdf", PDF!, False)
会弹出一个对话框,能不能自动就保存了PDF文件呢????
会弹出一个对话框,能不能自动就保存了PDF文件呢????
#5
dw_control.Object.DataWindow.Print.{property} //楼主试试以下两个属性
DocumentName A string containing the name that will display in the print queue when the user sends the contents of the DataWindow object to the printer.Painter: Document Name option.
Filename A string containing the name of the file to which you want to print the report. An empty string means send to the printer.Painter: Cannot be set in painter.
DocumentName A string containing the name that will display in the print queue when the user sends the contents of the DataWindow object to the printer.Painter: Document Name option.
Filename A string containing the name of the file to which you want to print the report. An empty string means send to the printer.Painter: Cannot be set in painter.
#6
pdfFactory Pro 怎么可以自动打印到PDF,不用弹出对话框,而且可以将 文件名和路径直接传进去
#1
#2
程序中已经有 默认文件名和路径了,这是PB的,不是doPDF,看一下doPDF里是否有设置,不弹出路径和文件名
你可以采用pdfFactory Pro ,这个比较好用
#3
不知doPDF有不有程序可以调用设置的 接口函数哦
#4
pdfFactory Pro 用程序调用 dw_1.SaveAs("4353535.pdf", PDF!, False)
会弹出一个对话框,能不能自动就保存了PDF文件呢????
会弹出一个对话框,能不能自动就保存了PDF文件呢????
#5
dw_control.Object.DataWindow.Print.{property} //楼主试试以下两个属性
DocumentName A string containing the name that will display in the print queue when the user sends the contents of the DataWindow object to the printer.Painter: Document Name option.
Filename A string containing the name of the file to which you want to print the report. An empty string means send to the printer.Painter: Cannot be set in painter.
DocumentName A string containing the name that will display in the print queue when the user sends the contents of the DataWindow object to the printer.Painter: Document Name option.
Filename A string containing the name of the file to which you want to print the report. An empty string means send to the printer.Painter: Cannot be set in painter.
#6
pdfFactory Pro 怎么可以自动打印到PDF,不用弹出对话框,而且可以将 文件名和路径直接传进去