Setting the page size of a report to 5.5height and 8.5 width(size-inches)
Hi,
I want to set the report's page size on a dot matrix printer(for PAYSLIP) to 5.5 inches height * 8.5 inches width. But i'm not able to define my own size through the printer(custom size or user defined size). Some how i cannot see the custom size in the printer settings. Is there any way where i can define the size for the report. The report output is genrated to a pdf format. Will the settings remain same once generated to pdf format. Please let me know if there's any solution for this. Its very urgent.
Thanx.
Anu.
Someone plaese reply to this.
Similar Messages
-
Setting the page orientation for a report
Hi
Currently, in infoview I have observed that we can set the page orientation for a report in a webi document , i.e. whether the report is to be viewed in landscape mode or portrait mode.
Currently, in the BO SDK, I have come across the classes like Orientation, but am not able to figure out how to use them.
Can you please paste some code snippet, how to use this class for setting the orientation of the document.
Thanks in advance,
ShrutiHi Shruti,
To retrieve the Reportcontainer for an existing report on a WebI document, you can do the following:
ReportStructure oReportStructure = oDocumentInstance.getStructure();
ReportContainer oReportContainer = (ReportContainer) oReportStructure.getReportElement(0);
Hope this helps.
Regards,
Dan -
For an example......
SUMMARY
ksdlkasjdflksdmflkagflkaglaksdfmlksadmflaksmdflaskdmflaksfgalkfdgndflkngladfknga lmfv,amsdglkaglkajglkjalkgfmlmv.zmxcv.mldkglksdgjlskdfjglskdfglkdsfgmlsdkfmg
PROFESSIONAL EXPERIENCE
Comapny Location
Title Date
This side left flush This side right flush
Also, as another option how would I set up a template save it to use for motifying my resume according to the specific job inwhich I am applying?
Thanks!That is poor type layout.
European languages read left to right, a ragged left edge is the worst possible layout for listed data.
The only circumstance you should use the left/right alignment is in header/footers for running heads and page numbers wheer they are widely separated and therefore easy to scan as individual short snipetts of text.
Peter -
How to set the page size and the margins programatically
Hello,
I am working with crystal report XI Release2 and asp.net.
One of my report is having 4 graphs in a single report.In order to display all the graphs in one page i have set the paper size as A3.(Via Crysta report ->File->Page set up)
But the page size A3 is not provided by all printers.So problem comes when the application is diployed on a machine which does not support A3 Printer.All the graphs will not be shown on a single page.
Also Each and Every time ,when the application is diployed on a machine,user has to open the crystal report and adjust the page size accordingly to get all the reports on a single page.
This is a kind of usability issue also.
Is it possible to set the page size and the margins programatically say for eg 11 X 17.so that with out doing anything all the 4 graphs will get displayed on a single page ?
Please let me know if you require more information regarding this issue.
Thanks in advance.
smitha.Hi Ludek,
i could solve the issue by using the follwing code.
report = new ReportDocument();
PageMargins customPageMargin = report.PrintOptions.PageMargins;
report.PrintOptions.PaperOrientation = PaperOrientation.Portrait;
report.PrintOptions.PaperSize = PaperSize.Paper10x14;
customPageMargin.rightMargin = 1;
customPageMargin.topMargin = 0;
customPageMargin.bottomMargin = 0;
report.PrintOptions.ApplyPageMargins(customPageMargin);
Thanks for you help.
Regards,
smitha. -
How do I set the Page size default in Adobe Reader using Window 8?
I need to set the page size everytime I go to print from my Adobe Reader in my windows 8. Is there a way to set the page I want letter (8.5 by 11) as a default? So I do not have to do this everytime I print something?
I can't help but wonder why Adobe doesn't respond to this - at this point there are 464 views of this item and still no answer. I have the same problem and it's a big irritation to have to set the duplex mode everytime I want to print!
-
Hi, I am using Indesign CS6, How to set the page size in Inches.
Hi, I am using Indesign CS6, How to set the page size in Inches.
All fields in InDesign can be entered in any measurement system. So, if you want to make an 8"x10" document and go to File>New Document and the window looks like this:
…you can type either 8 in or 8" into the Width field like this:
…and when you move to the next field, it will convert the eight inches into the equivalent number in the unit of measure that it is using at the moment, like this:
… (203.2 milimeters is the same as 8 inches). You can also enter a different measurement unit into other fields once the file is created, such as the width or height of a frame, or the position of an object in the X and Y coordinates.
If you would rather just work in inches instead of having to type the inches mark or abbreviation, go to InDesign>Preferences>General and select the Units & Increments tab. There you will see Ruler Units for Horizontal and Vertical at the top of the window. Set them to Inches and all of the fields will display in inches. If you do that to an open document, you will change the unit of measure for that document. If you do it while no documents are open, it will change the unit of measure for any new documents you create. To change the unit of measure for existing documents, you will have to open each and make the change. -
Hi,
How to set the page size of a B tree node in berkeley db java edition?
thanks.The two systems have different performance characteristics. If you are concerned with the performance characteristics, then the best way to tell is to benchmark them.
By the way, both BDB and BDB JE are B-trees. -
2 Question How to set the page size and full screen
I am looking to find out how to set the page to be 1024 by
768 static and also how to force a browser window to go to full
screen. ThanksHi Ludek,
i could solve the issue by using the follwing code.
report = new ReportDocument();
PageMargins customPageMargin = report.PrintOptions.PageMargins;
report.PrintOptions.PaperOrientation = PaperOrientation.Portrait;
report.PrintOptions.PaperSize = PaperSize.Paper10x14;
customPageMargin.rightMargin = 1;
customPageMargin.topMargin = 0;
customPageMargin.bottomMargin = 0;
report.PrintOptions.ApplyPageMargins(customPageMargin);
Thanks for you help.
Regards,
smitha. -
How to get the print the page numbers in a report based on another report
Hi
I have a requirement in which i need to print the page number based on another report
example my request set has 3 reports
1 report prints 1- 100 pages
2 report page number should start from 101 - 110
3 report 111-
Can anyone please let me how to achieve this?
Thx in advance
KumarHi,
You can create all the three report queries in one report creating separate query in the data model and then create the layout in proper sequence as required.
If you want to use separate reports only you might try the following:
In the first report use the after-report trigger and save the total no of pages in a table as a record.
In the second report fetch the value stored in the table and add it to the Page No. to obtain the Page No for second report.
Also in the second report use the after-report trigger and update the record created in first record to total no of pages + total no of pages of the first report.
In the third report fetch the value stored in the table and add it to the Page No. to obtain the Page No for third report.
Do remember to delete the record created in the table after-report trigger of the third report.
Hope this helps.
Best Regards
Arif Khadas -
How can I set the page that will open, when I open a new tab, to be the same as the homepage?
An app changed it to some other search engine, before installing the app, I the tab that would open was the homepage I set.
In my case it is Google, and I want my new tabs to open on Google like they did before the installation.
thank you,
Asaf Privman.You can middle-click or Ctrl left-click the Home button on the Navigation toolbar to open the Home page in a new tab.
You can look at one of these extensions:
* NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/
* New Tab Homepage : https://addons.mozilla.org/firefox/addon/new-tab-homepage/ -
PDEXGroup to set the Page Group ColorSpace
Hello,
I'm currently trying to add an Image into a PDF (that's the only content) but as I read on previous threads I'm trying to get a correct rendering when there is an alpha (channel/mask) in my image.
To do so I first create an Image (PDEImageCreate) then I create the Alpha mask and apply it to the first image (using PDEImageSetSMask).
The problem is now my image is too dark in "Acrobat Reader" and is correct in Evince. So I guess my problem is Acrobat try to blend in CMYK but my source image is in RGB.
But I don't really understand how I should/could specify that ? I tried in the Resources of the Page, and then I tried the PDEXGroup, but how can I add my XObject to the PDEXGroup ?
Am I on the wrong track trying to set the Page ColorSpace ?
Thanks in advance.Following your indication I re-read the paragraph relating to Transparency group. starting with the 11.4.7.
All of the elements painted directly onto a page—both top-level groups and top-level objects that are not part of any group—shall be treated as if they were contained in a transparency group P
My main question here is how do I get access to this "group P" ?
Because I didn't found how, I searched "how to specify a blending" which leads me to paragrap 11.6.3
11.6.3 Specifying Blending Colour Space and Blend Mode The blending colour space shall be an attribute of the transparency group within which an object is painted; its specification is described in 11.6.6, "Transparency Group XObjects."
Ok so how to define a Transparency group is in 11.6.6 (still my original question)
Summarized : a transparency group is a specialized form XObject with a Group entry in its dictionnary. (Group with subtype "/S /Transparency") Also a Page may have a Group entry (some entries in this dictionnary may be interpreted differently when in a Page group).
So (again) I looked at the right paragraph to make a Group 8.10.3, "Group XObjects".
This paragraph finally describe what the CosObj should look like I expect it to be something like :
6 0 obj % Form XObject
<< /Type /XObject
/Subtype /Form
/FormType 1
/BBox [ 0 0 1000 1000 ]
/Group <> /Matrix [ 1 0 0 1 0 0 ]
/Resources << /ProcSet [ /PDF ] >> /Length 58
>>stream
endstream
endobj
But alas my main concern is still here, how do I add a PDEImage in a PDEGroup or PDEForm or CosObj and then overwrite the Page content with this new content in order to change the default Blending ColorSpace ?
You said to use the Cos API but what the Cos Object should look likes when the Color Blend Space is correctly set ?
Below there is some code sample that I used to get this working.
1 void func()
2 {
3 PDDoc document;
4 PDPage page;
5 ASFixedRect mediabox;
6 PDEContent content;
7
8 /* Some or most informations are skipped below for readability but important
9 * call remains
10 */
11
12 document = PDDocCreate();
13
14 page = PDDocCreatePage(document, PDBeforeFirstPage, mediabox);
15 content = PDPageAcquirePDEContent(page, NULL);
16
17 /* setup arguments PDEImage */
18 image = PDEImageCreate(....);
19 /* setup arguments for Image mask / alpha channel */
20 mask = PDEImageCreate(....);
21
22 PDEImageSetMatteArray(mask, ...);
23 PDEImageSetSMask(image, mask);
24
25 CosDoc documentCos = PDDocGetCosDoc(document);
26 CosObj xobjForm = CosNewNull();
27 CosObj resources = CosNewNull();
28
29 /*
30 * Here is the naive version I first tried which as you explained should be
31 * done using Cos_Layer functions
32 */
33 #if defined NAIVE_VERSION
34
35 /*
36 * Doesn't work
37 */
38
39 CosObj imgCos;
40 PDEImageGetCosObj(img, &imgCos);
41 PDEXGroup grp_image = PDEXGroupCreateFromCosObj(&imgCos);
42 PDEXGroupSetColorSpace(grp_image, PDEColorSpaceCreateFromName(ASAtomFromString("DeviceRGB")));
43
44 PDEContentAddElem(content, kPDEAfterLast, image);
45 PDPageSetPDEContent(page, content);
46
47 #elif defined SECOND_VERSION
48
49 /*
50 * Doesn't work
51 */
52
53
54 PDEContentAddElem(content, kPDEAfterLast, image);
55
56 PDEForm myf = NULL;
57
58 PDEContentAttrs pdeContentAttrs;
59 memset(&pdeContentAttrs, 0, sizeof pdeContentAttrs);
60 PDEContentGetAttrs(content, &pdeContentAttrs, sizeof pdeContentAttrs);
61
62 PDEContentToCosObj(content, kPDEContentToForm, &pdeContentAttrs,
63 sizeof pdeContentAttrs, documentCos, NULL, &xobjForm, &resources);
64
65 if (!CosObjEqual(xobjForm, CosNewNull()) && !CosObjEqual(resources, CosNewNull())) {
66 /* success retrieving form & resources */
67
68 // Put resources into the Form XObject stream dictionary
69 CosDictPutKeyString(xobjForm, "Resources" , resources);
70
71 // Set BBox key for the Form XObject according to the image page
72 ASFixedRect rectOrigPage;
73 PDPageGetMediaBox(page, &rectOrigPage);
74
75 CosObj BBoxArray = CosNewArray(documentCos, 4, false);
76 CosArrayPut(BBoxArray, 0, CosNewInteger(documentCos, false, ASFixedRoundToInt16(rectOrigPage.left)));
77 CosArrayPut(BBoxArray, 1, CosNewInteger(documentCos, false, ASFixedRoundToInt16(rectOrigPage.bottom)));
78 CosArrayPut(BBoxArray, 2, CosNewInteger(documentCos, false, ASFixedRoundToInt16(rectOrigPage.right)));
79 CosArrayPut(BBoxArray, 3, CosNewInteger(documentCos, false, ASFixedRoundToInt16(rectOrigPage.top)));
80
81 CosDictPutKeyString(xobjForm, "BBox" , BBoxArray);
82
83 // Set matrix key for the Form XObject
84 ASFixedMatrix defaultMatrix;
85 PDPageGetDefaultMatrix(page, &defaultMatrix);
86
87 myf = PDEFormCreateFromCosObj(&xobjForm, &resources, &defaultMatrix);
88
89 PDEXGroup trpgroup = PDEXGroupCreate(documentCos, kPDEXGroupTypeTransparency);
90 PDEXGroupSetColorSpace(trpgroup, PDEColorSpaceCreateFromName(ASAtomFromString("DeviceRGB")));
91
92 PDEFormSetXGroup(myf, trpgroup);
93 PDEContentAddElem(content, kPDEBeforeFirst, (PDEElement) myf);
94
95 PDPageSetPDEContent(page, (ASExtension) PDEFormGetContent(myf));
96 }
97
98 #else
99
100 /*
101 * Doesn't work
102 */
103
104 CosObj xobjForm = (CosObj) CosNewDict(documentCos, false, 1);
105 CosObj resources = (CosObj) CosNewDict(documentCos, false, 1);
106
107 CosDictPutKeyString(xobjForm, "Type", CosNewName(documentCos, false, ASAtomFromString("XObject")));
108 CosDictPutKeyString(xobjForm, "Subtype", CosNewName(documentCos, false, ASAtomFromString("Form")));
109 CosDictPutKeyString(xobjForm, "FormType", CosNewInteger(documentCos, false, 1));
110
111 CosObj array_bbox = CosNewArray(documentCos, false, 4);
112 CosArrayPut(array_bbox, 0, CosNewInteger(documentCos, false, 0));
113 CosArrayPut(array_bbox, 1, CosNewInteger(documentCos, false, 0));
114 CosArrayPut(array_bbox, 2, CosNewInteger(documentCos, false, width));
115 CosArrayPut(array_bbox, 3, CosNewInteger(documentCos, false, height));
116
117 CosDictPutKeyString(xobjForm, "BBox", array_bbox);
118
119 ASFixedMatrix frmMatrix;
120 frmMatrix.a = FloatToASFixed(1);
121 frmMatrix.d = FloatToASFixed(1);
122 frmMatrix.b = frmMatrix.c = frmMatrix.h = frmMatrix.v = fixedZero;
123
124 #endif
125
126 PDDocSave(document, ....);
127
128 }
Thanks again for your help. -
Question
My screen opened, and with every click the page (letters/images) got bigger. I can not get it to return to normal image size. I have to use the slide bar to read across the page. What do i do to correct it back to normal size???Hi jholzworth,
It sounds like you might have accidentally hit the zoom button. Try hitting ''CTRL + 0'' to return it to normal size. Just so you are aware, ''CTRL'' and ''+'' will zoom in and ''CTRL'' and ''-'' will zoom out.
Hopefully this helps! -
Get an set the SQL statement from a report at runtime
i know there is an opportunity to filter the records by using setRecordSelectionFormula() method...but i wondered if you can anyhow get the whole SQL statement that is in the report. i think it would be very useful for many developers to maipulate the SQL directly like you were able to using the PE-functions in the old CRPE32.DLL...
but in CR XI the CRPE32.DLL is no longer supported. now we have to substitute these functions with the JRC but i am not sure if it provides everything we had in the CRPE32.DLL...
after all i do not understand why the CRPE32.DLL is still delivered but not supported. in my CR XI R2 installtion i found this file signed with version 11.5.3.438
by the way it is a question of performance...a query would be faster if you could directly query the database by changing the reports sql statement instead of allowing the report to retrieve all data and then performing the filtering.
so please, for the next version of the JRC give us the opportunity to get an set the sql statement of a report directly!Not an option. crpe32 is proprietory and the SQL we generate is to complex to assume it will be done correctly. Which is why the ability was removed
-
if you can help me please alguin
Adobe Creative Cloud because I do not get After Effects among others but I try to install software from the page but I give After Effects download shareware and says downloading but nothing comes give him retrying but nothing even leave the application of Adobe Creative but nothing helpWithout proper system info and otehr technical details nobody can tell you anything.
Mylenium -
The page load progress bar that was on the lower right of the window is no longer there. After updating to the latest version of Firefox on my Mac there is no progress bar for the page load. I really miss this feature and can't seem to find a way to obtain it. The tab has a circular progress wheel but this is useless for determining a stuck or slow loading page.
PLEASE NOTE: I am typing this in from a Windows based work computer but am asking about my Apple MacBook Pro that i use at home.Firefox 4 saves the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.<br />
You can use "Firefox > History > Restore Previous Session" to get the previous session at any time.<br />
There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.<br />
Another possibility is to use:
* [http://kb.mozillazine.org/Menu_differences Firefox (Tools) > Options] > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"
Maybe you are looking for
-
Applephotostreams.exe entry point not found error
In the last several weeks I've been receiving the following error message upon startup of my Windows 7 PC: applephotostreams.exe entry point not found I've tried searching for similar error messages on the web and in this forum without finding a solu
-
Hello I don't know what else to call it! I have a 20" iMac (2 months old) with a Benq 19" (1 yr old) as external display. Never had any troubles then moved a window from iMac to Benq and the inside of the window became a conglomeration of brightly co
-
What happened to Facetime registration process?
What has happened to the Facetime and Messages Login on my Mac today? Accounts deactivated, Can't reenable them. Error Message is: server error occurred during process of registration (or similar to that). Seems that alot of people have problems righ
-
60fps .mts support in Adobe Media Encoder?
I'm new to AME, but would like to take the 1080p 60fps .mts files imported through LightRoom from my Sony NEX 5N, and output them to an mp4 that I can import into FCPX later. Right now, I only see presets for 24, 25, 30 fps (etc), but none for 59.xx
-
I am creating a database that needs to lock users out of updating certain portions if another user is currently updating the same portion. I currently have a "locked" column in table, which is set the the user i.d. of whichever user currently owns th