Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with output (PDF, RTF)

Status
Not open for further replies.

VirpiP

Programmer
Aug 8, 2003
5
FI
Hi!

I've developed a bit-mapped report (tabular-style). When I run it in Reports Previewer it looks fine and when I print it, it's fine.
Left and right margins have the same width (that's what I wanted). But when I want to change the report's output into e.g. PDF or RTF, margins change:
everything has moved left and up. Printer is the same.

Oracle Help says that output is depending on the printer drivers, but this can't be the only solution, can it? (Hope not, otherwise I'm in huge trouble...)

(Platform: Win2000, Reports: 6.0.8.18.0)

It's very important that layout stays the same in spite of the output type.

Am I the only one who has this kind of problem?

Please please help me!

Virpi
 
Hi,
You are not the only one.
To overcome this situation we are writing our report in .CSV etc. formats using PL/SQL programs which are using UTL_FILE in the backend process while TEXT_IO in D2K programs.

Regards
Himanshu
 
Hi,
You can overcome this by making use of .prn files but only if you just want to print the report and not preview it.

This is one workaround to print it from a command line:-

1) Open a DOS Command Prompt in Windows
2) Map a network printer using:
net use <port name/number> <network path\printer name>
e.g.
net use lpt1: \\edcserv\ch34p
3) Copy the file to the network mapping as follows:
copy <path/filename> <port name/number>
e.g.
copy c:\temp\output.prn lpt1:
4) The report should print fine without any problems.

Regards
Himanshu
 
Hey there,

I have experienced this as well..
my soulution is to develope the reports using the RTF format because the user software (Microsoft Word) requires exact formating.. so if you get the report looking good here first, then it will look good in any there format..

The reason the it looks good as a PDF, is that the software Acrobat will automatically center your report output for you.. where Word doesn't..

Happy reporting.. Chiere'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top