To print MSDS Sheets from the sales order entry programs, the following set up must be performed.
APACHE Virtual Directory Setup in program MURM, Initialization Parameter Maintenance.
Label Printing for Receipts in program MURM, Initialization Parameter Maintenance.
MSDS_FILES_ROOT: The location on the server where the MSDS .pdf files can be found. Should always have a trailing \. For example: E:\NDS\MSDS\
PDF_PRINT_BATCH: The command for printing pdf files. For example, to use the Ghost PDF print program: C:\Program Files\Ghostgum\gsview\gsprint
This parameter is considered before the PDF_PRINT_COMMAND parameter.
PDF_PRINT_COMMAND: The command for printing .pdf files in client/server mode. For example: C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe /p /h
PDF_PRINT_WEB: the URL to reach the MSDS files on the server. For example http://www.nds-i.com/pdf/
OEPX_MSDS: ON, OFF, or HIDE. When set to YES, the MSDS Sheets flag will be set to on automatically. When set to OFF, the MSDS Sheets flag will be set to off automatically. When set to HIDE, the MSDS Sheets flag will not be displayed in the program.
ICMM, Inventory Master Maintenance:
The POS Description2 field is used for MSDS Sheet printing with program OESX, Shipping Director. In the POS Description 2 field, for items for which you are printing MSDS sheets, enter the exact filename for the MSDS sheet. The entry here will be attached to the end of the MSDS_FILES_ROOT value entered in program MURM, Initialization Parameter Maintenance. You can enter subdirectories here.
For example, if the root from program MURM, Initialization Parameter Maintenance, was C:\msds\, and the file index.pdf was in that directory, you would enter index.pdf in this POS Description2 field. If the file was in a subdirectory of the root directory, you would enter msds_sub\index.pdf, and the system would look in C:\msds\msds_sub\index.pdf for the file.
If you are using a Unix system, the slashes go the opposite direction, so the root might be /msds/ and the subdirectory and file might be msds_sub/index.pdf.
For printing MSDS Sheets, the system will choose the printing program as follows:
(1) Is PDF_PRINT_BATCH parameter setting present? If so, use it to HOST and print the pdf.
(2) Is the mode WEB? If so, show document in web browser.
(3) If none of the above, use the PDF_PRINT_COMMAND parameter setting to HOST and print the pdf.
Example: All MSDS files are text files. The msds_print.cmd file would then contain:
PRINT /d:%2 %1
The PDF_PRINT_BATCH parameter would contain the following in program MURM, Initialization Parameter Maintenance where \\server\printer is the printer name.
msds_print.cmd %FILE% \\server\printer
Example: All of the MSDS files are postscript files (.ps) and the printer is capable of accepting postscript files. The msds_print.cmd file would contain:
COPY %1 %2
The PDF_PRINT_BATCH parameter would contain the following in program MURM, Initialization Parameter Maintenance where \\server\printer is the printer name.
msds_print.cmd %FILE% \\server\printer