How to print an HP PCL5 file in OI (OpenInsight 32-bit Specific)
At 22 MAY 2002 07:25:03PM Jim Bayne wrote:
New kid on the block again.
I've converted my 1200 line AREV Print program to OI and can get the resulting HP PCL5 file to print by writing the file to DOS and using COPY FILE LPT1 to print it.
It appears that the OI32 PRINT statement can't do what the AREV PRINT command does. The OI32 help says very little about how the PRINT command works.
Anyone have any experience with getting HP PCL5 files to print from OI?
At 23 MAY 2002 11:13AM Don Miller - C3 Inc. wrote:
You're probably not going to like this answer but .. AREV and DOS do precisely what you wanted .. COPY XXX.PRN LPT1:, etc. OI in its native state doesn't offer anything that useful at all .. you can export PCL files to other programs (Word, etc.), but directly printing .. not easy. There are two available tools .. both are free if you're a Works member:
PRINTER.DLL .. documented in OI
OIPI .. The openinsight printer interface
However, either of them will essentially require that you re-write your R/BASIC code to accommodate them.
Of course, you can still do the COPY deal by calling UTILITY to copy the file to the printer.
HTH
Don Miller
C3 Inc.
At 23 MAY 2002 12:16PM Jim Bayne wrote:
Don -
I was afraid of that. That has been one of my big worries about moving to OI32. Thanks
Jim