![]() ![]() usr/local/Brother/Printer/HL2270DW/cupswrapper/cupswrapperHL2270DW-2.0.4 || exit 1Įcho "Make sure printer shows up in cups config "Įcho "Edit /etc/cups/nf and change the DeviceURI from ‘usb:xxxxx’ to ‘file:///dev/usb/lp0′ (or usb/lp1 or whatever exists, no quotes)." # copy files to system and install cupswrapperĮcho -e "If I hang here, be patient.\n" Perl -pi -e 's/printcap.local/printcap/g' setupPrintcap2 HL_DIR=""$START_DIR"/br_tmp/usr/local/Brother/Printer/HL2270DW/inf/"ĬUPS_DIR=""$START_DIR"/br_tmp/usr/local/Brother/Printer/HL2270DW/cupswrapper/" If ] thenĮcho -e "One or both files not found: \n hl2270dwlpr-2.1. \n cupswrapperHL2270DW-2.0. \n\n Was there a problem with the download?"īsdtar -xf cupswrapperHL2270DW-2.0. Read -p "Where's your init script directory? (choose 1 or 2): " INIT_DIR Read -p "Hit any button to continue." -n 1Įcho -e "\n\nWhere's your init script directory?" ![]() ] & echo "Must run as root" & exit 1Įcho "you need to install bsdtar before running this script"Įcho "you need to install perl before running this script"Įcho -e "\nMake sure cups is running before proceeding.\n" # Brother HL-2270DW printer install tested on arch and ubuntu 12.04 Under the device URI, click 'change' -> network printer -> select first brother option -> apply When the config GUI opens, right click on the printer and select 'properties'. Next, turn on the printer and run the following from the terminal: system-config-printer The terminal will ask you where your init.d directory is - just check the choices in your file browser to confirm one or the other. It may tell you that you need bsdtar to run the script, just install that with: sudo apt-get install bsdtar Then run the application from the terminal with: sudo. just copy and paste the code sample below into an empty text document and save it as PrinterInstall.sh. as long as the printer is already on your network (i installed mine through my windows 7 partition), it should work. i found the attached script (following the instructions) in an ubuntu forum somewhere (I forget exactly where) which worked for me on both Ubuntu 12.04 and Mint Cinnamon 13 (64-bit versions). I know a ton of people have had major issues getting this printer to work with both ubuntu and mint, so i thought i'd pass this along since it's pretty painless. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |