PRN2PDF
Posted: Sun Sep 28, 2014 12:47 am
When we have old systems in Clipper, was very common to create a printing or text files (PRN or TXT). I remember I had used a third party program to convert to PDF files.
Following example would be usefull for that propose which accepts in command line (Prompt at DOS command) or just execute without any parameter.
I shall make some another improvements with some more options. This is working with Epson and HP internal printer commands (ESC command).
I hope to contribute to assist in learning and you enjoy this example.
I intend to improve in line command options to add more parameters just to allow with:
1. No_Load PDF
2. Set nMargin
3. Set nTop
4. Set LandScape/Portrait
5. Force Epson or HP ESC commands
P.S. I have forgotten to thank to Fernando from PCToledo forum whos has contributed and I adapted and made some more implementations to our community. Thanks Fernando, thanks amigo Toledo for this opportunity.
Following example would be usefull for that propose which accepts in command line (Prompt at DOS command) or just execute without any parameter.
I shall make some another improvements with some more options. This is working with Epson and HP internal printer commands (ESC command).
I hope to contribute to assist in learning and you enjoy this example.
I intend to improve in line command options to add more parameters just to allow with:
1. No_Load PDF
2. Set nMargin
3. Set nTop
4. Set LandScape/Portrait
5. Force Epson or HP ESC commands
P.S. I have forgotten to thank to Fernando from PCToledo forum whos has contributed and I adapted and made some more implementations to our community. Thanks Fernando, thanks amigo Toledo for this opportunity.