Hi,I am new to VBScript, I am trying to get all the printers status on a network. Is there a script to do that? thank youRead more

Sorry, you do not have permission to send message.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
We want to connect the people who have knowledge to the people who need it, to bring together people with different perspectives so they can understand each other better, and to empower everyone to share their knowledge. All that you need is create an account. Join our community. Create your feed, follow your desired categories and users and keep updated.Besides gaining reputation with your questions and answers, you receive badges for being especially helpful. Badges appear on your profile page, questions & answers.Use your eared points to cread freely sticky questions and get answers rapidly.
We want to connect the people who have knowledge to the people who need it, to bring together people with different perspectives so they can understand each other better, and to empower everyone to share their knowledge.
Hello, Is it possible to change to orientation of an inverted mounting robot. I need to see the robot using 4D graphics in the TeachPendant exactly as it phisically mountend. It’s really helpful to easilly jog the robot. Thank you for your help
Hi, Go to SYSTEM => SYSTEM Variables => CELL_GRP => CELL_GRP_T : you can change the values of XYZ WPR to adjust the mounting in the 4D graphics. It only adjust the view. but please, if you have a inverted mounted robot, You must controlled start => maintenace “mount angle setting” you haRead more
Hi,
Go to SYSTEM => SYSTEM Variables => CELL_GRP => CELL_GRP_T :
you can change the values of XYZ WPR to adjust the mounting in the 4D graphics. It only adjust the view.
but please, if you have a inverted mounted robot, You must controlled start => maintenace
“mount angle setting” you have to choose 180 (Upside down)
Have a nice day
See lessI have an excel files which contains many sheets. for evey sheet, the name is equal to name of student. How Sort worksheets by alphabet using vba Excel? thank you
hello, try this code it will help you: Private Sub CommandButton1_Click() Application.ScreenUpdating = False 'disable screen update for performance Dim i, j As Integer Dim SheetsCount As Integer SheetsCount = Sheets.Count For i = 1 To SheetsCount - 1 For j = i + 1 To SheetsCount If Sheets(j).NameRead more
Hi I have a variables that is declared outsides fucntions. How can I use and change these variables inside function usign Python? thank you
Follow this example to create a variable outside functions, and use it inside the functions: MyVariable = 99 #this is a global variable def changeAndPrint_GlobalVariable(): global MyVariable #use global variable in this function with "global" keyword print('Global variable "MyVariable" before changeRead more
Follow this example to create a variable outside functions, and use it inside the functions:
[crayon-68461575f372f969265704/]
This code will print:
[crayon-68461575f3734110953345/]
Hi, What is the difference between P_TRING and |P| ladder instruction. and why I should affect a tag below the two instructions? Thanks for replies
Hi, use P_TRIG to monitior everything in the left of this instruction. It turns to ON for one scan when the entire set of logic to the left goes from off to on use -|P| to monitor a single tag. it turns on one scan when the tag goes from off to on. Best regards
Hi,
use P_TRIG to monitior everything in the left of this instruction. It turns to ON for one scan when the entire set of logic to the left goes from off to on
use -|P| to monitor a single tag. it turns on one scan when the tag goes from off to on.
Best regards
See lessHi everyone, I am new in PHP. I have this function which convert all alphabetic characters to uppercase: Read more
Hi, This is the syntax to concatenate strings: $text1 = "hello"; $text2 = "world"; $text = $text1 . ' ' . $text2; For your code, use this: function UppercaseText($text_list) { $GlobalText = ""; $TableSize = sizeof($text_list);; for ($i = 0; $i < $TableSize; $i++) { $BigText[] = strtoupper($text_lRead more
Hi,
This is the syntax to concatenate strings:
[crayon-68461575f3940167098425/]
For your code, use this:
[crayon-68461575f3945498421060/]
Have a good day
Please use this code: $first_date = new DateTime("2022-01-01"); $second_date = new DateTime("2023-02-02"); $difference = $first_date->diff($second_date); echo "<difference> = " . $difference->y . " years, " . $difference->m." months, ".$difference->d." days " . "<difference in dRead more
Please use this code:
[crayon-68461575f3adb389273756/]
It works as you expect
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
here is the code if you need to check if a printer is connected to nework: Set objWMIService = GetObject("winmgmts:\\.\root\cimv2") Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_Printer WHERE Name = 'HP DeskJet 2720E'") For Each objItem in colItems If objItem.Network = True Then WScripRead more
here is the code if you need to check if a printer is connected to nework:
[crayon-68461575f30e5318592360/]
This script uses the Windows Management Instrumentation (WMI) service to query for printers with the name “HP DeskJet”. It then checks the value of the
Network
property for each printer to determine whether it is connected to the network. If theNetwork
property isTrue
, the script outputs a message indicating that the printer is connected to the network. If theNetwork
property isFalse
, the script outputs a message indicating that the printer is not connected to the network.I hope this helps!
See less