Friday, December 24, 2021

HP Color LaserJet PRO MFP M176n Network Scanning Steps

 HP Color LaserJet PRO MFP M176n

Step 1

Use the “simple scan” Application for Scanning


Check the scanner is detected through Simple Scan -> Document -> Preferences -> Select the default scanners 



Step 2:

Step 1 Not working try this step 

HP Color LaserJet PRO MFP M176n Network Scanning :


  1. Go to the printer and determine the IP address of printer e.g.  10.x.x.156

  2. Key the printer's IP address into chromium web browser

  3. Go to Scan, there should be a Webscan option. If it says "You cannot use this function....", you'll need to enable it.

  4. Enabling Webscan : Click on "Settings"> "Security">"Administrator Settings" (just "Continue" if there are any warnings regarding Certificates, you may need to click on "Advanced" to continue)

  5. Under "Administrator Settings", there should be a "Webscan" option, make sure that is "Checked" and "Apply" or "Save" your settings.

  6. Go back to Scan and you should be able to see the options to Scan. Select "Document Source" to be "ADF", "Document Type" to be PDF and "Start Scan"! (You can also select “Document Source” to be “JPEG”)

  7. Once scanning is done, Right-click and save your file to the desired destination.



To know the list of scanners connected in your machine

scanimage -L

sane-find-scanner

hp-scan

Thursday, December 23, 2021

EPSON-L3150 and EPSON-L6190 Driver installation

 Step 1:


Connect to BOSS Repository update it


sudo apt-get update 


Step 2:


Download the following package


http://ftp.us.debian.org/debian/pool/main/l/lsb/lsb-compat_9.20161125_amd64.deb


Step 3:


Install following packages


sudo apt-get install lib32z1 libc6-i386


Step 4:


Install the package downloaded in step 2 sb-compat_9.20161125_amd64.deb


sudo  dpkg -i sb-compat_9.20161125_amd64.deb


Step 5:


EPSON-L3150  Driver installation


http://download.ebz.epson.net/dsc/du/02/DriverDownloadInfo.do?LG2=EN&CN2=IN&CTI=4&PRN=L1110%20Series&OSC=LX

Download the epson-inkjet-printer-escpr_1.7.17-1lsb3.2_amd64.deb from above link and install


sudo apt-get install epson-inkjet-printer-escpr_1.7.17-1lsb3.2_amd64.deb


Step 6:


EPSON-L6190 Driver installation


http://download.ebz.epson.net/dsc/du/02/DriverDownloadInfo.do?LG2=EN&CN2=SG&CTI=4&PRN=L6190%20Series&OSC=LX


Download the epson-inkjet-printer-escpr2_1.1.45-1lsb3.2_amd64.deb from above link and install


sudo apt-get install epson-inkjet-printer-escpr2_1.1.45-1lsb3.2_amd64.deb


Monday, July 5, 2021

How to Specify Directory for Windows in Python Program

 

you can use always:

'C:/mydir'

this works both in linux and windows. Other posibility is

'C:\\mydir'

if you have problems with some names you can also try raw string literals:

r'C:\mydir'

however best practice is to use the os.path module functions that always select the correct configuration for your OS:

os.path.join(mydir, myfile)

Thursday, April 15, 2021

Root Terminal Enabling in Linux

 

1.Open the /etc/passwd file

 change the following line 


root:x:0:0:root:/root:/usr/sbin/nologin

to

root:x:0:0:root:/root:/bin/bash



2.Issue the following command in terminal


chmodg+rx /usr/bin/gnome-terminal


JMeter JSON Extractor

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