in reply to Re^2: Win32::Printer::Enum - can't find network printer
in thread Win32::Printer::Enum - can't find network printer

Looking at the underlying Win32 API method EnumPrinters, you could try passing in the string

'Print Provider!!\\Machine'

to search the machine \\Machine for printers.

In your case, that could be:

my @printer = Printers("Print Provider!!\\\\$server");

Replies are listed 'Best First'.
Re^4: Win32::Printer::Enum - can't find network printer
by simonask (Initiate) on Aug 27, 2010 at 14:41 UTC
    thanks ahead
    my @printer = Printers("Print Provider!!\\\\$server");
    didn't work but
    my @printer = Printers("\\\\$server");

    works !
    love and peace~