Re: Win32::Printer::Enum::Printer($server)



Sully wrote:
Thomas Kratzwrote:


I tend to use WMI these days. You might want to try this:
.
.
.
.



Thomas,

I am trying to adjust your code, which I think will solve my problem
(Thanks, I was going crazy!) but I am a little lost as to how I might
adjust it to email me if one of the queues error.

the $attrib returns the column heading rather than the data from the
array.

The headers are printed by the first 'print'.
One line of values is printed for each printer of the computer you specify on the command line like


perl script.pl \\MYSERVER

Thomas

--
$/=$,,$_=<DATA>,s,(.*),$1,see;__END__
s,^(.*\043),,mg,@_=map{[split'']}split;{#>J~.>_an~>>e~......>r~
$_=$_[$%][$"];y,<~>^,-++-,?{$/=--$|?'"':#..u.t.^.o.P.r.>ha~.e..
'%',s,(.),\$$/$1=1,,$;=$_}:/\w/?{y,_, ,,#..>s^~ht<._..._..c....
print}:y,.,,||last,,,,,,$_=$;;eval,redo}#.....>.e.r^.>l^..>k^.-
.



Relevant Pages

  • Re: Tech- TZ outhole kicker strength- too strong
    ... post rubber- the ball will eventually settle but is driving me fu#@ing ... Is there a way to adjust the kicker so it does not kick as ...
    (rec.games.pinball)
  • Re: Dell monitor enters "PowerSave Mode" at random Ck Power Settings
    ... There could be nothing wrong with your monitor. ... You may need to only adjust ... I'm drunk and you're crazy. ...
    (microsoft.public.windowsxp.general)
  • Re: over my head
    ... The interval isn't consistent. ... Adjust the end of the range as needed. ... scroll and +? ... im going crazy!! ...
    (microsoft.public.excel.misc)
  • Re: text-formatting program c++ problem
    ... > command lines. ... > Set the left margin to n spaces ... When not operating in fill mode, ... > is said to be operating in adjust mode when operating in this manner. ...
    (comp.lang.cpp)
  • Re: Word should let me fit my document into a certain number of pages
    ... more formatting options than Excel. ... > would bring up a dialog where I could specify a number of pages (such as ... > document content as needed to fit within the specified number of pages, ... > automatically adjust the font size of their content to fit on the slide. ...
    (microsoft.public.word.pagelayout)