wireless printer argument

Kenneth Brody kenbrody at spamcop.net
Tue Oct 29 08:47:08 PDT 2013


On 10/28/2013 11:12 PM, Richard Kreiss wrote:
> Top post:
>
> Filepro will not accept an IP address as a destination.

filePro will accept anything that Windows will accept as an argument to the 
OpenPrinter() API.

[...]
>> On Oct 28, 2013, at 9:46 PM, C Day <gliderman.one at frontier.com> wrote:
>>
>>
>> filePro 5.00.14
>> Windows  XP  and 7.
>> Wireless HP Pro 400 color printer.
>>
>> I have tried bunches of combinations of win://\\http address/\printer
>> name and get nothing but invalid argument.
>> On one try I got,   error number -1 windows error #53.
>>
>> what is the secret?

The "secret" is to use "WIN:printername", where "printername" is the name by 
which Windows knows the printer.  Unless "\\http address /\printer name" is 
the Windows name of the printer, that won't work.

If you were in filepro 5.6, you could press F6 in the "destination" field, 
and filePro would display a list of Windows-known printers, and build the 
"WIN:printername" string for you.

I am attaching a program which will enumerate the printers.  Pipe the output 
through "more", find the printer you want, and use the "pPrinterName" value 
for that printer.  (Yes, I know that the mailing list manager will strip the 
attachment.  However, it will give you a link at the bottom of this message 
from which you can download the file.)

-- 
Kenneth Brody
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testprt5.zip
Type: application/x-zip-compressed
Size: 24658 bytes
Desc: not available
Url : http://mailman.celestial.com/pipermail/filepro-list/attachments/20131029/cbc3c026/attachment.bin 


More information about the Filepro-list mailing list