Problem With PDF creating

Hello Guys
my problem is when I create a pdf from salary slip everything is at the left side.
what is the problem? Please help me to fix this

Thanks

1 Like

A similar problem has been discussed here:
https://discuss.erpnext.com/t/problem-print-to-pdf/28652/7

It was resolved after installing libssl1.0-dev

@gvrvnk how to check whether libssl1.0-dev is installed or not

You can check via:

sudo apt list --installed | grep ssl

or you can just try

sudo apt-get libssl1.0-dev 

@gvrvnk when i run the below command

yum list installed | grep ssl

i got this

mod_ssl.x86_64 1:2.4.6-17.el7.centos.1 @anaconda
openssl.x86_64 1:1.0.2k-8.el7 @base
openssl-devel.x86_64 1:1.0.2k-8.el7 @base
openssl-libs.x86_64 1:1.0.2k-8.el7 @base
openssl098e.x86_64 0.9.8e-29.el7.centos @anaconda
python-backports-ssl_match_hostname.noarch

Then I tried this command

sudo yum install libssl1.0-dev

I got this

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile

  • base: ftp.iitm.ac.in
  • epel: epel.mirror.net.in
  • extras: ftp.iitm.ac.in
  • updates: ftp.iitm.ac.in
    No package libssl1.0-dev available.
    Error: Nothing to do

Please help me to fix this