It does not really matter since my software support both COM1 or LPT4 but the problem is with LPT1-3 I do not have enough ports. In the traditional DOS environment it use LPT1-3, one for each type of printer, and that is fine. In the Linux environment I want to use LPT4 for a way to generate PDF reports. Neither the below work: $_lpt4 = "/usr/local/bin/print2pdf" $_com1 = "/usr/local/bin/print2pdf" The program reports "LPT4 not ready" or "COM1 not ready" But the below does work: $_lpt1 = "/usr/local/bin/print2pdf" Is there a diffrence in how a "COM" or "LPT" port is handled in dosemu? If anyone is wondering I am using GhostPDL with the script below. It works just fine as LPT1 #! /bin/bash # print2pdf script EMAIL_TO=recp@site EMAIL_FROM=webmaster@site SUBJECT="Email Report" # Config above # Do not edit below PRNTFILE=`mktemp ~/printjobs/dfprint.XXXXXXXXXX` || exit 1 PDFFILE=`mktemp ~/pdfs/XXXXXXXXX` || exit 1 rm $PDFFILE cat "$@" >> $PRNTFILE pcl6 -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=$PDFFILE.pdf $PRNTFILE rm $PRNTFILE echo Your report is attached as a .pdf file. | mail -a $PDFFILE.pdf -r $EMAIL_FROM -s "$SUBJECT" $EMAIL_TO -- To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html