Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Impbedding Post Script Commands

edited April 2003 in General
Is it possible to imbed the following Post Script command into a Report
builder document.

{PRINT "0.0.0.0 (warner.eps) (PrintEPS) run " }

If so could you provide an example.

--
Regards


Trish Lee
Barcode Logic Pty Ltd
P.O. Box 62
Budgewoi 2262
NSW Australia
trish@barcodelogic.com.au
www.barcodelogic.com.au


DISCLAIMER
This e-mail and any attachments thereto may contain information which is
confidential and/or protected by intellectual property rights and are
intended for the use of the recipient(s) named above. Any use of the
information contained herein (including, but not limited to, total or
partial reproduction, communication or distribution in any form) by persons
other than the intended recipient(s) is prohibited. If you have received
this e-mail in error, please notify the sender either by telephone or by
e-mail and delete the material from any computer.

Comments

  • edited April 2003
    Trish,

    ReportBuilder does not have explicit Post Script support. You could try to
    generate to a report emulation text file and embed the escape sequence in
    the text. Then send the text file to the printer. Below is an article on
    how to send a text file to the printer.


    -----------------------------------------------
    Tech Tip: Send TextFile to Printer
    -----------------------------------------------

    I designed a application that exports the report to a .txt
    file using ReportTextFile device.

    How can I Send the text file to the printer?

    The following procedure will send the .txt file to
    the printer using Delphi's TPrinter object.



    uses
    Printers;


    procedure SendTextFileToPrinter(aFileName: String);
    var
    lsLines: TStringList;
    lOutputFile: TextFile;
    liIndex: Integer;
    begin

    lsLines := TStringList.Create;

    try
    lsLines.LoadFromFile(aFileName);

    AssignPrn(lOutputFile);
    Rewrite(lOutputFile);

    for liIndex := 0 to lsLines.Count-1 do
    Writeln(lOutputFile, lsLines[liIndex]);

    CloseFile(lOutputFile);

    finally
    lsLines.Free;
    end;


    end;

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.