>Greetings,
>
>I am trying to add PCL- (HP Printer Control Language ver 5) to the Report Designer, example: to print out (secure) Signature Font. Storing (the known PCL) in a cursor or variable has not worked, nor has browse myreport.frx . Also I have viewed (hex editor) "myreport.prn" {report form myreport to file myreport.prn} and can see the PCL code but difficult to understand, and know where to insert desired code.
>
>Welcome: Suggestions / Help
>
>Sincerely,
>Arthur
Hi,
I use PCL quite a bit. I've had a quick look, and I can't yet see an easy way for you to embed PCL in a FoxPro report. When I try it, something (VFP or more probably the Windows printer driver) translates my embedded 'ESC' characters into spaces.
Here's a quick suggestion - try putting a placeholder string into your report, do a REPORT FORM xxx TO FILE file.pcl, then use low-level file functions (FOPEN, FREAD, FRWITE) to open the file and exchange your placeholder with the PCL code for the signature. You can finally print the document by doing a copy to LPT1: (or wherever).
If I think of a better solution, I'll let you know.