Getting a report to print pages consecutively.
I am working on an 18 page Vendor Application questionnaire in Report Builder 6.0.5.35.0 and am having trouble getting the paging to work the way I want.
The layout consists primarily of boilerplate questions which use the &column_name syntax to bind previously supplied answers as lexical variables, which the vendor then reviews and corrects. These questions are individual boilerplate items placed in eighteen frames, with each frame enclosed in its own repeating frame that has as its source the vendor group in the Data Model. It was originally built this way because if you have just one R-Frame and boilerplate frames that are larger than one panel you get error REP-1814 " Object 'vertically' can never fit within 'M_21' ".
The problem is that when you print out questionnaires for 40 vendors all of the page ones are printed, then all the page twos, etc. This situation necessitates a lot of collation that I'd like to avoid by having all pages print for the first vendor, then all for the second vendor, and so on.
Can anyone suggest alternative methods?
Many thanks,
Ken Nellis
It was originally built this way because if you have just one R-Frame
and boilerplate frames that are larger than one panel you get error
REP-1814 " Object 'vertically' can never fit within 'M_21' ". Actually, you had it right the first time until you hit the above error. To do what you want, you need to just that - have one repeating frame that surrounds all eighteen frames so that you execute all eighteen frames for each instance of the repeating frame.
I'm assuming you were hitting the above error, not because "M_21" was larger than one panel but because, when it came to print, it was positioned outside of the panel. This has to do with how the anchoring works. Unless an object is beneath another object that either expands or contracts, then it will be anchored to the top left hand corner of the page. ie: the distance between it and the top left hand corner won't change.
You managed to get around this problem with repeating frames since they implicitly expand and hence all objects underneath them are anchored to the frame above it and not the page.
To do what you want:
- replace all your repeating frames with group frames
- set the "vertical elasticity" property to "variable" on each group frame
- create one repeating frame that surrounds everything
- set the "vertical elasticity" property to "variable" on the repeating frame
- Run the report.
You might just like to try this first using frames the same size as your pages and then start adding the content to see it working.
Note: If you also have a requirement to fix the size of each frame, you can still have another fixed sized group frame within the variable sized group frame. The above will still work since an implicit collapsing anchor is created between each variable size frame regardless of what is inside of it.
Similar Messages
-
Quicken Rental Prop Mgr, can't get my reports to print
I have a HP Officejet J4680 All-in-one, I also have Quicken Rental Prop Mgr. I recently had my computer upgraded to Window7 from XP, I cannot get my tax reports to print. I send it to my printer, the light flashes like it is getting ready to print & nothing. When I had XP I never had trouble getting my reports to print. Quicken says it is an issue with HP, can someone help. I have tried to navigate through all these question & answers to no avail. HELP!!
Hi Frustrated02,
I understand you have an Officejet J4680 that is not able to print from your Quicken program. I'm sorry to hear this but I will certainly do my best to assist you!
If your printer is able to print fine from every other program, just not from Quicken then we know the printer itself is working. If that's the case, I would like you to try installing an alternate driver by following the instructions below.
1. Go to your Control Panel and then Devices and Printers.
2. On the left under Printer Tasks click on Add a Printer.
3. Select Local Printer Attached to this computer, then Next.
4. From the drop down list select the port that the Officejet J4680 is using and then click Next.
5. Under Manufacturer make sure you select HP. Under Printers look for the HP Deskjet 9800 and then click Next.
6. If it asks you Which version of the driver do you want to use? Please select Replace the current driver.
7. You can change the printer name, or leave it as is, the decision is yours. You can make it the default if you'd like. If you don't just make sure you remember to select it instead of the Officejet J4680 when you print from Quicken. Make sure to click Next when done.
8. Say yes to printing the Test Page to make sure everything worked, then click Finish.
As long as the test page prints, please proceed to Quick to try and print again, making sure the Deskjet 9800 is selected in the printers list.
Hope this helps, have a great day!!
Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
**MissTeriLynn**
I work on behalf of HP -
Why can\'t I get a report to print on Quicken
I have a new printer the HP officejet 6600 and it won't print a report from the Quicken 2011 Home & Business program.
I could on our old HP officejet 6610.Hi ddhafe,
I see that you're having problems printing from Quicken. Are you able to print from other programs such as Word? What operating system do you have? -
Endeca : getting error while trying to print page
Hi experts ,
Can you please tell any one , i am getting below error while printing page from endeca
like :
in exp mgr i created page (/browse) and i am using reff application as a Discover (all handlers are OOTB only).
Error 403--Forbidden
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.4 403 Forbidden
The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
Thank you.Hi ,
The problem might be with the ATG configuration.
Please locate DAF\Endeca\Assembler\config\config\atg\endeca\assembler\cartridge\manager in ATG application.
Use layering to add these files at same location i.e \atg\endeca\assembler\cartridge\manager in your localconfig :
MdexResource_en.properties :
$basedOn=DefaultMdexResource
host=[app-host-name]
#eg host=localhost
port=[live-dgraph-port]
#eg port=15000
WorkbenchContentSource.properties :
$class=atg.nucleus.GenericReference
$scope=request
loggingInfo=false
useRequestNameResolver=true
workbench.app.name=[endeca-app-name]
#eg- workbench.app.name=ATGen
workbench.host=[endeca-host]
# eg- workbench.host=localhost
workbench.port=[Workbench-port]
#eg workbench.port=8006
componentPath=/atg/endeca/assembler/cartridge/manager/PerLanguageWorkbenchContentSourceResolver
WorkbenchContentSource_en.properties :
$basedOn=DefaultWorkbenchContentSource
$constructor.param[1].value=[endeca-app-name]
#eg $constructor.param[1].value=ATGen
workbench.app.name=[Endeca-app-name]
#eg workbench.app.name=ATGen
workbench.host=[endeca-workbench-host]
#eg workbench.host=localhost
workbench.port=[endeca-workbench-port]
#eg workbench.port=8006
Restart the application server.
Thanks,
Mayank Batra
Edited by: Waste Ideas on Mar 21, 2013 1:05 AM -
How to get the total number of pages printed in a report?
Hi All,
I have a requirement where I need to print a frame of fields only in the last page. Unfortunately I cannot use the 'Print Object On' property as it doesnt work in my case. So, I am planning to write a format trigger on the frame to return TRUE if the page is the last physical page. Now, I need to know how to get the total number of physical pages that will get printed in the report so that I can use this to manipulate the frame. I was planning to use the 'Total Physical Pages' built-in, but it seems like I can just use it to print in a field and I can't use this field's value anywhere in the plsql code (formula column function/format trigger) in the report. Is there anyway to get the total number of pages printed in the report which can be used in the report plsql code?
Thanks,
Srini.i found the solution, thanks
-
ARIA Employee Directory -How to Print Multiple Direct Report On a page
This question goes out to the experts. If we have person that has 10,15 or a large number of direct reports how can we print them on to a page so that they all fit. I am okay if they fall to another line just need to get them all on one page rather than multiple because they fall outside the print parameters?
All help in this area would be greatly apprecaited
SteveMaybe. Keep in mind HTML was never made for print. It's quite possibly the worst medium you could choose for print. You won't be able to establish page breaks or even draw consistent boxes. In short, I estimate the probability of success in creating an org chart with an HTML template to be somewhere around 1%. I just don't want to see you spend an absurd number of hours trying to build something that's really not possible.
With that said, here are a few options to consider:
- Microsoft Word and Visio both have Org Chart functionality, though I'm not sure if you can populate it with data from a database. This would be an offline solution wherein one of the developers would, on a periodic basis, generate a new version of the org chart, export it to PDF, then post it as a static file.
- Oracle BI Publisher supports Word shapes for templates, including Org Charts per this documentation:
http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T421739T481157.htm#T481174
though I think it might take effort to get the template to work. At least the output medium (PDF or RTF) is made for print.
- GraphViz (http://www.graphviz.org) is the most promising online solution I can think of. It's a command-line tool, so you would need to
-- generate the data in a file and output that to the file system of the database server (UTL_FILE)
-- call the command-line utility via a dbms_scheduler job, since you need call an OS utility from inside the database
-- provide a link to the output of graphviz.
Take a look at this image, then click on it to see the code that generated it, since that's essentially the format you'll need to output:
http://www.graphviz.org/Gallery/directed/unix.html
There's my 2 cents. If someone is asking you to do this all in HTML, please send them a link to this post.
Tyler -
Print Multiple copies of report, and resetting Page number for each copy.
Dear frnds!
i am using developer 6i reports i have a problem.
i want to Print Multiple copies of report, and resetting Page number for each copy" that is 4 copies of an invoice is required
1 - for user copy
2- gate copy
3- accounts office
4- office copy
any body please tell me the solution "i am using oracle 9i and developer 6i"
Thanx
IbrarHi,
I was wondering if you were able to get your multiple copies working? Below is what I have so far, just trying to get it to work before changing the actual template.
<?for-each-group@section:R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
<?variable@incontext:G1;R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
<?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
HEADER
PSN: <?$G1/Pick_Slip_Number_Display_ID54?>
PSN Detail: <?$G1/PickSlipNumber_ID260?>
Page 1 of 3
<?start:body?>
BODY
<?$G1/LineNumber_ID6?>
<?end body?>
FOOTER
<?end for-each?>
<?end for-each-group?>
XML:
<R5542520>
<Pick_Slips_Detail_Lines_S24>
<Header_Custom_Section_S24>
<Pick_Slip_Number_Display_ID54>123456</Pick_Slip_Number_Display_ID54>
<PickSlipNumber_ID260>123456</PickSlipNumber_ID260> -
How to print report from JSP Page
Hi Everybody,
I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
Could anyone help me to solve this problem.Hi Everybody,
I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
Could anyone help me to solve this problem. -
Getting the error while calling the report from oaf page
Dear all
when i am calling the report from oaf page
if (pageContext.getParameter("PrintPDF") != null)
DataObject sessionDictionary =
(DataObject)pageContext.getNamedDataObject("_SessionParameters");
HttpServletResponse response =
(HttpServletResponse)sessionDictionary.selectValue("HttpServletResponse");
try
ServletOutputStream os = response.getOutputStream();
// Set the Output Report File Name and Content Type
String contentDisposition = "attachment;filename=EmpReport.pdf";
response.setHeader("Content-Disposition", contentDisposition);
response.setContentType("application/pdf");
// Get the Data XML File as the XMLNode
XMLNode xmlNode = (XMLNode)am.invokeMethod("getEmpDataXML");
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
xmlNode.print(outputStream);
ByteArrayInputStream inputStream =
new ByteArrayInputStream(outputStream.toByteArray());
ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
//Generate the PDF Report.
TemplateHelper.processTemplate(((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
"XXCRM", "XXCRM_EMP",
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
inputStream,
TemplateHelper.OUTPUT_TYPE_PDF, null,
pdfFile);
// Write the PDF Report to the HttpServletResponse object and flush.
byte[] b = pdfFile.toByteArray();
response.setContentLength(b.length);
os.write(b, 0, b.length);
os.flush();
os.close();
} catch (Exception e)
response.setContentType("text/html");
throw new OAException(e.getMessage(), OAException.ERROR);
pageContext.setDocumentRendered(false);
i am getting the error java.classcastexception at this line
DataObject sessionDictionary =
(DataObject)pageContext.getNamedDataObject("_SessionParameters");
regards
Sreekanthcheck if you have import oracle.cabo.ui.data.DataObject; in your import statement.
--Prasanna -
How to print report in jsp page?
excuse me,i am new to jsp
may i know how to pritn report in jsp page or html?
tqhere is a hacked up example.. i ripped out a lot, so it may not compile, but you get the idea... the full version is really long and not much new info.. just all awt/display stuff...
package rowe;
import javax.swing.*;
import java.util.*;
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
import java.sql.*;
import utility.*;
import java.awt.print.*;
public class rowePrint extends JFrame implements ActionListener, Printable{
String printType = "";
static JButton j = new JButton("Print");
FontMetrics fm;
String jID, promotion, product, jComments;
public void getInfo(int jid) {
ResultSet rs;
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection conn = DriverManager.getConnection("jdbc:odbc:rowe");
Statement stmt = conn.createStatement();
rs = stmt.executeQuery("select j.id as jID, j.comments, p.title as pTitle, p.product, p.packagingCartonCost, p.foldingQuarterCostPerM, p.foldingQuarterCostPerM, j.customizationOption as setupFee, p.perMcost, p.qtyCarton, d.name as dName, d.contact as dContact, d.email as dEmail, d.address as dAddress, d.city as dCity, d.state as dState, d.zip as dZip, d.phone as dPhone, d.fax as dFax, r.name as rName, j.totalQty, j.orderIn, j.estFreight, j.miscCost, j.coverSelection, j.imprintSelection from jobs j, promotions p, dealers d, reps r where j.promotion = p.id and j.dealer = d.id and j.rep = r.id and j.id = " + jid);
rs.next();
jID = rs.getString("jID");
jComments = rs.getString("comments");
promotion = rs.getString("pTitle");
product = rs.getString("product");
} catch (Exception e) {
System.out.println("getinfo: " + e);
public void actionPerformed(ActionEvent e) {
if (e.getSource() instanceof JButton) {
wookie();
public void wookie() {
PrinterJob printJob = PrinterJob.getPrinterJob();
Paper paper = new Paper();
PageFormat page = new PageFormat();
paper.setImageableArea(0, 0, 600, 780);
page.setPaper(paper);
printJob.setPrintable(this, page);
try{
//printJob.pageDialog(page);
// if (printJob.printDialog()) {
printJob.print();
} catch (Exception e) {
System.out.println("wookie1" + e);
public static void main(String[] args) {
rowePrint at = new rowePrint("Invoice");
at.getInfo((new Integer(args[0])).intValue());
at.drawShapes();
// at.wookie();
public void drawShapes() {
setBounds(0, 0, 670, 550);
addWindowListener(new WindowAdapter() {public void windowClosing(WindowEvent e) {System.exit(0);}});
j.setBounds(10, 10, 10, 10);
j.addActionListener(this);
getContentPane().setLayout(null);
getContentPane().add(l);
getContentPane().add(j);
show();
public rowePrint(String s){
printType = s;
public void paint(Graphics g) {
g.setFont(new Font("Serif", Font.BOLD, 18));
g.drawString(promotion, 20, 30);
g.setFont(new Font("SansSerif", Font.PLAIN, 4));
g.drawString("" + new java.util.Date(), 20, 37);
g.setFont(new Font("Serif", Font.BOLD, 21));
g.drawString("Rowe Furniture", 440, 35);
g.fillRect(440, 40, 145, 25);
g.setColor(Color.white);
fm = g.getFontMetrics(new Font("Serif", Font.BOLD, 21));
g.drawString(printType, 512 - (fm.stringWidth(printType) / 2), 60);
public int print(Graphics g, PageFormat pf, int pi) throws PrinterException {
if (pi >= 1) {
return Printable.NO_SUCH_PAGE;
paint(g);
return Printable.PAGE_EXISTS;
} -
How to get the report summary to the bottom of the page?
Hi all. Does anyone know how can I get the report summary to
stick to the bottom of the page, like the page footer? Basically, I
have a report that displays line items on an order. At the end of
the report, there is a signatory section or acknowledgment. If I
stick this in the page footer, then it displays at the bottom of
the page, but on every page. If I put it on the report footer, than
it follows immediately after the details, and not at the bottom of
the page. What I need is the report footer to be at the bottom of
the last page.
Any ideas?Greetings. Thanks for the post. I am not having problems with
a page number. I am having problems with getting the report footer
contents to be at the bottom of the last page. The closest solution
I have found is to put the content in the page footer, and then
hide the page footer until the last page. However, this leaves
whitespace on all of the other pages, which isn't ideal. I really
need an attribute that allows me to set the report footer to print
at the bottom of the page, like the page footer. -
Second Printed Page of a Report Is Corrupted As Well the Report View When Focus Is Returned To It
I am having a problem with a report in Access 2010. The report detail has a linked subreport in it. I build a query dynamically for both the report and subreport. There is a form that builds the queries and then displays the report in Report View. Everything
is displayed correctly. In this view I have a command button that will print the report using “DoCmd.RunCommand acCmdPrint.”The printed report’s first page is correct. The second page has #error for all the fields for next record detail and that is it. At
this point, there are still multiple records to print. When focus is returned to the Print View, it is corrupted and usually freezes.
If after the Report View is displayed, I right click on the header and choose to display the Print Preview, all pages are displayed correctly. If I right click again, and select print, all pages are printed correctly, and the Report View is not corrupted.
To see if I had corrupted the database, I imported everything into an empty database. After compiling the code, the behavior did not change at all.
Once I place the database into production, everything will be driven by command buttons on the forms and reports so the left-click drop-down menus or any ribbons will not be available.
Does anyone know what is happening?
Thanks, in advance.Hi Ray,
I failed to reproduce this issue in my test environment (Access 2013).
Steps:
#1 Create a table with the attachment field, add multiple records
#2 Create a report with the table
#3 Click Print Preview of the report, it worked correctly
Can you also reproduce this issue in a newly created database, if no, I will suspect that issue is related to the specific database file (data issue or database is corrupted). You could use the link below to compact and repair the database.
Compact and repair a database
If the methods above do not work, it would be helpful if you could share us a simple demo to reproduce this issue. Due to privacy issues, I will also suggest you submitting a professional support incident to get the 1-1 support service so that Microsoft
engineers can work closely with you to resolve this issue.
Best Regards,
Edward
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. -
How to get the Report Page count using crystal reports 2008
Hi,
I have to implement a business logic where in i will have to display the no. of pages generated for the report
Say for e.g. crytal report that's generated spans 25 pages in the report.
Then i will have to display a message to the user after the report generation something like "25 Pages generated"
So, how would i get this report page count so that i can fetch the value and display the same to the user.
Any sample code snippet would be of great help.
Thanks in Advance
Regards,
RamnathHi,
I am using crystal reports 2008 and i visited the link forwarded in your previous mail and got the solution for getting the lastpagenumber of the report.
nPages = crReport.FormatEngine.GetLastPageNumber(New CrystalDecisions.Shared.ReportPageRequestContext)
but, i don't find FormatEngine property for ReportDocument object.
I just wanted to know whether this property is availale in crystal reports 2008 or should i even install any service packs for this.
Please find below the namespaces that importing in my class
Imports System.Windows.Forms
Imports System.Drawing.Printing
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports CrystalDecisions.Windows.Forms
Imports CrystalDecisions.CrystalReports.ViewerObjectModel
Imports CrystalDecisions.Shared.ReportPageRequestContext
Please let me know how can i get the formatEngine property for reportdocument object
Thanks in Advance
Regards,
Ramnath -
Page Not Found Error when clicking on Crystal Report Viewer print icon
Hi,
I am working with ASP.NET 2.0 and crystla reportXI release2.
I am getting "Page Can not be Found " error when clicking on Crystal Report Viewer print icon.
Could you please tell me how to get rid of this error?
Regards,
SmithaThis sounds like a postback issue. Does your application handle postback by putting the report in session?
There is a [sample|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_samples_aspx/data/crsdk_net_tutorials_115_en.zip] to look at on our website. It was created with Crystal Reports XI R2 and Visual Studio .NET but the code will be the same.
A short pseudocode would be something like this:
Dim rptDocument As ReportDocument
If Not Me.IsPostBack or Session("Report") = Nothing Then
rptDocument = New ReportDocument
rptDocument.Load(sGlobalPath & "\myreport.rpt";)
Ludek -
adobe reader xi i am running 2 display screens and when i have a file open and go to print the print page opens on my second screen. How can I get adobe reader to just display on one screen?
I want the capability of adobe reader to just run on one screen.I had the same problem.
Try this.
https://igppwiki.ucsd.edu/groups/publichelpwiki/wiki/a1538/Howto_Disable_Acrobat _as_the_Safari_PDF_Viewer.html
Maybe you are looking for
-
After downloading Adobe Flash Player, I can't play ANY video (it reads "plug-in failure"). What's going on?
-
Sony photo album and animated gifs
The sony album just shows my animated gifs (that I created from sonys own motiongraph) as static images! How do I see them as animated like the Google album does.
-
Hi everyone, I am using the WDPortalNavigation.navigateAbsolute methode to open a new browser with a WD application loaded in it. Is there a way to disable to BACK button from the navigator ? Thanks.
-
Installing JSF on a Windows box
Hi. I've got a Windows XP Pro system and am using Oracle JDeveloper. Sorry for the stupid question, but how do you install the Sun JSF technology on this system? I did some searches but only found specifications for download and not the actual techno
-
Deleted Skype account still appearing online to contacts
I went through the process of having my account deleted a few days ago, I can of course no longer log into the account, however contacts of that account are saying that I am now appearing constantly online but set as away. I'm sure I deleted all per