WIN: printer syntax question

Kenneth Brody kenbrody at spamcop.net
Wed Apr 13 10:03:45 PDT 2011


On 4/13/2011 12:38 PM, Coleman wrote:
[...]
>>> Windows XP client, WIN 2003 server, HP 1505 network printer attached.
>>>
>>> Am attempting to configure printing to the above printer using the WIN:printer name syntax.  Using
>>> WIN:MM1505
>>>
>>> When attempting to print I receive the fP error
>>> Cannot open Print Command
>>> WIN:1505 Invalid Argument
[...]
> This is either a v4.8 or 5.0 system, I forgot to check.  I know it's not v5.6.  Their I.T. department just informed me there are net use commands in place for print destinations when the user logs in.  Should they carry over to fP apps, or do I need to include them in the start-up batch file?  The two WIN: printer syntaxes I used are
> WIN:MM1505
> WIN:MM1505 on s25
>
> Both cause fP to issue the invalid argument message.  Other Windows apps&  test pages print fine to this printer.

Note that on my Win7 box, I have a network printer which Windows shows as 
"some printer name on server", but which is really known as "\\server\some 
printer name".

Perhaps "MM1505 on s25" is really "\\s25\M1505"?

If you can't figure out the right name, I believe that fpsupport has a 
little utility that calls the Windows API to enumerate the printers, and 
displays the actual names as Windows knows them.  (The same API call that 
5.6 pmaint uses.)

-- 
Kenneth Brody


More information about the Filepro-list mailing list