>>Hi,
>>
>>How do you print to printer if you know printer IP? Say I have network printer IP as '128.2.12.212' . Can I store it into a variable and the use SET PRINTER TO? Example:
>>
>>cPrinterIp = "128.2.12.212"
>>SET PRINTER TO NAME (cPrinterIp)
>>
>>Will the above work?
>
>A WAG: cPrinterIP="//128.2.12.212/" but there should be the printer name behind that. You should try to install it as a printer through your Windows... maybe you can see it from the DOS prompt, NET SHOW and see what you get.
First, thank you. The custom does have a name for each printer. And this is what I use now, printing to the printer name. But there is also an IP for each printer. And I thought that if I change printing from Names to IPs it would make it less possible that the customer would enter the wrong name.
I have a wireless printer on my computer and will try to set up the name as in your WAG and see how it works.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham