Page 1 of 1

Chemstation macro for print PDF

Posted: Wed Mar 28, 2012 11:52 am
by yccastro
We are integrating our GC/MS with our LIMS sytem by using PDFs of the printout created. I downloaded a pdf to print software and installed, but the macro for the qual_rpt(library search report) and the blanks are automatically named as "qual_rpt" or "MSDA". I figure it has to do with the macro that runs these functions. I have some how figured out how to change the qual_rpt macro, but I am having trouble with the blank one. I need to change the macro so that it automatically names the file with the smaple name. HELP!!

Re: Chemstation macro for print PDF

Posted: Fri Mar 30, 2012 10:20 am
by chemstation
Hello,

To customise the name of the PDF, you set the name before the startprint command, find e.g.

Code: Select all

 startjob "MSDA"
and change to eg

Code: Select all

  startjob _datafile$
I suggest it is best not to use sample name, as people may have entered prohibited characters, and can
cause system error, and if that occurs during a run, you efforts in implementing a electronic system,
will be caustically referenced.

A hint, To find which macros are being run, is to activate the logging feature, and save it to a file, before
executing a command, you can then find the section of code that is naming the PDF in the log file.

Alex