Creating a New overlay or changing existing overlay
Few tips before starting the instruction of overlay.
These are places where overlay lives in linux machine. You have to put the overlay scipt and .epsi file in these location
- /etc/cups/interfaces
- /var/spool/lpd
Due to recent changes to Control, as of rel 12, the overlays are also used when emailing a pdf. The files are searched for in the following order:
$CCDIR/<companycode>/<locationcode>/overlay/xxx
$CCDIR/<companycode/overlay/xxx
- $CCDIR/overlay/xxx
xxx is either lay1.epsi lay3.epsi or lay40.epsi. These correspond to 1 quantity, 3 quantity or 40 column layout. This is determined in the terminal settings (page 2) under the field called "Email Copys"Instruction :
- First get the soft copy or hard copy of overlay file from customer. ( It could be pdf, post script or any other format)
- If we are creating overlay for customer, verify from customer before proceding any further.
- After customer approval, copy the file to the our server (SAM) in appropriate location. Usually the location in SAM for customer file is : # /u/cc/CUSTOMER_NAME/mods/overlay
- Convert files
If it .sla format file, open the file using scribus software and file >>export >>filename.eps and then #ps2epsi filename.eps
- If pdf file, # pdf2ps filename , #ps2epsi filename
If using Microsoft Publisher, File >>Print >>option print to file >> select it to save as .ps extension for output file, then use the command, #ps2epsi filename
- Our target is to convert the file into .epsi, so our overlay script can read it.
- You can use several command like, gv , scribus or gthumb etc to view the ps , eps files and images
- After you convert .epsi file, vi the file and add this line, %%Landscape
- Now securely copy the .epsi file to customer server. Note : if customer already has existing epsi file make sure to move it .bak folder before you send the new one
- ssh to customer server and login as root
- If this is a new overlay, copy the overlay script from other customer to this customer and, vi the script and change the path to look at new one.
- Let customer to test the overlay.
- DONE
Note when setting up overlay to an old system (Fedora core 3), make a note of the version of urw-fonts. A buggy version of the fonts will cause the overlay system not to work properly and the courier fonts will appear squashed.
