Pages

Thursday, October 31, 2013

Junk values after Converting a document to PDF in Adobe

Issue:

While converting Word Documents to Adobe PDF, sometimes we observe the below error message.
%%[ ProductName: Distiller ]%%
Cambria not found, using Courier.
%%[Page: 1]%%
%%[ Error: invalidfont; OffendingCommand: xshow; ErrorInfo: CharOffsets         82 30 44 29 59 52
0]
([1]
)
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%

Resolution:

This error can be resolved by changing one of the Adobe PDF printer settings.  

  • When you are in the print dialog, and you have selected the appropriate PDF printer, select "Properties."  
  • In the dialog box, there should be a tab titled "Adobe PDF Settings," and it should look like the below image.

image

  • Un-check "Rely on system fonts only; do not use document fonts."  
  • This solves the issue for documents created using XP or Vista, then upgraded to Windows 7.  The Cambria font somehow gets changed between XP/Vista and Win7.

Install and Configure postfix

Postfix is the Linux Mail Transfer Agent that is being used very widely in recent days because of the features that it offers. Installation of Postfix is pretty simple in Debian based OS and a bit tricky in Redhat based. The following tutorial will show you the installation of Postfix in Ubunt and Redhat(in the next tutorial).

Before proceeding we need to make sure that the default MTA sendmail(if installed) should be removed. This can be done by executing the following commands

Debian or Ubuntu :

apt-get purge sendmail

Redhat :

yum remove sendmail

Now we can proceed with the installation of Postfix MTA by executing the following command as a root or a sudo user.

apt-get install postfix
apt-get install mailutils

Normally in Debian based or in Ubuntu operating systems once after the installation a wizard is started to complete the configuration of the Postfix, follow the below steps to complete the general postfix configuration

image

image

image

image

image

image

image

image

image

once the configuration is Done, restart the postfix service for the changes to take effect.

service   postfix   restart

Wednesday, October 30, 2013

Ubuntu Installation Video Tutorial

Ubuntu is the most famous Linux distribution widely used at home and at enterprises. The desktop version of Ubuntu is very stylish with amazing visual effects and very user friendly. Ubuntu comes with the software center with thousands of applications ready to install with just a click.

Installation of Ubuntu is pretty simple, here is a video tutorial that shows step by step instructions of Ubuntu 12.04 installation on a VMWARE workstation.



Enable Apache SSL in Ubuntu

Enable Apache SSL in Ubuntu

SSL (Secure Sockets Layer) is the standard security technology for establishing an encrypted link between a web server and a browser. This link ensures that all data passed between the web server and browsers remain private and integral. SSL is an industry standard and is used by millions of websites in the protection of their online transactions with their customers.

The following tutorial will tell you how to configure apache with SSL and browse your website using https protocol. In ubuntu its pretty easy and the steps are as follows.

In ubuntu open a terminal and login as root and run the following commands

1. install apche2 webserver
apt-get install apache2

2. Browse to the following directory using

cd  /etc/apache2/mods-available/
3. Enable the SSL module for apache using
a2enmod ssl
4. Now browse through the following directory
cd /etc/apache2/sites-available/
5. And enable the defaulf virtual host with SSL using
a2ensite default.ssl
6. Now restart the webservice for the changes to take effect
service apache2 restart
To confirm if all went well just open the firefox browser and type the following URL in the address bar.
https://localhost/

If the default webpage is loaded then you have successfully installed and configured apache2 with SSL support.