Wednesday, November 12, 2014

How to disable smart install feature in HP printer(s) from BOSS GNU/Linux

Required Steps: 


HP Smart Install is a service running on firmware which
You can det ect  and disable Smart  Inst all using t he
1. Using Device Front Panel.
2. Using HPLIP tool:
3. Using Linux commands:
a. Run command "lsusb" in terminal to obtain USB ID's.

makes printer to appear as "Mass Storage Devices" when
connected via USB cable. This is to install the minimal
printer software from flash memory of printer. This service
needs to be disabled on linux in order to have the device
function as a printer.

below met hods:

 Settings­ >Services­ >HP Smart install
 NOTE: This option is available only for some HP printers.
If this option is not found in the device front panel then
please try other options mentioned below.

Run hp­ doct or script. It will notify you if there is a Smart
Install device connected and prompt you for disabling the
same.

To detect Smart Install:

ex: $> lsusb
            Bus 001 Device 004: ID 03f0:042a Hewlett­

Packard
where,
Bus ID is 001.
Device ID is 004.

b. Run command "lsusb -s [[bus]:][devnumber] | grep bInterfaceClass"
ex: $> lsusb -s 001:004 | grep bInterfaceClass

c. If the output contains "8 Mass Storage". It means the device has Smart Install service enabled and is detected as mass storage device.

To disable Smart Install:

a. Download SmartInstallDisable-Tool.run (Right-click the link and choose "Save Link As..." to save the file to your computer)

b. Download SmartInstallDisable-Tool.run.asc(Right-click the link and choose "Save Link As..." to save the file to your computer)

c. Validate the digital signature of the file SmartInstallDisable-Tool.run using SmartInstallDisable-Tool.run.asc through gpg command with superuser permissions

su -c "gpg --keyserver pgp.mit.edu --recv-keys 0xA59047B9"
su -c "gpg --verify SmartInstallDisable-Tool.run.asc SmartInstallDisable-Tool.run"

d. Run command "sh SmartInstallDisable-Tool.run" in terminal to disable smart install feature in the device



Sunday, November 9, 2014

samsung scx-4521f printer configuration and Scanner -BOSS GNU Linux 5.0



1.open the /etc/apt/sources.list file add following:


deb http://www.bchemnet.com/suldr/ debian extra


2. Install the GPG key, from http://www.bchemnet.com/suldr/suldr.gpg, for the repository. You can do this with Synaptic Package Manager or Software Sources, or paste this line to your terminal:

wget -O - http://www.bchemnet.com/suldr/suldr.gpg | sudo apt-key add -




3.update/reload the repository




sudo apt-get update




4.Install the samsungfp-driver package.


            sudo apt-get install samsungmfp-driver



5. From the start menu, invoke System --> Administration --> Printing.

6.Use the driver for 'Samsung SCX-4500 Series'. Choose either the Splix or the Samsung driver according to your preference.

7. Check the 'Printer Options' in the 'Printer Properties'. Change the options where appropriate (especially the 'Paper Size').

  8.Try to print a test page.


Scanner Configuration:
--------------------------

To configure the scanner install the following package.


sudo apt-get install samsungmfp-scanner


Then goto Graphics --> Simple Scan or XSane Dependant on the Distro.

JMeter JSON Extractor

      json response {"Key1":"Value1","Key2":"Value2","Key2":"Value2"}  Name of t...