CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using
CrisisHelper - First Aid in Tough Times of World Economic Crisis

_bm0 Rave Reports Developer Guide

Render NDR to PRN

Top  Previous  Next


I have previously saved NDR files and I want to save them to printer (PRN) files. How would I do that?



This solution applies to Rave Reports version 5.1.2 or later. The following code starts with having a RvSystem component on your form named RvSystem1.


It is important to note that the current printer (default) will be used to generate the printer file. This means that the generated file can ONLY be sent to that printer since the contents of printer files are specific to the printer they were generated for.


Also, the copy binary command on some operating systems may have problems if you use the PRN extension.

    COPY filename.ext PRN: /B


Be advised that both "DoNativeOutput" and "RenderObject" are not required for this NDR file conversion and need not be set.



Procedure TForm1.Button1Click(Sender: TObject);


RvSystem1.DefaultDest := rdPrinter;

RvSystem1.SystemFiler.FileName := 'Test.NDR';

RvSystem1.SystemOptions := RvSystem1.SystemOptions + [soNoGenerate];

RvSystem1.SystemSetups := RvSystem1.SystemSetups - [ssAllowSetup];

RvSystem1.SystemFiler.StreamMode := smFile;

RvSystem1.OutputFileName := 'test1.ptr';


ShowMessage('Printer File created');




void __fastcall TForm1::Button1Click(TObject *Sender)


RvSystem1->DefaultDest = rdPrinter;

RvSystem1->SystemFiler->FileName = "Test.NDR";

RvSystem1->SystemOptions = RvSystem1->SystemOptions + [soNoGenerate];

RvSystem1->SystemSetups = RvSystem1->SystemSetups - [ssAllowSetup];

RvSystem1->SystemFiler->StreamMode = smFile;

RvSystem1->OutputFileName = "test1.ptr";


ShowMessage("Printer File created");


You are reading help file online using

If you want your help file to be removed or added please send e-mail to