function xPrintOptions() 
{ 
    var PrintMedia2 = nlapiGetFieldValue('custentity_printmedia'); 
    //I had to hard code these using the ID numbers in the list. 
    
    if (PrintMedia2 == 1) 
    {
       xEnvelopeNo10()
    } 
    if (PrintMedia2 == 2) 
    {
       xEnvlopeCardStock()
    } 
    if (PrintMedia2 == 3) 
    { 
       xSingleLabel()
    } 
    if (PrintMedia2 == 4) 
    {
       xReturnAddress()
    } 
    if (PrintMedia2 == 5) 
    {
       xThankYouLetterLess300()
    } 
}