Printer file - revisited
Lerebours, Jose
Jose.Lerebours at EagleGL.com
Tue Mar 29 13:28:17 PST 2005
Dennis posted:
>
> When a file is created with the use of "printer file", it
> creates an ASCII
> file that does not possess any print codes. If you go to
> print it, it is not
> printed in the format of the original report.
>
> Is there any way to create a file that resides on the disk
> and when you want
> to print it, it will print as if you generated the report
> with the formats
> intact.
>
If I am not mistaken, using 'printer file' to set the
target output devise will use your default printer
table as source for your printer codes.
This can be overwritten by 'printer type' and/or by statically
placing a printer type within the F8/Option dialogs while
defining the form/report.
So, try this:
printer file "your_file" ; printer type "printer_type"
This should yield the results you are looking for. However,
if you email said file or view it on screen, you will see
the printer codes (or the mess they normally cause on
CRTs).
If you are a unix based shop, there are scripts you can use
to pipe file through prior to viewing on screen and have the
PCL codes removed while retaining them on the actual file.
Good luck!
Jose Lerebours
More information about the Filepro-list
mailing list