Print file to PCL
GCC Consulting
gcc at optonline.net
Tue Apr 20 08:04:38 PDT 2004
-----Original Message-----
From: filepro-list-bounces at lists.celestial.com
[mailto:filepro-list-bounces at lists.celestial.com] On Behalf Of Enrique Arredondo
Sent: Tuesday, April 20, 2004 10:41 AM
To: filepro-list at seaslug.org
Subject: Re: Print file to PCL
----- Original Message -----
From: "Kenneth Brody" <kenbrody at bestweb.net>
To: "Enrique Arredondo" <henry at vegena.net>
Cc: <filepro-list at seaslug.org>
Sent: Monday, April 19, 2004 5:24 PM
Subject: Re: Print file to PCL
> Enrique Arredondo wrote:
> >
> > Hi,
> >
> > Is there a way of transforming a filepro ASCII report into a report that
> > would print with the following command " lp -c -dlaser -o raw file.txt"
?
> >
> > The only difference within filepro is print code 56 at 1,1 (HP laser
> > codes). So How to prepend that code into the ascii file so "-o raw"
would
> > take it and print it on the laser printer with no problem ?
>
> What doesn't work when you simply set the printer type to one of the
> HP-* types, and the destination to your above command?
>
> --
The thing is that the ASCII report prints already on a dot matrix printer
with preprinted forms, and it's so complex, it updates so many flags , it
updates so many files with YTD amounts,etc. That's it's quite impossible to
re run it with the HP laser print codes. So once I have the report in ASCII
I want to print it on a HP laser plain paper printer. But the only way of
making it fit is by adding that code to fit on a 60 lines per page printer a
66 line report.
--------------------------------------------------------------------------------
--
You could create a second report which doesn't do any updating of files to print
to the laser printer.
Create a demand index to use when rerunning the report. Your menu script can
the run both reports, first to the dot matrix and then using the demand index,
print to the laser printer.
I have done this in the past when running a number of reports against the same
selected records. The first reports selected the records and the rest of the
reports used the demand index created. 1 selection & 4 reports.
Richard Kreiss
GCC Consulting
More information about the Filepro-list
mailing list