On Thu, Nov 18, 2010 at 18:18, Vedran Vucic <vedran.vucic@xxxxxxxxx> wrote: > Hello, > > When I want to print from my DOS application I cannot print on my USB > HP LP1020 printer. My printer is named Laserprinter in my cups > configuration. When I print from terminal using command > lpr -P Laserprinter nameoffile > it works well. > You can find my dosemu.conf on this link: > http://pastebin.ca/1995898 > > Please advise. > > Thanks, > > Veki > -- > 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 > The HP 1020 is not a PCL or postscript printer. You must set your DOS application to print to a PostScript printer so CUPS can translate it. There might be a way to convert the output on-the-fly if it's not PostScript to print it with CUPS but I am not aware of how that functions. I stick to printers that support PCL and PostScript as they are compatible with just about anything. Do you see a completed job in CUPS? I use a script to e-mail documents "printed" to PCL format, maybe it can help you troubleshoot: #! /bin/bash EMAIL_TO=you@xxxxxxxxxxxx EMAIL_FROM=$USER@xxxxxxxxxxxxxx SUBJECT="Email Report" # Config above # Do not edit below EPOCH=`date +%s` || exit 1 PRNTFILE=`mktemp /root/printjobs/pdfprint.XXXXXXXXXX` || exit 1 PDFFILE=`mktemp /root/pdfs/XXX` || exit 1 rm $PDFFILE cat "$@" >> $PRNTFILE pcl6 -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=$PDFFILE$EPOCH.pdf $PRNTFILE #rm $PRNTFILE echo Your report is attached as a .pdf file. | mail -a $PDFFILE$EPOCH.pdf -r $EMAIL_FROM -s "$SUBJECT" $EMAIL_TO ~ -- Med Vennlig Hilsen, A. Helge Joakimsen -- 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