From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randall Smith Subject: Re: printing to cups cups-pdf Date: Tue, 22 Nov 2005 22:56:31 -0600 Message-ID: References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Randall Smith wrote: > Hello, > > I'm ultimately trying to have jobs printed from foxpro under dosemu to > print to a file. A postscript file would do, but I've been trying to > generate a pdf file. > > I'm using cups and I've tried setting the printer command to "lp -l" in > the config and I specified the printer. When I print from foxpro, a pdf > is generated, but it is blank. Just issuing > > echo 'hello' | lpr -P printername > > works. > > Any ideas on how I can get file output from print jobs? > > Randall > > - > To unsubscribe from this list: send the line "unsubscribe linux-msdos" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > It seems that it may be a character set issue. I got FoxPro to print to a file and here is a line from it. ^[Eworkorder:^[F 010201-004 I think I need some type of character set conversion, but I don't know what it should be yet. Need help. Randall