Different page orientation in SMARTFORMS
Hi Experts,
Is it possible to have different page orientation (portrait/landscape) for different pages in one smartforms? Thanks so much!
Best Regards,
randy
Hi,
Yes, it is. Go to the output options of the page and select the portrait/landscape option.
Regards,
Nick
Similar Messages
-
How to use different page scapes in smartforms
hi
How to use different page scapes in smartforms.
I want Potrait format in the 1st page and Lanscape format in 2nd page is it possible if so plz suggest me an ideaHi,
It is possible in smart forms, but not in scripts.
we can have 3 tabbed options for pages in smart forms.
<b>General...
Output options
Conditions</b>.
In <b>output options</b> u can define whether a page can portrait or land scape in <b>print attributes</b>.
Reward if helpful.
Regards,
Sandhya -
How can I use two different page orientations in the same document?
I am trying to have both portrait and landscape page orientations in the same document. Pages doesn't seem to like this. Is there a way?
I tried to comment on another thread about this same issue, but the thread was closed.
In the other thread; however, some asked why rotating one pages was necessary, and if they knew then maybe there would be reason to create the function.
Well, I don't know about why anyone else needs it, but for me it's for the papers I have to write for my masters program. The professors like to have the rubric attached to the bottome of the document so they easily grade and keep things organized. They of course give directions on how to easily change the orientation of the last page in Word, but not all of use Word, or even want to use Word. Maybe I need to ditch Pages and go to Word? I'd really hate to do that!
So, come on Apple, let's get this feature added, stat! -
Different Page Orientation in Single Report
i am using Crystal Report XI Release 2.
I am creating a report. First page i want to use Portrait Orientation and all remaining pages should have landscape.
First page is cover letter which should only be in Portrait. I tried making this as sub-report, but when i change subreport's orientation, it changes the main reports orientation.
Thanks For Support...Hi Sastry
I've just finished rehashing a report that has required a change from Portrait to Landscape, which I havent' been able to do until getting Crystal 2008... Phew!... Or so I thought...
While editing, the print preview shows me exactly what I want to see... seamless transition from Portrait to Landscape pages.
But once I load the report back into my database and generate it, Crystal seems to change its mind about the changing orientations, and completely ignores the call for Landscape from the second page onwards.
Do you have a suggestion to solve this problem?
-Karen -
Different page orientation in new section?
I have a Word document I'd rather do in Pages, so I am recreating it. I need to have the first section in vertical orientation, and the second section in landscape (horizontal). Is there a way to do this? When I ask for a new section and change the page layout, it changes the whole document.
Penny
I agree in some ways that you shouldn't change the good parts, but disagree on the point that if an outside idea is a good one it should not matter where it has been used.
All programs have their faults and IMHO Pages has a disproportionate share, to the point I really find it difficult to use productively for almost any kind of work.
I storm through work with iText Pro where I trundle in Pages. That is despite iText Pro having a relatively clumsy method of implementing and applying styles, and lacks floating objects.
On more than one occasion I have tried to use Pages for serious work only to founder on one or more fatal stumbling blocks, despite having steadfastly ignored its maimed User Interface. You can't accuse me of not knowing the program.
In the end there is its doomed .pdf output to put the nail into the coffin of any real work I might do.
It holds a tantalising glimpse of what it could be however, and there is always the next version and the next version to inspire hope.
Peter -
Different page orientation in same report!
As in Microsoft Word I am trying to customize a mail merge totally in Crystal Reports using Access as the data engine. Can Crystal have a cover letter, with merge fields, from Access as portrait orientation (page 1) and then all subsequent pages in landscape orientation (recipients data pages). In summary I need Crystal to be able to have page 1 as portrait and all other pages as landscape within the same report. This answer is dependent on whether I purchase Crystal Reports.
Thank YouHello,
This functionality is new with CR2008. You can visit the [Crystal Reports 2008 Features|http://www.sap.com/solutions/sapbusinessobjects/sme/reporting-dashboarding/reporting/crystalreports/featuresfunctions/index.epx] page for more information.
Sincerely,
Dan Kelleher -
Hi Folks,
I have a form, a PO Output, that I have written in Adobe Forms, it is nearly finished apart from one last requirement.
I have the form in Landscape format, the data should create as many pages as it needs to output the data in landscape format. When it is finished outputting the data, the last page it should print is a terms and conditions page in portrait format.
I have been able to set the two page formats, however, the first page prints correctly in landscape, but then all subsequent pages print in portrait, how do I set it so that only the last page prints in portrait?
Thanks for any help,
ColmHello Colm,
Create two master pages, say Page1 and Page2, and create two body pages, say BP1 and BP2. Place the PO data subform on BP1 and Place the terms and conditions on BP2. As soon as all the data gets printed, in the last page, terms and conditions get printed. If you need to terms and conditions on the back side of the last page, please let me know.
Please let me know, if you see any issues.
Thanks,
Rakesh -
Dynamic Page Orientation in Reports 6i
I have the following requirement. I need to print a letter that contains an attachment. The letter is two pages long and the page size letter and orientation is portrait. The attachment is legal but the orientation is landscape. So what it essentially means is that I need to change the orientation between pages. The letter is a separate repeating frame that the attachment, they are at the same level. I have set the main layout section to H=11 and W=8.5. When I layout the attachment in the layout editor and run the report I get error that the body is outside the frame etc... Meaning the size of the attachment is outside the page. I can define a different page size in the Trailer Section and it works fine if I am only printing one letter, If I enter parameters to print multiple letters, ie. from Customer A to C I get Letter A followed by letter B then Letter C then the three attachments. Problem is the letters go to a folding machine and need to be in order. I know I can do it by using text fields that contain the field name prefaced with and ampersand and then rotate the text field accordingly but this seems very cumbersome. Does anyone know of a better way to essentially create a single report that has different page orientations from page to page. Thanks in advance for any insights. Phil
hello,
in 6i we only support one page size per report. in 9i/10g we allow for different pagesize settings for the three sections of a report.
thanks,
ph. -
I'm trying to write a document with differing page orientations (landscape, portrait) for individual pages. This has *LONG* been a feature in Word but I can't figure out how to do it in Pages '09. What am I missing?
I did search and did find that answer in the forums. However, using another application to manipulate the final product is not the solution in the native app that I am seeking. I want to be able to have the editable document open and see the layout on the differing pages while writing. I suppose you are correct and this is a personal opinion/desire for this feature. However, I do not think it is too much to expect if Apple wants people to be convinced to use their iWork suite instead of MS Office.
-
Calling different pages in smartforms
Dear Friends,
I need one solution in smartforms, i need to print the different labels in my smartform. For example i have to print three labels
and one normal layout. Three labels means having some fixed data of three rows maximum and these labels repetatively i need to print based on some conditions those conditions i am doing in driver program itself.
For example assume first label i need to print 2 times,second 2 times and third 14 times then final layout contains header and items section as usual.
So here in the first page only i need to print first label then i have to call the new page to print second label then i have to call the
new page to print third label as there are 14 labels in third page i have to print 9 labels and in the fourth page i have to print remaining 5 labels and i need to call new page to print the last section, the last section is like normal layout there mainwindow and everything is there.
Please help me to handle this scenario.
Any help will be highly appreciated.
Thanks a lot in advance.This approach to make call from SAPscript. Its concept is similar to make call to a subroutine in another program. I would presume you understand how to use USING and CHANGING parameter. =)
SAPscript -
/: Perform get_date in program z_at_date
/: using &p_year&
/: changing &new_date&
/: endperform.
program z_at_date -
form get_date TABLES rec_in STRUCTURE itcsy
rec_out STRUCTURE itcsy..
DATA:
v_year type char10.
sap script and subroutine uses itcsy structure to transmit parameters
first parameter is incoming while second parameter is out going
their function is like an internal table with header line
all data types between SAPscript and subroutine are string.
so, you might need additional conversion.
read incoming parameter with exact name from SAPscript
READ TABLE rec_in WITH KEY name = 'P_YEAR'.
IF sy-subrc EQ 0.
v_year = rec_in-value.
ENDIF.
to return value, use the exact name on the second structure
CONCATENATE v_year v_year INTO v_year.
READ TABLE rec_out WITH KEY name = 'NEW_DATE'.
IF sy-subrc EQ 0.
rec_out-value = v_year.
MODIFY rec_out TRANSPORTING value WHERE name = 'NEW_DATE'.
ENDIF.
endform.
Hope this helps =) -
How to trigger different page formats dynamically in smartforms
Hi ,
I have a requirement in smartform,want to trigger different page formants based on country code for ex if country code is ZA12 then pageformant should be DINA4 else page format should be LETTER.
Rgrds
VasumathiHi,
According to me, you have to create 2 smartforms, one in DINA4 and other in LETTER format.
In your driver program, you have to maintain condtion depending on country code.
if country code = 'ZA12'.
call fm <--- DINA4 format
else.
call fm <--- LETTER format
endif.
Regards,
Naveen -
Smartforms: Creating main windows in different pages
Hi all!
I am using smart forms, I tried to create 2 main windows in 2 different pages. I keep getting the following error: "Two main windows are not allowed." However, I have already seen an example where there are 2 main windows created in 2 different pages. Does anyone know of you how to solve this?
Thanks for your help.
Message was edited by: Hajar BelahsenHi Hajar,
You cannot have two main windows. But the main window can be associated to as many different pages that you want.
Check the program where you saw that the code inside the MAIN window is same. They have actually associated the window with the page. This is what termed as page-window.
Give feedback.
Regards,
Deva. -
Hi All.
i have an issue in the form printing.
In my form I have to pages.
I want the first page in Potroit format and second one in Landscape.
for this requirement,how to deal in Scripts and in Smart forms.
Can any body help me to solve this issue,.
Thanks in advance,
regards,
eswarWith onli one form u cannot achieve this.. but u need to have two same forms .. one with Landscape orientation.. and second with Portrait orientation...
( Otherwise u can go for the SMARTFORMS , with smartforms u can achieve this in a single form )
There is a way to have first page in landscape and second page in portrait.
Use
START_FORM
END_FORM
twice one form in each having different page setting(like landscape....)
See this code:
REPORT ZTEST_LANDSCAPE.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'ZTEST_02'
LANGUAGE = SY-LANGU
OPTIONS =
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJECT =
RAW_DATA_INTERFACE = '*'
SPONUMIV =
IMPORTING
LANGUAGE =
NEW_ARCHIVE_PARAMS =
RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
CODEPAGE = 11
OTHERS = 12
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'START_FORM'
EXPORTING
ARCHIVE_INDEX =
FORM = 'ZTEST_02'
LANGUAGE = ' '
STARTPAGE = ' ' <b><u>(*** u can use this option to start printing from the second page )</u></b>
PROGRAM = ' '
MAIL_APPL_OBJECT =
IMPORTING
LANGUAGE =
EXCEPTIONS
FORM = 1
FORMAT = 2
UNENDED = 3
UNOPENED = 4
UNUSED = 5
SPOOL_ERROR = 6
CODEPAGE = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'DATA1'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
IMPORTING
PENDING_LINES =
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'DATA2'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
IMPORTING
PENDING_LINES =
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'END_FORM'
IMPORTING
RESULT =
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SPOOL_ERROR = 3
CODEPAGE = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'START_FORM'
EXPORTING
ARCHIVE_INDEX =
FORM = 'ZTEST_03'
LANGUAGE = ' '
STARTPAGE = ' '
PROGRAM = ' '
MAIL_APPL_OBJECT =
IMPORTING
LANGUAGE =
EXCEPTIONS
FORM = 1
FORMAT = 2
UNENDED = 3
UNOPENED = 4
UNUSED = 5
SPOOL_ERROR = 6
CODEPAGE = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'DATA2'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
IMPORTING
PENDING_LINES =
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'END_FORM'
IMPORTING
RESULT =
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SPOOL_ERROR = 3
CODEPAGE = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT =
RDI_RESULT =
TABLES
OTFDATA =
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
CODEPAGE = 5
OTHERS = 6
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
<b>reward if it helps u..
sai ramesh</b> -
How to create a report with different page sizes
Hi,
I would like to create a report with different page sizes, it's possible to do it with diadem?
When I change the layout parameters, changes afect to all sheets...
Is there a way to change page size individually for each sheet?
Thanks in advance.
MarcHi Marc,
You can use the DocStart and DocEnd commands along with the PicPrint command to spool multiple print commands to the same output PDF file using the direct printer approach. This should enable you to programmatically specify the page size differently for each sheet that you add to the print job.
' Print PDF Page by Page.VBS
OPTION EXPLICIT
Dim i, Path, OldPrintName
Path = AutoActPath & "2D Stacked"
Call DataDelAll
Call DataFileLoad(Path & ".TDM")
PDFFileName = Path & " Page by Page.pdf"
IF FileExist(PDFFileName) THEN Call FileDelete(PDFFileName)
OldPrintName = PrintName
PrintName = "winspool,DIAdem PDF Export,LPT1:" ' Set to PDF printer
PDFResolution = "72 DPI" ' "2400 DPI" , "default"
PDFOptimization = TRUE
PDFFontsEmbedded = FALSE
PDFJPGCompressed = "high"
PrintOrient = "landscape" ' orient paper
Call PrintMaxScale("GRAPH") ' auto-max, see alternative margin setting variables below
PrintLeftMarg = 0.181
PrintTopMarg = 0.181
PrintWidth = 10.67
'PrintHeigth = 7 (read-only)
Call WndShow("REPORT")
Call DocStart ' Begin multi-page document/print job
FOR i = 1 TO 4
Call PicLoad(Path & ".TDR")
Call GraphSheetNGet(1)
Call GraphSheetRename(GraphSheetName, "Page " & i)
Call PicUpdate
Call PicPrint("WinPrint") ' Add a page to be printed
NEXT ' i
Call DocEnd ' End multi-page document/print job
PrintName = OldPrintName
Call ExtProgram(PDFFileName)
Brad Turpin
DIAdem Product Support Engineer
National Instruments -
Page break for Smartform with multiple main window on pages
Hi Experts,
I have a requirement for printing 3 pages. The difference among the 3 pages is the main window part.
The main window contains not only internal table, also complicated texts like payment instructions etc.
The requirement is in each page, the data in internal table should be changed, also payment instruction should be changed accordingly.
e.g:
Main Window of Page 1
Part 1 for Internal table
VAT on ITEM ------- 4O-------60,00------0.00%-------EUR
Part 2 for Payment Instructions
Texts for Page 1
Main Window of Page 2
Part 1 for Internal table
VAT on ITEM ------- 5O-------60,00------0.00%-------EUR
Part 2 for Payment Instructions
Texts for Page 2
Main Window of Page 3
Part 1 for Internal table
VAT on ITEM ------- 6O-------60,00------0.00%-------EUR
Part 2 for Payment Instructions
Texts for Page 3
At first, I was using only one page 'Page1' with a variable page_no = 1 as default value, and use program line page_no = page_no + 1 as counter. when page_no = 2, use command for force page break to 'Page1', then under the command, change the internal table and payment instruction texts. when page_no = 3, ...
But I encountered an error saying:
Runtime Errors GEN_BRANCHOFFSET_LIMIT_REACHED
Short text
Jump distance is too large and cannot be generated.
So I created 3 pages, with different main window M_window1, M_window2, M_window3 for each page. In page1, after printing the M_window1, page_no = 2, use command to go to page2, but page2 is never printed. I think this is because only one main window can exist in a smartform? but why smartform allows creating individual main window for different pages? what's the use of such main window?
By the way, what's the use of command for force page break? only work for one main window in a smartform?
Getting back to my requirement, I think I should still use one page and command for page break. I am trying to solve this.
Thanks.
Li Jun Da.Now I am using 3 pages: Page 1, Page 2, Page 3.
Page 2, Page 3 are copies of Page 1 with main window renamed as second window: mw 2, mw 3.
I also created 2 command nodes in main window of page 1: cmd 2, cmd 3.
cmd 2 is for page break to Page 2, cmd 3 is for page break to Page 3.
The second window mw 2, mw 3 in Page 2, Page 3 can be displayed.
Even though, I still can't understand how main window of pages (not 1st page) can work.
Maybe you are looking for
-
Bi_server1 is not starting in obiee 11.1.1.7.0
Hi All, I have installed OBIEE latest version 11.1.1.7.0. when restarting all the services, I checked in weblogic console. The Admin Server is running but the bi_server1 does not want to start because of the following error. ERROR: weblogic.servlet.j
-
APEX bug:9879227 (ORA-01403: no data found error when using validations)
Hi, We are getting the ORA-01403: no data found error when the APEX page has validations AND a tabular form is also present on the page. I did see a couple of other forum links discussing the issue (bug id: 9879227 ?? ). But what i want to get a conf
-
Flex 2 Builder: Variables view pane & AS3 component debugging.
The problem is as follows: A supposed ComponentA (ActionScript 3.0 class component in package components.* & extending mx.coreUIComponent) is placed in the main application: // script <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" xmlns:c
-
when i have my sim in nokia e66 i'm not able to make a call and to receive a call or sms.when i put another sim it works fine and my works fine in an onther mobile.can anyone know what might the problem be? Solved! Go to Solution.
-
How can i write the trigger for Global Temporary Table
Hi Grus, How can i write the trigger for Global Temporary Table. I was created the GTT with trigger using the below script . CREATE GLOBAL TEMPORARY TABLE GLOBAL_TEMP EMP_C_NAME VARCHAR2(20 BYTE) ON COMMIT PRESERVE ROWS; CREATE OR REPLACE TRIGGER TRI