完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
Horst ...>你指的是哪个打印设置对话框?我在谈论你打电话给PrintDlg或PrintDlgEx时得到的那个。如果你想能够以交互方式更改打印机的话。
如果你想在幕后简单地改变它,那么Paul的方法是最好的 - 使用WshNetwork对象。 如果您没有或由于某种原因无法使用它,请尝试使用SendKeys。 如果由于某种原因这不起作用或者您只是想了解发生了什么,请编写选择的默认打印机towin.ini并通知VEE运行时更改。 请参阅我对Paul'smessage的回复。想想看,你也可以用ExecuteProgram来做。 不,我不想运行另一个VEE实例。 天啊! 这是我听过的最疯狂的事情。 但是,我也听到了。 很久以前。 那是我退出并开始从Windows编程观点看它的时候。如果所有这些方法都不适合你,那么让你的窗口处理并从中复制位图。 按照你想要的方式进行缩放,根据你想要的方式进行调整,随心所欲地做任何你想要的东西,并将它BitBlt到你选择的打印机上。无论如何,你绝对不限于VEEruntime开始使用的打印机! 这是编程!! 您只受限于yourimagination.-SHAWN ----您目前订阅vrf为:r***@soco.agilent.com要订阅,请发送空白电子邮件至“join-vrf@it.lists.it.agilent.com” 。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此邮件列表发送邮件,请发送电子邮件至“vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Horst... > which print setup dialog do you mean? I was talking about the one you get when you call PrintDlg or PrintDlgEx. That's if you want to be able to change the printer interactively. If you want to simply change it behind the scenes, then Paul's method is best - use the WshNetwork object. If you don't have or for some reason can't use that, give SendKeys a try. If that won't work for some reason or if you just want to understand what's happening, write the default printer of choice to win.ini and notify the VEE runtime of the change. See my reply to Paul's message. Come to think of it, you can do it with ExecuteProgram too. And no, I don't mean running another instance of VEE. Geez! that's about the craziest thing I ever heard. But yeah, I heard it too. Long ago. That's when I quit listening and started looking at it from a Windows programming point of view. Hell, if all those methods don't work for you then get your window handle and copy the bitmap off of it. Scale it how you want, dither it how you want, do whatever you want to it and BitBlt it to the printer of your choice. In any case, you are most definitely not limited to the printer the VEE runtime starts out with! This is PROGRAMMING!! You're limited only by your imagination. -SHAWN- --- You are currently subscribed to vrf as: r***@soco.agilent.com To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
相关推荐
9个回答
|
|
|
使用“toFile”对象而不是“toPrinter”对象。
然后,您可以将转义序列发送到您的打印机。最好的问候B. Aufenanger ------------------------------------------------- ----------- Somatec B. Aufenanger& M. BernhardtJagdweg 7aD-82041 DeisenhofenTelefon:(089)613 984 91Fax。 :(089)613 981 23Email:mailto:Aufenanger@somatec.dehomepage:http://www.somatec.com/------------------------ ----------------------------------------- Ursprngliche Nachricht ----- Von: Kunkel,Horst [mailto:Kunkel@hansa.de] Gesendet:Dienstag,1。2003年4月08:59安:VEE vrfBetreff:[vrf]打印机在运行时缩放和定位?你好vrf用户,有没有人知道是否有任何解决方案 在运行时更改功能面板打印输出的方向和缩放? 可以由用户选择还是仅通过相应的程序选择?是否可以删除打印输出上的未完成时间戳?GreetingsHorst ______________________________________________________________________---您目前订阅了vrf:Aufenanger@somatec.de订阅时发送空白电子邮件至“ join-vrf@it.lists.it.agilent.com“。要取消订阅,请发送一封空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要发送邮件到此邮件列表,请发送电子邮件至”vrf @“ it.lists.it.agilent.com“。如果您需要有关邮件列表的帮助,请发送邮件至”owner-vrf@it.lists.it.agilent.com“.---您目前订阅了vrf: r***@soco.agilent.com要订阅,请发送空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com “。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@it.lists.it.agilent.com“。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Use the "toFile" object instead of the "toPrinter" object. Then you are able to send the escape sequences to your printer. Best regards B. Aufenanger ------------------------------------------------------------ Somatec B. Aufenanger & M. Bernhardt Jagdweg 7a D-82041 Deisenhofen Telefon : (089) 613 984 91 Fax. : (089) 613 981 23 Email : mailto:Aufenanger@somatec.de homepage : http://www.somatec.com/ ------------------------------------------------------------ -----Ursprngliche Nachricht----- Von: Kunkel, Horst [mailto:Kunkel@hansa.de] Gesendet: Dienstag, 1. April 2003 08:59 An: VEE vrf Betreff: [vrf] printer scaling and orientation at runtime? Hello vrf users, does anybody know if there is any solution to change orientation and scaling of a function panel printout at runtime? Selectable by the user or simply by the program if appropriate? Is it possible to get rid of the unwished time stamp on the printout? Greetings Horst ______________________________________________________________________ --- You are currently subscribed to vrf as: Aufenanger@somatec.de To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
|
|
|
|
你好B. Aufenanger,谢谢你的回复。
但是(你好agilents =:o)这是打印根源的坚实工作。 在我看来,应该可以打印例如 存储在不同面板内的图像和图形,与该面板的方向和尺寸无关,只需通过编程方式进行缩放和旋转即可。 似乎在运行时甚至不能改变打印机是可能的,它始终是程序启动时的标准打印机。 或者我忽略了什么?问候霍斯特----- Ursprngliche Nachricht -----冯:B Aufenanger [mailto:aufenanger@somatec.de] Gesendet:Mittwoch,2。2003年4月14:01An:VEE vrfBetreff:[vrf] AW:运行时的打印机缩放和方向?使用“toFile”对象而不是“toPrinter”对象。 然后,您可以将转义序列发送到您的打印机。最好的问候B. Aufenanger ------------------------------------------------- ----------- Somatec B. Aufenanger& M. BernhardtJagdweg 7aD-82041 DeisenhofenTelefon:(089)613 984 91Fax。 :(089)613 981 23Email:mailto:Aufenanger@somatec.dehomepage:http://www.somatec.com/------------------------ ----------------------------------------- Ursprngliche Nachricht ----- Von: Kunkel,Horst [mailto:Kunkel@hansa.de] Gesendet:Dienstag,1。2003年4月08:59安:VEE vrfBetreff:[vrf]打印机在运行时缩放和定位?你好vrf用户,有没有人知道是否有任何解决方案 在运行时更改功能面板打印输出的方向和缩放? 可以由用户选择还是仅通过相应的程序选择?是否可以删除打印输出上的未完成时间戳?GreetingsHorst ______________________________________________________________________---您目前订阅了vrf:Aufenanger@somatec.de订阅时发送空白电子邮件至“ join-vrf@it.lists.it.agilent.com“。要取消订阅,请发送一封空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要发送邮件到此邮件列表,请发送电子邮件至”vrf @“ it.lists.it.agilent.com“。如果您需要有关邮件列表的帮助,请发送邮件至”owner-vrf@it.lists.it.agilent.com“.---您目前订阅了vrf: kunkel@hansa.de要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。 要将邮件发送到此邮件列表,请发送电子邮件至“vrf@it.lists.it.agilent.com”。如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com” .---您目前订阅了vrf: r***@soco.agilent.com要订阅,请发送空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com “。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@it.lists.it.agilent.com“。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Hello B. Aufenanger, thanks for your response. But (hello agilents =:o)this is solid work down to the roots of printing. In my opinion it should be possible to print e.g. images and graphs stored within different panels independent from the orientation and dimensions of that panel just by scaling and rotating it programmatically. It seems that at runtime by no means not even changing of the printer is possible, its always the standard printer at start up of the program. Or have I overlooked something? regards Horst -----Ursprngliche Nachricht----- Von: B Aufenanger [mailto:aufenanger@somatec.de] Gesendet: Mittwoch, 2. April 2003 14:01 An: VEE vrf Betreff: [vrf] AW: printer scaling and orientation at runtime? Use the "toFile" object instead of the "toPrinter" object. Then you are able to send the escape sequences to your printer. Best regards B. Aufenanger ------------------------------------------------------------ Somatec B. Aufenanger & M. Bernhardt Jagdweg 7a D-82041 Deisenhofen Telefon : (089) 613 984 91 Fax. : (089) 613 981 23 Email : mailto:Aufenanger@somatec.de homepage : http://www.somatec.com/ ------------------------------------------------------------ -----Ursprngliche Nachricht----- Von: Kunkel, Horst [mailto:Kunkel@hansa.de] Gesendet: Dienstag, 1. April 2003 08:59 An: VEE vrf Betreff: [vrf] printer scaling and orientation at runtime? Hello vrf users, does anybody know if there is any solution to change orientation and scaling of a function panel printout at runtime? Selectable by the user or simply by the program if appropriate? Is it possible to get rid of the unwished time stamp on the printout? Greetings Horst ______________________________________________________________________ --- You are currently subscribed to vrf as: Aufenanger@somatec.de To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". --- You are currently subscribed to vrf as: kunkel@hansa.de To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
|
|
|
|
你好detlef,这是今天的解决方案。
谢谢。 我将尝试VEE.regards的两个实例,Horst ----- Ursprngliche Nachricht ----- Von:Baranski,Detlef [mailto:Detlef.Baranski@PILKINGTON.de] Gesendet:Donnerstag,2003年4月15日15: 18An:VEE vrfCc:'Kunkel,Horst'Betreff:[vrf]打印机在运行时缩放和定位?Hello列表,我在过去确实遇到过类似的问题,并从安捷伦得到以下提示:1。 基本问题是Windows本身,因为它在onesession期间只使用一台打印机。使用Vee,您可以声明一台具有方向和缩放的打印机,以满足您的需求。 如果您需要不同的输出(打印设计),您唯一的机会就是使用具有不同“标准打印机设计”的新vee程序。 Thenyou可以从Vee-No1程序中调用Vee-No2程序,依此类推。我确实尝试根据microsofthelp列表使用一些Windows库函数,但它不会在vee运行时更改标准打印机。 我认为上面的解决方案是目前唯一一个我听说过的解决方案。 我也希望得到新的信息,也许还有更新,安捷伦在该领域有更好的支持。我的问题是我想在纸上打印我的数据,同时用Acrobat作为pdf文件。 现在你可以得到一个50欧元的程序自动完成它,但在过去的2个vee会话的运行是唯一的解决方案。由于我是这个名单上的“新秀”,我为可能的错误道歉;。)最好的问候 ,detlef ---------- Ursprngliche Nachricht ----- Von:Kunkel,Horst [mailto:Kunkel@hansa.de] Gesendet:Mittwoch,2。2003年4月17日:21:VEE vrfBetreff:[vrf ] AW:运行时的打印机缩放和定位?Hello B. Aufenanger,感谢您的回复。 但是(你好agilents =:o)这是打印根源的坚实工作。 在我看来,应该可以打印例如 存储在不同面板内的图像和图形,与该面板的方向和尺寸无关,只需通过编程方式进行缩放和旋转即可。 似乎在运行时甚至不能改变打印机是可能的,它始终是程序启动时的标准打印机。 或者我忽略了什么?问候霍斯特----- Ursprngliche Nachricht -----冯:B Aufenanger [mailto:aufenanger@somatec.de] Gesendet:Mittwoch,2。2003年4月14:01An:VEE vrfBetreff:[vrf] AW:运行时的打印机缩放和方向?使用“toFile”对象而不是“toPrinter”对象。 然后,您可以将转义序列发送到您的打印机。最好的问候B. Aufenanger ------------------------------------------------- ----------- Somatec B. Aufenanger& M. BernhardtJagdweg 7aD-82041 DeisenhofenTelefon:(089)613 984 91Fax。 :(089)613 981 23Email:mailto:Aufenanger@somatec.dehomepage:http://www.somatec.com/------------------------ ----------------------------------------- Ursprngliche Nachricht ----- Von: Kunkel,Horst [mailto:Kunkel@hansa.de] Gesendet:Dienstag,1。2003年4月08:59安:VEE vrfBetreff:[vrf]打印机在运行时缩放和定位?你好vrf用户,有没有人知道是否有任何解决方案 在运行时更改功能面板打印输出的方向和缩放? 用户可以选择还是仅通过适当的程序选择?是否可以删除打印输出上的未送达时间戳?GreetingsHorst ______________________________________________________________________此消息和任何附件是保密的,仅供收件人使用,并且可能具有法律特权。 任何其他分发,使用或重新生产都是未经授权和禁止的。 如果您错误地收到了此消息,请立即通知发件人并从您的系统中删除该消息。 访问我们的网站http://www.pilkington.com---您目前订阅了vrf:L.Smidt@GeoDelft.nl订阅时发送一封空白电子邮件至“join-vrf@it.lists.it.agilent 。取消订阅发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要发送邮件到此邮件列表,请发送电子邮件至“vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”.---您目前订阅vrf为:r***@soco.agilent.com要订阅发送空白 发送电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此邮件列表发送邮件,请发送电子邮件至 “vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Hello detlef, this is the solution for today. Thank you. I will try the two instances of VEE. regards, Horst -----Ursprngliche Nachricht----- Von: Baranski, Detlef [mailto:Detlef.Baranski@PILKINGTON.de] Gesendet: Donnerstag, 3. April 2003 15:18 An: VEE vrf Cc: 'Kunkel, Horst' Betreff: [vrf] Printer scaling and orientation at runtime? Hello list, i did have similar problem in the past and got the following hint from Agilent: 1. basic problem is windows itself as it uses just one printer during one session. With Vee you can declare one printer with orientation and scaling which fits to your needs. 2. If you need different outputs (print designs), the only chance you have is to use a new vee program with a different "standard printer design". Then you can call the Vee-No2 program from Vee-No1 program and so on. I did try to use some Windows library functions according to the microsoft help list, but it does not change the standard printer during vee runtime. I think the solution above is currently the only one i have heard of. I also hope to get new infos and maybe some update with better support in that area from Agilent. My problem was that i wanted to print my data on paper and simultanously as a pdf file with Acrobat. Now you can get a program for 50 Euro which did it automatically, but in the past the run of 2 vee sessions was the only solution for that. As i am a " rookie " on this list, i apologyse for possible mistakes ;.) Best regards, detlef ----- -----Ursprngliche Nachricht----- Von: Kunkel, Horst [mailto:Kunkel@hansa.de] Gesendet: Mittwoch, 2. April 2003 17:21 An: VEE vrf Betreff: [vrf] AW: printer scaling and orientation at runtime? Hello B. Aufenanger, thanks for your response. But (hello agilents =:o)this is solid work down to the roots of printing. In my opinion it should be possible to print e.g. images and graphs stored within different panels independent from the orientation and dimensions of that panel just by scaling and rotating it programmatically. It seems that at runtime by no means not even changing of the printer is possible, its always the standard printer at start up of the program. Or have I overlooked something? regards Horst -----Ursprngliche Nachricht----- Von: B Aufenanger [mailto:aufenanger@somatec.de] Gesendet: Mittwoch, 2. April 2003 14:01 An: VEE vrf Betreff: [vrf] AW: printer scaling and orientation at runtime? Use the "toFile" object instead of the "toPrinter" object. Then you are able to send the escape sequences to your printer. Best regards B. Aufenanger ------------------------------------------------------------ Somatec B. Aufenanger & M. Bernhardt Jagdweg 7a D-82041 Deisenhofen Telefon : (089) 613 984 91 Fax. : (089) 613 981 23 Email : mailto:Aufenanger@somatec.de homepage : http://www.somatec.com/ ------------------------------------------------------------ -----Ursprngliche Nachricht----- Von: Kunkel, Horst [mailto:Kunkel@hansa.de] Gesendet: Dienstag, 1. April 2003 08:59 An: VEE vrf Betreff: [vrf] printer scaling and orientation at runtime? Hello vrf users, does anybody know if there is any solution to change orientation and scaling of a function panel printout at runtime? Selectable by the user or simply by the program if appropriate? Is it possible to get rid of the unwished time stamp on the printout? Greetings Horst ______________________________________________________________________ This message and any attachments are confidential, for the exclusive use of the addressee and may be legally privileged. Any other distribution, use or reproduction is unauthorised and prohibited. If you have received this message in error, please notify the sender immediately and delete the message from your system. Visit our internet site at http://www.pilkington.com --- You are currently subscribed to vrf as: L.Smidt@GeoDelft.nl To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
|
|
|
|
Shawn ......似乎是一个误解 - 问题是如何自动更改打印机输出 - 没有任何移动和单击鼠标按钮。问题是Vee使用标准打印机进行整个ve-session-更改标准
打印机通过Windows功能(对于不同的Windows版本不同)并没有改变标准打印机的启动Vee-Program。 所描述的解决方案。在这里清楚地说明一个例子:你有一个面板要打印在纸上,比如说打印机1,你想通过printer2打印出同样的东西,这就是我的情况Acrobat distiller.And 你想要这样做没有任何额外点击复选框和标准打印机设备的手动更改。我已经看到你目前推荐一个键盘宏程序 - 这是onepossibilty。你看到其他人吗?最好的问候,detlef ----- Ursprngliche Nachricht- ----冯:Shawn Fessenden [mailto:shawn@testech-ltd.com] Gesendet:Freitag,4。2003年4月12:53An:VEE vrfCc:'Kunkel,Horst'Betreff:[vrf] RE:打印机缩放和定位 在运行时?Detlef ...> 1.基本问题是Windows本身>因为它在>一个会话期间只使用一台打印机.WHAT ?? 那是完全没有意义的。 不,事实并非如此。 使用printsetup对话框。 你必须更改默认打印机。至于生成PDF文件,如果我没记错,那只是选择不同的打印机,对吧? 您尝试使用哪些Windows功能?-SHAWN ----您目前订阅了vrf:Detlef.Baranski@PILKINGTON.de订阅时发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com “。要取消订阅,请发送一封空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要发送邮件到此邮件列表,请发送电子邮件至”vrf@it.lists.it.agilent.com“。如果您 需要帮助邮件列表发送邮件给“owner-vrf@it.lists.it.agilent.com”。此邮件和任何附件都是保密的,仅供收件人使用,可能具有法律特权。 任何其他分发,使用或重新生产都是未经授权和禁止的。 如果您错误地收到了此消息,请立即通知发件人并从您的系统中删除该消息。 访问我们的网站http://www.pilkington.com---您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送空白电子邮件至“join-vrf@it.lists.it.agilent 。取消订阅发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要发送邮件到此邮件列表,请发送电子邮件至“vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Shawn... Seems to be a misunderstanding- Question is how to change the printer output automatically- without any mousemovement and clicking the mouse-buttons. The problem is that Vee uses the standard printer for the whole vee-session - a change of the standard printer via windows functions ( which are different for the different Windows versions) did not change the standard printer for the started Vee-Program. Thereore the described solution. To make it clear here one example: You have a panel which you want to print out on paper via lets say printer1 , and you want to print out the same thing via printer2 which is i my case the Acrobat distiller. And you want to do it WITHOUT any additional clicks of checkboxes and manual change of standard printer device. I have seen that you currently recommend a Keyboard Macro Program- thats one possibilty. Do you see others ? Best regards, detlef -----Ursprngliche Nachricht----- Von: Shawn Fessenden [mailto:shawn@testech-ltd.com] Gesendet: Freitag, 4. April 2003 12:53 An: VEE vrf Cc: 'Kunkel, Horst' Betreff: [vrf] RE: Printer scaling and orientation at runtime? Detlef... > 1. basic problem is windows itself > as it uses just one printer during > one session. WHAT?? That's TOTALLY INSANE. No, that's not the case at all. Use the print setup dialog. You'll have to change the default printer. As for producing a PDF file, if I remember correctly that's just selecting a different printer, right?? What Windows functions did you try to use? -SHAWN- --- You are currently subscribed to vrf as: Detlef.Baranski@PILKINGTON.de To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". This message and any attachments are confidential, for the exclusive use of the addressee and may be legally privileged. Any other distribution, use or reproduction is unauthorised and prohibited. If you have received this message in error, please notify the sender immediately and delete the message from your system. Visit our internet site at http://www.pilkington.com --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
|
|
|
|
你好Shawn,打印设置对话框是什么意思?
我可以在Windows中更改defaultprinter,或者在winword a.s.f.等其他程序中更改当前的打印机。 但在运行VEE程序的时候,VEE会在启动时粘在打印机上.Horst ----- Ursprngliche Nachricht ----- Von:Shawn Fessenden [mailto:shawn@testech-ltd.com] Gesendet:Freitag,4月4日 2003 12:53An:VEE vrfCc:'Kunkel,Horst'Betreff:[vrf] RE:打印机在运行时缩放和定位?Detlef ...> 1.基本问题是Windows本身>因为它在>一个会话期间只使用一台打印机 。什么?? 那是完全没有意义的。 不,事实并非如此。 使用printsetup对话框。 你必须更改默认打印机。至于生成PDF文件,如果我没记错,那只是选择不同的打印机,对吧? 您尝试使用哪些Windows功能?-SHAWN ----您目前订阅了vrf:kunkel@hansa.de订阅时发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。 要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要发送邮件到此邮件列表,请发送电子邮件至“vrf@it.lists.it.agilent.com”。如果您需要帮助 邮件列表发送邮件至“owner-vrf@it.lists.it.agilent.com”.---您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送空白电子邮件至“加入” -vrf@it.lists.it.agilent.com“。要取消订阅,请发送一封空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件,请发送电子邮件至”vrf @ it .lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Hello Shawn, which print setup dialog do you mean? I can change the default printer within windows or change the current printer within other programs like winword a.s.f. but while running a VEE program VEE sticks to the printer set at start up. Horst -----Ursprngliche Nachricht----- Von: Shawn Fessenden [mailto:shawn@testech-ltd.com] Gesendet: Freitag, 4. April 2003 12:53 An: VEE vrf Cc: 'Kunkel, Horst' Betreff: [vrf] RE: Printer scaling and orientation at runtime? Detlef... > 1. basic problem is windows itself > as it uses just one printer during > one session. WHAT?? That's TOTALLY INSANE. No, that's not the case at all. Use the print setup dialog. You'll have to change the default printer. As for producing a PDF file, if I remember correctly that's just selecting a different printer, right?? What Windows functions did you try to use? -SHAWN- --- You are currently subscribed to vrf as: kunkel@hansa.de To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
|
|
|
|
你好Shawn,我不认为我受到想象力的限制但是......谢谢你,我有很多功课要做!
我会尝试一下。 如果它可以按你所说的去做,我想我会发现。否则我会继续向vrf发送无聊的问题; O).Horst -----原始信息-----来自:Shawn Fessenden [mailto: 发送时间:2003年4月8日星期二5:34 AM:VEE vrfSubject:[vrf] RE:AW:RE:运行时打印机缩放和方向?Horst ...>打印设置对话框做什么 你的意思是?我在谈论你打电话给PrintDlg或PrintDlgEx时得到的那个。如果你想能够以交互方式更换打印机的话。 如果你想在幕后简单地改变它,那么Paul的方法是最好的 - 使用WshNetwork对象。 如果您没有或由于某种原因无法使用它,请尝试使用SendKeys。 如果由于某种原因这不起作用或者您只是想了解发生了什么,请编写选择的默认打印机towin.ini并通知VEE运行时更改。 请参阅我对Paul'smessage的回复。想想看,你也可以用ExecuteProgram来做。 不,我不想运行另一个VEE实例。 天啊! 这是我听过的最疯狂的事情。 但是,我也听到了。 很久以前。 那是我退出并开始从Windows编程观点看它的时候。如果所有这些方法都不适合你,那么让你的窗口处理并从中复制位图。 按照你想要的方式进行缩放,根据你想要的方式进行调整,随心所欲地做任何你想要的东西,并将它BitBlt到你选择的打印机上。无论如何,你绝对不限于VEEruntime开始使用的打印机! 这是编程!! 你只受限于yourimagination.-SHAWN ----你目前订阅了vrf:kunkel@hansa.de订阅时发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”.To 取消订阅发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要发送邮件到此邮件列表,请发送电子邮件至“vrf@it.lists.it.agilent.com”。如果您需要帮助 邮件列表向“owner-vrf@it.lists.it.agilent.com”发送邮件.---您目前订阅vrf为:r***@soco.agilent.com要订阅,请发送空白电子邮件至“join- vrf@it.lists.it.agilent.com“。要取消订阅,请发送一封空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件,请发送电子邮件至”vrf @ it。 lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Hello Shawn, I don't think that I'm limited by my imagination but.. thank you, I have a lot of homework to do! I will try it out. And if its possible to do as you say I think I will find out. Otherwise I will continue send boring questions to the vrf =;O) . Horst -----Original Message----- From: Shawn Fessenden [mailto:shawn@testech-ltd.com] Sent: Tuesday, April 08, 2003 5:34 AM To: VEE vrf Subject: [vrf] RE: AW: RE: Printer scaling and orientation at runtime? Horst... > which print setup dialog do you mean? I was talking about the one you get when you call PrintDlg or PrintDlgEx. That's if you want to be able to change the printer interactively. If you want to simply change it behind the scenes, then Paul's method is best - use the WshNetwork object. If you don't have or for some reason can't use that, give SendKeys a try. If that won't work for some reason or if you just want to understand what's happening, write the default printer of choice to win.ini and notify the VEE runtime of the change. See my reply to Paul's message. Come to think of it, you can do it with ExecuteProgram too. And no, I don't mean running another instance of VEE. Geez! that's about the craziest thing I ever heard. But yeah, I heard it too. Long ago. That's when I quit listening and started looking at it from a Windows programming point of view. Hell, if all those methods don't work for you then get your window handle and copy the bitmap off of it. Scale it how you want, dither it how you want, do whatever you want to it and BitBlt it to the printer of your choice. In any case, you are most definitely not limited to the printer the VEE runtime starts out with! This is PROGRAMMING!! You're limited only by your imagination. -SHAWN- --- You are currently subscribed to vrf as: kunkel@hansa.de To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
|
|
|
|
Horst -Othert我会继续向vrf =; O)发送问题。那没关系,实际的例子让我保持警惕。
如果这对您不起作用,请再次发布,我将在不使用任何VEE服务的情况下编写一个从WILLE打印图形的示例! 并且可能没有使用自定义dll,如果我可以使用VEE 5管理它.GDI编程是一个实现 - 我打赌每个人都会喜欢它。-SHAWN ----您目前订阅了vrf as:r***@soco.agilent.comTo 订阅发送一封空白电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此发送消息 邮件列表,请发送电子邮件至“vrf@it.lists.it.agilent.com”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 Horst - Otherwise I will continue send boring questions to the vrf =;O). That's ok, practical examples keep me on my toes. If that doesn't work out for you, post again and I'll work up an example of printing graphics from VEE without using any VEE services what so ever! And probably without using a custom dll, if I can manage it with VEE 5. GDI programming is a real hoot - I bet everybody would love it. -SHAWN- --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
|
|
|
|
>我正在使用供应商dll来>使用他们的数字io板。>声明这些函数>使用__cdecl>前缀调用。感谢Georg。
我想知道如果你没有指定,V5如何确定使用哪种约定? 也许我从来没有遇到过这个问题。 哦,好吧,我想我可以建立几个dll并找出答案。-SHAWN ----您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists .it.agilent.com“。要取消订阅,请发送空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要发送邮件到此邮件列表,请发送电子邮件至”vrf@it.lists.it.agilent .COM”。 如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。 以上来自于谷歌翻译 以下为原文 > I am using a vendor dll for > using their digital io board. > Those functions are declared > to be called with the __cdecl > prefix. Thank you Georg. I wonder how V5 figures out which convention to use if you don't specify? Maybe I just never ran into the problem. Oh well, I guess I can just build a few dlls and find out. -SHAWN- --- You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email] To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com". To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". To send messages to this mailing list, email "vrf@it.lists.it.agilent.com". If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". |
|
|
|
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
1844 浏览 0 评论
2739 浏览 1 评论
2640 浏览 1 评论
2449 浏览 5 评论
3458 浏览 3 评论
1844浏览 0评论
416浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 21:49 , Processed in 0.977904 second(s), Total 88, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2236