[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printing



Hello,

Dosemu prints normally on that print. Issuing command dir>prn prints normally.
DOS application that I use creates prn files and it worked well with
postscript printers.
I will take yur script into consideration, but I Think that I should
put in dosemu.conf that it should print prn files.
Please advise if I am wrong.

Thanks,

Vedran Vucic

On Fri, Nov 19, 2010 at 8:11 AM, Andrew Joakimsen <joakimsen@xxxxxxxxx> wrote:
> 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


[Linux Console]     [Audio]     [Hams]     [Kernel Newbies]     [Memory]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Photos]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linux Resources]     [Fedora Users]

Add to Google Powered by Linux