<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD><BODY><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=789182418-04062004>I am assuming you have specific data to send to the printer. Use the "To File" object (I/O -> To -> File) and put COM4 as the filename. If it is connected to another PC and is accessible from the network, then the filename would be <A href="file://\ComputernamePrintername">\ComputernamePrintername</A> (don't pay attention to the underline).</SPAN></FONT></DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=789182418-04062004></SPAN></FONT> </DIV><DIV><FONT face=Arial color=#0000ff size=2><SPAN class=789182418-04062004>Note that this method won't work if you want to print from a "Print" control pin in a function call, or from a print selection from a contextual menu.</SPAN></FONT></DIV><BLOCKQUOTE> <DIV><FONT face="Times New Roman" size=2>-----Message d'origine-----<BR><B>De:</B> Carew, William [mailto:william.carew@honeywell.com]<BR><B>Date:</B> 3 juin 2004 19:38<BR><BR></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=483532423-03062004>System is win2000 pro</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=483532423-03062004>VEE version is 5.01</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=483532423-03062004>printer is not default</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=483532423-03062004> com4, serial port, small_label</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=483532423-03062004> generic text only driver</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=483532423-03062004> physically located on another win2000 system</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=483532423-03062004></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=483532423-03062004>There does not seem to be an easy way to print</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=483532423-03062004>a text file (with out font codes etc) to a non default</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=483532423-03062004>printer on my machine. Any ideas?</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><SPAN class=483532423-03062004><FONT face=Arial size=2>My only solution seems to be:</FONT></SPAN></DIV> <DIV><SPAN class=483532423-03062004><FONT face=Arial size=2>User changes default printer to the selected "small_label" printer.</FONT></SPAN></DIV> <DIV><SPAN class=483532423-03062004><FONT face=Arial size=2>Run the vee program that prints using:</FONT></SPAN></DIV> <DIV><SPAN class=483532423-03062004><FONT face=Arial size=2>execute program (PC)</FONT></SPAN></DIV> <DIV><SPAN class=483532423-03062004><FONT face=Arial size=2>run style = minimized</FONT></SPAN></DIV> <DIV><SPAN class=483532423-03062004><FONT face=Arial size=2>wait for prog exit = yes</FONT></SPAN></DIV> <DIV><SPAN class=483532423-03062004><FONT face=Arial size=2>prog with params = notepad /p c: empfilename.txt</FONT></SPAN></DIV> <DIV><SPAN class=483532423-03062004><FONT face=Arial size=2>working directory = c: emp</FONT></SPAN></DIV> <DIV><SPAN class=483532423-03062004><FONT face=Arial size=2> <DIV><SPAN class=483532423-03062004><FONT face=Arial size=2>User changes default printer back to original printer.</FONT></SPAN></DIV></FONT></SPAN></DIV></BLOCKQUOTE>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list, email "vrf@agilent.com". <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".</BODY></HTML>
> a text file (with out font codes etc) to a non default
> printer on my machine. Any ideas?
Georg took care of it so I let this go till now, but I should mention that
you can print to whatever printer you want from VEE but it involves
machinations that not many are willing to go through. Feed this to ArBot and
you'll see what I mean:
MessageID = 0000000011C77702B4B2CB4A9FD20D99053FF730843B3600
Fetch
-SHAWN-
---
You are currently subscribed to vrf as: rsb@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@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".