Information about Beacon, authors ofFfax2Send Information for large companies and multi-nationals How to install and configure Fax2Send server and clients Latest News about Fax2Send Fax2Send license Price List Information for Resellers and Channel Partners
Deutsch Italiano    
Download Fax2Send Products Fax2Send Product information Purchase Fax2Send  products Fax2Send support information
 

Search Fax2Send

Advanced
Graphics menu
Stationery
 
 

Creating Stationery

A print file created by an application is often intended to be overlayed on printed stationery. It is possible to emulate this in Fax2Send by creating a full page graphic with the following steps:

  1. Create your stationery in a suitable application such as a word processor or design application. You will almost certainly have to change your document a few times in order to get the text to line up.

  2. Print your document in HP LaserJet (PCL) format to a file.

  3. Transfer the file to a Fax2Send server.

  4. Run a script similar to the following to convert the PRN file to a format suitable for use as a graphic:

    #!/bin/sh
    # Run me as root
    echo "Enter path of PRN file"
    read prnfile
    
    if test ! -f $prnfile
    then
       echo "Cannot access $prnfile!"
       exit
    fi
    
    echo "Enter name of graphic to create"
    read logofile
    
    # Make sure the graphic will land in the macro directory
    logofile=/usr/lib/fax2send/macro/`basename $logofile`
    
    # Queue a preview request and get the id number
    id=`fax2 -RFppreview $prnfile`
    
    #Wait for the image to be created
    tiffile=/var/spool/fax2send/outbound/image/$id.tif
    
    while test ! -f $tiffile
    do
       echo "Waiting for image to be created"
       sleep 1
    done
    
    echo "Image Ready to Convert to Graphic"
    
    # Convert the image to graphical format.
    /usr/lib/fax2send/bin/tiffread -s1 -e1 -ohp-HT-logo  $tiffile -f$logofile
    
    chown fax2 $logofile