Comment 14 for bug 1250806

Revision history for this message
Sanjay Kumar (sanjay-kumar14) wrote :

Hello Mura,

Thanks a lot Mura for providing me the logs. It helped me a lot in finding out a root cause. Please update the buffer size in one more file (See step 2 below) and then compile and install hpcups filter again. All updated steps are mentioned below.

1) While installing HPLIP version 3.13.11 from hplip-3.13.11.run file, one more directory (hplip-3.13.11) whould have been created in the same location where hplip-3.13.11.run was run. (Otherwise please install HPLIP3.13.11 from the same run file again and generate hplip-3.13.11 directory)

2)Update buffer size from 64 to 256 in below files.
  a) Open prnt/hpcups/SystemServices.cpp file from hplip-3.13.11 directory and change "fname[64];" to "fname[256]={0};"
  b) Open prnt/hpcups/HPCupsFilter.cpp file from hplip-3.13.11 directory and change
     "char hpPreProcessedRasterFile[64]" ==> Line number: 597
                  to
      "char hpPreProcessedRasterFile[256]={0,}"

  and "char szFileName[64];" to char "szFileName[256];" ==>at line number 663

3) Now open terminal and change directory (cd) to hplip-3.13.11 directory

4) Now run below commands to install hpcups again.
     make
     sudo make install

5) Now try printing and let us know the result.

6) If printing still fails then please provide me the gdb log as mentioned in POST#11.

Thanks,
Sanjay