========================================
Mint 15 32-bit Mate Locked LiveUSB system. Semi-Newbie alert!
I have had prelimiary success using a post by [url=http://forums.linuxmint.com/memberlist.php?mode=viewprofile&u=101516]lakona[/url] with a [url=http://forums.linuxmint.com/viewtopic.php?f=51&t=124242]"How To" for installing a Brother MFC-7360N printer on a LAN[/url] on a Linux system.
I can successfully install the printer from a terminal session, but one CUPS command (section 3.) fails to perform properly from the script that I am trying to write:
Code: Select all
#!/bin/sh
# 1. Change directory to the one containing the driver packages
cd /media/mint/linux-ext2/linux-brother-printer
# 2. Install the Brother MFC7360N driver packages
sudo dpkg -i --force-all mfc7360nlpr-2.1.0-1.i386.deb
sudo dpkg -i --force-all cupswrapperMFC7360N-2.0.4-2.i386.deb
# 3. Add the printer with CUPS command line <-- Have prefixed cmd with "sudo" - same results
lpadmin -p MFC7360N -v lpd://BRN001BA99EEABB.local/queue -E
# 4. Show the printer status = device for MFC7360N: lpd://BRN001BA99EEABB.local/queue
lpstat -t | grep lpd://
Code: Select all
lpadmin -p MFC7360N -v lpd://BRN001BA99EEABB.local/queue -E
The totally perplexing question is "why won't the lpadmin command run properly from the script?"
I certainly would appreciate any and all comments, suggestions, and assistance with this annoying problem.
Blessings in abundance, all the best, & ENJOY!
Art in Carlisle, PA USA