[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 254
  • Last Modified:

Checking for valid printer

Is there anyway to check in perl that a specific printer is installed on the host machine (using the printer URL)?
0
twist_
Asked:
twist_
  • 2
1 Solution
 
Jay ToopsCommented:
What os? windows?
0
 
TintinCommented:
Just parse the output of lpstat.  

Seriously, do you believe that printers are set up exactly the same on all servers, not to mention different operating systems.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now