Add IP Printer through UNIX Command in Remote Desktop 3

Thanks for reading,
I use RD 3 to administer 5 schools in my district. In my elem. schools, I use local logins, and would like to install printers through Command Line
I cant find it anywhere online. PLEASE HELP!
Do I use the lpadmin command ex
lpadmin -p Printer_Name -s ipaddress
Bet I get an "unknown option 's'! failure. I feel im almost there, I have tried several commands online, PLEASE HELP save me hours of time.

I do not believe that the lpadmin that comes with OS X recognizes the -s flag. Try something along the lines of
<pre style="overflow: auto;font-size:small; font-family: Monaco, 'Courier New', Courier, monospace; color: #222; background: #ddd; padding: .3em .8em .3em .8em; font-size: 9px;">lpadmin -p printerName -E -v deviceURI -P path2PPD</pre>
Matt

Similar Messages

  • Software Update through UNIX command

    Hey all,
    Just a quick question regarding Software Update through Remote Desktop.
    I'm running the UNIX command softwareupdate -i -a but it hang. I'm guessing it's due to our proxy, and that we have to login to the proxy server in order for the system to continue fetching the updates.
    Basically, what I'm asking is if there is a way to bypass this, i.e. a command to follow the systemupdate -i -a command which will log me into the proxy?
    Cheers,
    Nick

    Hi.
    I tried the command:
    defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://ip.address.of.server:8088/
    softwareupdate -i -a
    but all I get back is this:
    2011-02-04 12:16:14.482 defaults[874]
    Rep argument is not a dictionary
    Defaults have not been changed.
    /bin/bash: line 2: http://xx.xxx.xx.xxx:8088: No such file or directory
    Software Update Tool
    Thanks for your help so far. Much appreciated.

  • Calling an Unix command on Remote sun Server in a Java Code

    Hello All
    I have an Java Application which is run on windows server (I)
    I have another Sun Server (II)
    I want to call an unix command on server(II) from java application which is on server(I)
    I am using Samba Server in order to share files between Windows Server and Unix Server
    Can I use samba in order to call command
    or is there any way to open an telnet session within java application
    I will be grateful if you give me some suggestion on this issue
    Regards
    BEKIR BALCIK
    Argela Technologies ...

    Can I use samba in order to call commandYes, smaba supports "magic" files that cause a program to be executed when they are accessed. Note, this does not provide for arguments but you can put these in a file which you command reads.
    or is there any way to open an telnet session within java applicationYes. just use a Socket connection.

  • Using UNIX command to copy desktop files/folders

    Hello All. I need help using UNIX command(s) to copy text documents and or folders from my lab computers to my desktop at home. Since I have such a slow connection, I think this will work best. I need help with the cp command and the path mostly. Since all files would be in folders on the desktop (including documents (that "missed" the folders), I believe I could simply copy desktop contents? Thanks, J Langlois

    What you want to do is SCP (secure copy) your documents to your remote host.
    send this command to the computer with the documents
    scp ~/Desktop/FILEOR_FOLDERNAME USERNAME@REMOTE_COMPUTER:~/Desktop/
    Replace all the stuff in UPPERCASE with the correct vales for your situation.
    Mini (Intel Core Duo)   Mac OS X (10.4.8)  

  • Hp laser jet 1102 printer dosen't work on remote desktop

    i have a problem on printer HP laserjet 1102 on printing on remote desktop .
    my printer connected to my computer and work ok but when i open anther computer remote it appear on it but not printing
    if this printer dosen't support this option what is the model you advice me
    many thanks for you

    Try to run the print and scan doctor and check the results. 
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c03275041
    Does it gives you an error message when you try to print from the remote desktop?
    **Click the KUDOS star on the left to say 'Thanks'**
    Please mark a reply "ACCEPTED AS SOLUTION" if it solved your problem, so others can find it.

  • Print Screen using new Microsoft Remote Desktop app on Mac

    I am trying to figure out how to do a screen capture of a window using the new Microsoft Remote Destkop app on my MacBook Pro.  I don't have a numeric keypad so the Ctrl+Alt+Minus on the keypad does not work.  On the older remote desktop
    client there were preferences to remap this but I cannot figure it out on the new app.  And the snipping tool is great if connected to an OS that has it.  Otherwise it does not help.
    Thanks!
    Richard

    Hi,
    Please check if you have the PrtScn key on your keyboard. If so, you can use this key to capture a full screen screenshot and paste it such as MS paint.
    If you do not have the key, you can start the On-Scrren Keyboard to use the PrtScn Key within the remote session.
    Control Panel\Ease of Access\Ease of Access Center
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • How to authenticate UNIX command?

    As specified in KB article TS2754 <http://support.apple.com/kb/TS2754> I'd like to use this UNIX command to correct a user's computer:
    dseditgroup -o edit -p -a admin -t group _lpadmin
    I am trying to send this UNIX command via Remote Access 3.3 but each time it says:
    Please enter user password:
    Authentication failed.
    I thought that the fact that I am connected to the computer via Remote Desktop using the admin user and specifying that same admin user in the "Send UNIX Command" command setup would work but it obviously doesn't.
    So how do I properly send this command via Remote Desktop?

    Ack - there's more:
    KB article HT3511 <http://support.apple.com/kb/HT3511> is also relevant since these are networked users with mobile accounts. The problem is the same though: the script causes a prompt for authentication and I don't know how to address that in Remote Desktop.
    This article adds an additional potential issue if I have to send out a UNIX command for each mobile user specifically. It's much nicer when you can send one command to the whole network.

  • Sharing a Printer With Microsoft Remote Desktop

    How do you set it up?
    The printer (Epson Stylus Photo 820) is connected through USB to an Intel iMac.
    I control a Windows XP Pro PC from the iMac through firewire with Microsoft Remote Desktop and it works fine (although I can't get it to share the internet connection.) I have turned printer-sharing "On" in the iMac Preferences. I have also checked "Printers" in the "Connect automatically to these local devices when logged on to the remote computer" dialog box of MS RDC.
    When I go to Add Printer in Windows, I search for a printer and get a tree view with "Microsoft Windows Network" on top and "WORKGROUP" under it. I try to input the printer name, but it tells me it can't find such a printer.
    If I go to the Epson control panel under Windows, and click on ports, it shows the name of the iMac on four separate ports, and if I activate one of them it shows the Stylus 820.
    But then it doesn't print.
    Any ideas?

    same problem here. cannot print a document from the remote desktop computer (microsoft) to my local printer connected to an intel mac .please can anybody help I have a offcejet HP g55

  • HP Laserjet 1020 not working through remote desktop

    I have a hp laserjet 1020 that I am vpn and remote desktop to a computer at work. I am suupose to be able to print from remote desktop to my local printer (the hp laserjet 1020) using the microsoft terminal Easy Print. The printer is showing up in the printer list, but when I try to print I get an error of Printer not ready.  The printer is working fine on the local machine, just not through the remote desktop. I have install the printer drivers on the machine that I am remoting into , just to make sure. Is there anything else I can try. I am not finding any firewalls on either end blocking it?

    After many months of frustration and 7 1/2 hours with Microsoft advanced prof support I've finally pinned down this printer and a slew of others.  This problem as far as I have come across deals exclusively with HP printers.  In simple terms:  the drivers are flawed.  This 1022 is a prime example.  It prints locally and via TCP/IP just fine. I have about 7 other printers and dummy printers in my printer folder.  Enter a remote desktop session and ALL of them populate except the 1022.  This shows that the hooks and RDT finders are locating your printers and installing them properly as remote printers.  All except the 1022. 
      Log out of your RDT session: goto the local 1022 setup and change the printer driver to a PCL driver.  I used a 1200 PCL driver.  Now log back into your RDT server and hockus pocus! there is your printer.  Totally un-usable because the driver will not run this printer.  Caveat:  each time I did this XP crashed (I couldn't get to the properties TAB anymore -- I had to un-install the 1022 and then re-install it with at least 1 reboot in the process)
    Moving on we go to the HP OfficeJet/LajerJet2840.  Same thing.  It won't pass through as remote printer in RDT.  Go local.  Set the printer driver to AppleLaserWriter8500 and boom. (same logout, change, back in steps) and your LJ2840 shows up and works.
    While I will have to wait until tomorrow I am betting that this will fix the exact same problem with the HP Officejet 8500A all in one with the exact same problem.
    Hey HP?  Whats with the drivers??
    Another work around if you have a static enough environment is to install your local printer that will not show up under RDT on the server, and then point the port to your fixed IP on your router, and passthru port 9100 to your locally installed printer that is failing.  You can now be on RDT and chooses the network printer that is printing to the TCP address of your home (or office) router.

  • ARD Unix Command install with root

    I'm a bit of a unix novice, I am trying to install a script file, 'install.sh', via ARD. Works fine in Terminal locally but I can't work out how to input the root password via the ARD unix command tool.
    cd Desktop
    chmod +x install.sh
    ./install.sh -i
    & set to run command as Root.
    I'm getting seemingly nonsense errors e.g. 'Error 127 sh: line 1: cd: Desktop: No such File or Directory' when the file is definitely there, on the desktop.
    I'm pretty sure it needs to enter the root pw in the code window, can anyone advise please?

    when you say install.sh is on the desktop of the remote computer. Is that the desktop for account root? Or is that the desktop of the current logged in users? (assuming the currently logged in user is not root)
    when you run a command as root you start at "/var/root/" there is only going to be a folder /var/root/desktop/, if you've used the login window at least ones to log into root.
    if the current user logged into the remote computer is another account, then your install.sh resides in another location. Witch will look some thing like this. /Users/nameOfUser/Desktop/install.sh
    try this. Send the command:
    cd Desktop
    pwd
    send the command first as the current logged in user, then as root. When you run it the first time, you should get some thing like  /Users/nameOfUser/Desktop/
    when you run it as root you'll probable see /var/root/.
    if you do then you would probable want to do some thing like
    chmod +x /Users/nameOfUser/Desktop/install.sh
    /Users/nameOfUser/Desktop/install.sh -i

  • UNIX command open. How do I get around warning screens?

    Hello
    I am trying to run an installation of an app program through UNIX commands, since I want to deploy it using ARD. This app is actually an Adobe CS5 update. I managed to get it the installation started using the OPEN unix command. However, I am prompted with a security warning "Installer" is an application downloaded from the insternet. Are you sure you want to open it" Of course the answer would be yes, but I want to do this with no user intervension. Any ideas to get around this?

    Automating as far as building disk images, or packaging for mass deployment on an ad hoc basis?
    As far as building disk images goes, you might want to get into InstaDMG to build fresh, never-booted OS images. For packaging and deployment on an Ad Hoc basis, there are a number of options: Radmind (although this deals less with packaging and IMO acts more like DeepFreeze), Casper Admin Suite (I use this tool), Munki, etc. There's also DeployStudio but I don't know much about this one.
    Munki, DS, and Radmind are free/open source, Casper is pricey, but worth it if you have a large number of macs to manage.

  • Address Book write LDAP server command via terminal or remote desktop

    Hi folks.
    I was wondering if anyone has had any experience issuing an 'address book' setting command, to ADD an LDAP entry, via terminal or remote desktop?
    In particular, I want to "ADD" a new "LDAP" entry for a specific server, on 40 workstations, using terminal or remote desktop, so that I don't have to leave my desk
    I recall that you can issue commands from the terminal, starting with "write"... to add such preferences.
    Any thoughts, ideas, or inspiration?
    Many thanks,
    Derek

    Hi,
    As far as I know, We couldn't use Command Shell as you list to establish a Remote Desktop. You can use
    mstsc /? command to view all mstsc.exe command parameter. We can use the command
    mstsc [<connection file>] to establish a Remote Desktop Connection.
    However, why did you want use command shell to establish a Remote Desktop? It would be more convenient using
    mstsc [<connection file>] command to establish a Remote Desktop.
    If you need further assistance on this particular issue or any other Windows related issue, let us know and we will be glad to assist you.
    Roger Lu
    TechNet Community Support

  • Unable to access Standalone VM via Remote Desktop through a VPN

    Good Morning everyone, now here is my problem.
    My company is a small software development house and we test our software on Win 7 or 8 VM's running on standalone (ie not on the domain) VM's. We are running the VM's on WS2012 R2 Hyper V and when we are inside the building we are able to Remote Desktop
    onto these VM's direct without any problem. The problem comes when we want to RD onto the VM's when working from home via the VPN. When we try to connect to the VM's via RD through the VPN the Remote Desktop Connection fails with the following alert "Remote
    Desktop can't find the computer '[Computers Name]'. This might mean that '[Computers Name]' does not belong to the specified network. Verify the computer name and domain that you are trying to connect to." The only way I can connect to the VM's is
    by going onto the host server and access the VM's via Hyper V manager and use it that way.
    Now when I try to connect to a VM that is running on the Domain via the VPN I connect without any problems at all.
    So my question is why can I connect to standalone VM's via RD without any problems when in the office but when I am at home via VPN I can't but I can connect to VM's on the domain without any problems? What do I need to do to make this work?
    Phil

    Hi Darren,
    I have just tested it and when at work I can ping by name a named server and the standalone VM without any problems.
    But when I connect from the outside via the VPN I am still able to ping by name a named server but not the stand alone server. Nor can I ping the IP address of the standalone VM although I can connect to a standalone VM using its IP address via RDC
    Phil

  • My printers works fine on my home network but disappears on a remote desktop terminal connection

    As I don't really know how to post a general addition to the knowledge base, I'm doing in Jeopardy style.  Here is the question to the above answer.  Well close enough.
    Many people have reported all over the net issues with printers working just fine on their home network  but disappearing when they connect to a server via RDT.  There are some legit updates needed where windows did not see anything but LPT and COM ports for printer re-direction assignment.  There are Mr. Fix it's for those and registry patches.  When all of that fails, the information highway seems to dead end.
    Here is what I learned today via 2 specific printers:  HP1022 and HP2840 lasjerjets.
    After many months of frustration and 7 1/2 hours with Microsoft advanced prof support I've finally pinned down this printer and a slew of others.  This problem as far as I have come across deals exclusively with HP printers.  In simple terms:  the drivers are flawed.  This 1022 is a prime example.  It prints locally and via TCP/IP just fine. I have about 7 other printers and dummy printers in my printer folder.  Enter a remote desktop session and ALL of them populate except the 1022.  This shows that the hooks and RDT finders are locating your printers and installing them properly as remote printers.  All except the 1022. 
      Log out of your RDT session: goto the local 1022 setup and change the printer driver to a PCL driver.  I used a 1200 PCL driver.  Now log back into your RDT server and hockus pocus! there is your printer.  Totally un-usable because the driver will not run this printer.  Caveat:  each time I did this XP crashed (I couldn't get to the properties TAB anymore -- I had to un-install the 1022 and then re-install it with at least 1 reboot in the process)
    Moving on we go to the HP OfficeJet/LajerJet2840.  Same thing.  It won't pass through as remote printer in RDT.  Go local.  Set the printer driver to AppleLaserWriter8500 and boom. (same logout, change, back in steps) and your LJ2840 shows up and works.
    While I will have to wait until tomorrow I am betting that this will fix the exact same problem with the HP Officejet 8500A all in one with the exact same problem.
    Hey HP?  Whats with the drivers??
    Another work around if you have a static enough environment is to install your local printer that will not show up under RDT on the server, and then point the port to your fixed IP on your router, and passthru port 9100 to your locally installed printer that is failing.  You can now be on RDT and chooses the network printer that is printing to the TCP address of your home (or office) router.

    As I don't really know how to post a general addition to the knowledge base, I'm doing in Jeopardy style.  Here is the question to the above answer.  Well close enough.
    Many people have reported all over the net issues with printers working just fine on their home network  but disappearing when they connect to a server via RDT.  There are some legit updates needed where windows did not see anything but LPT and COM ports for printer re-direction assignment.  There are Mr. Fix it's for those and registry patches.  When all of that fails, the information highway seems to dead end.
    Here is what I learned today via 2 specific printers:  HP1022 and HP2840 lasjerjets.
    After many months of frustration and 7 1/2 hours with Microsoft advanced prof support I've finally pinned down this printer and a slew of others.  This problem as far as I have come across deals exclusively with HP printers.  In simple terms:  the drivers are flawed.  This 1022 is a prime example.  It prints locally and via TCP/IP just fine. I have about 7 other printers and dummy printers in my printer folder.  Enter a remote desktop session and ALL of them populate except the 1022.  This shows that the hooks and RDT finders are locating your printers and installing them properly as remote printers.  All except the 1022. 
      Log out of your RDT session: goto the local 1022 setup and change the printer driver to a PCL driver.  I used a 1200 PCL driver.  Now log back into your RDT server and hockus pocus! there is your printer.  Totally un-usable because the driver will not run this printer.  Caveat:  each time I did this XP crashed (I couldn't get to the properties TAB anymore -- I had to un-install the 1022 and then re-install it with at least 1 reboot in the process)
    Moving on we go to the HP OfficeJet/LajerJet2840.  Same thing.  It won't pass through as remote printer in RDT.  Go local.  Set the printer driver to AppleLaserWriter8500 and boom. (same logout, change, back in steps) and your LJ2840 shows up and works.
    While I will have to wait until tomorrow I am betting that this will fix the exact same problem with the HP Officejet 8500A all in one with the exact same problem.
    Hey HP?  Whats with the drivers??
    Another work around if you have a static enough environment is to install your local printer that will not show up under RDT on the server, and then point the port to your fixed IP on your router, and passthru port 9100 to your locally installed printer that is failing.  You can now be on RDT and chooses the network printer that is printing to the TCP address of your home (or office) router.

  • P2055dn won't appear in RDP/Remote Desktop session

    I have an XP workstation which had a Laserjet 4100. When it connected to a 2003 Server running Terminal Services, the printer appeared, I could use an application on the server and get my printout at the 4100. Now I have replaced it with a P2055dn, but this printer won't show up at all. I have tried the following things:
    1) Install the standard PCL 6 driver, both on the workstation and the server
    2) Install the express network driver as above
    3) Install the Universal Print driver as above
    Nothing works.
    To be clear, the 2055dn is network attached, which is to say that the XP machine prints to it through a Microsoft Standard TCP/IP port. I specify this because for some reason the HP install routine insists on creating an HP Standard TCP/IP port. I'm not sure what the difference is, but the port I used beforehand was a Microsoft one, so I stuck with that.
    I have other printers that the XP machine connects to in the same way, and those show up and print without issue.
    I have seen posts about host-based printers not working, but I was told by the HP tech that the 2055 is NOT host-based.
    Any clues ?

    I originally posted this for a 1022printer but it applies across the board to HP printers.  I have yet to see this pop onon other networked printers.  My HP 990c works just fine as does ny LJ5, etc.
    After many months of frustration and 7 1/2 hours with Microsoft advanced prof support I've finally pinned down this printer and a slew of others.  This problem as far as I have come across deals exclusively with HP printers.  In simple terms:  the drivers are flawed.  This 1022 is a prime example.  It prints locally and via TCP/IP just fine. I have about 7 other printers and dummy printers in my printer folder.  Enter a remote desktop session and ALL of them populate except the 1022.  This shows that the hooks and RDT finders are locating your printers and installing them properly as remote printers.  All except the 1022. 
      Log out of your RDT session: goto the local 1022 setup and change the printer driver to a PCL driver.  I used a 1200 PCL driver.  Now log back into your RDT server and hockus pocus! there is your printer.  Totally un-usable because the driver will not run this printer.  Caveat:  each time I did this XP crashed (I couldn't get to the properties TAB anymore -- I had to un-install the 1022 and then re-install it with at least 1 reboot in the process)
    Moving on we go to the HP OfficeJet/LajerJet2840.  Same thing.  It won't pass through as remote printer in RDT.  Go local.  Set the printer driver to AppleLaserWriter8500 and boom. (same logout, change, back in steps) and your LJ2840 shows up and works.
    While I will have to wait until tomorrow I am betting that this will fix the exact same problem with the HP Officejet 8500A all in one with the exact same problem.
    Hey HP?  Whats with the drivers??
    Another work around if you have a static enough environment is to install your local printer that will not show up under RDT on the server, and then point the port to your fixed IP on your router, and passthru port 9100 to your locally installed printer that is failing.  You can now be on RDT and chooses the network printer that is printing to the TCP address of your home (or office) router.

Maybe you are looking for

  • I updated to itunes 10.5.1 and my tones will not show up on iphone anywhere.

    I have the setting to automatic sync everything. I have click and dragged the ringtones individually. The ringtones show up in my itunes but not on my phone, in fact the 'tones' catagory does not show up in the search section of the phone.  HELP. I w

  • XI R2 To 3.1 Sp2 migration and report format issues

    Hello, is there a way to fix or troubleshoot report format issues after migrating to 3.1? We have a heavy report that the format (the way the report looks) is very important. In crytal Reports 2008 sp2 the format is OK. But from BOE CMC or from url r

  • Click function on Touchpad failure

    My HP Envy Sleekbook has a continual problem where after accidently hitting some unknown combination of keys in the page up, page down, enter, shift area the pointer on the screen moves but I can no longer click on anything on my screen. I can use ke

  • Error when I import data to Strategy Management from BW

    Hi Gurus, I'm working with Strategy Management 7.5 and I have some problems when I update the data and some changes in de schema. For example, I have one KPI that had data since January to September, but this data disappeared when I did the actualiza

  • Web Service in SAP

    Hi, I would like have knowledge about Webservice in SAP ??? Is this the rite area to ask...if yes please provide an insight about Web Service development in ABAP..how effective is t....If not the rite palce please tell in which specifc forum i shoud