View in Landscape format
Hello,
I have a PDF file where all of the pages display in portrait format. I want to change some of the pages to display in landscape format. I then want to save it so that when visitors to my website will view it in the format that I have set (either portrait or landscape). I used to be able to do this Acrobat 8 Pro by rotating the pages the way I wanted them and then saving the PDF. This doesn't seem to work in Acorbat 9 Pro. Is there a way to accomplish this in Acrobat 9?
Hi,
This still should work in Acrobat 9. Select the page you want to rotate and select Document: Rotate Pages. . .
Save the file.
Similar Messages
-
Can anyone help me with a formatting question? I have a number of PDFs that are landscape format. Every time I open them they default to portrait, even when I change orientation in page set-up and re-save...
You are only changing the view, not the pdf. Use the Rotate command in the Document menu, not the view menu.
-
Converting to PDF in landscape format
Hello Friends ,
I am doing an ALV grid report which needs to be sent to users Lotus Notes Inbox. I was successful in converting the report to PDF format and sending it to the inbox.
The problem is that report has 15 columns . All these 15 columns are displayed in the PDF format but they are minimized . I need to zoom 200% to see all the columns .
Is there a way it can be printed in Landscape format ??
Any suggestions ?
Here are the function modules i have used .
CONVERT_ABAPSPOOLJOB_2_PDF
Z_CONVERT_PDF_TO_MAIL_ATTACH.
Please let me know .
ThanksHi,
Check this code , we can re-format the data after getting data from FM : CONVERT_OTFSPOOLJOB_2_PDF
*& Report Y_SPOOL_TO_PDF *
REPORT y_spool_to_pdf .
CLASS lcl_pdf_demo_event_receiver DEFINITION
CLASS lcl_pdf_demo_event_receiver DEFINITION.
PUBLIC SECTION.
DATA:
entry_field1(100) TYPE c,
entry_field2(100) TYPE c.
METHODS:
on_document_saved
FOR EVENT document_saved OF cl_gui_pdfviewer
IMPORTING file_path,
on_viewing_finished
FOR EVENT document_closing OF cl_gui_pdfviewer.
ENDCLASS. "lcl_pdf_demo_event_receiver DEFINITION
CLASS lcl_pdf_demo_event_receiver IMPLEMENTATION
CLASS lcl_pdf_demo_event_receiver IMPLEMENTATION.
METHOD on_document_saved.
entry_field1 = 'Document Saved'.
entry_field2 = file_path.
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING
new_code = 'EVENT'.
ENDMETHOD. "on_document_saved
METHOD on_viewing_finished.
entry_field1 = 'Viewing Finished'.
entry_field2 = space.
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING
new_code = 'EVENT'.
ENDMETHOD. "on_viewing_finished
ENDCLASS. "lcl_pdf_demo_event_receiver IMPLEMENTATION
DATA : l_lines TYPE i,
l_temp(500) TYPE c,
l_offset TYPE p,
l_lineslen(2) TYPE p,
l_mimelen(2) TYPE p,
l_tabix LIKE sy-tabix,
l_bytecount TYPE i,
l_size TYPE i.
DATA: it_pdf LIKE tline OCCURS 10 WITH HEADER LINE,
xi_pdf LIKE tline OCCURS 0 WITH HEADER LINE,
html LIKE solisti1 OCCURS 0 WITH HEADER LINE,
xi_temp LIKE bapiqcmime OCCURS 0 WITH HEADER LINE,
xi_mime(255) TYPE c OCCURS 0 WITH HEADER LINE,
lt_doc TYPE TABLE OF docs.
DATA : url TYPE char255.
DATA: my_pdf_viewer TYPE REF TO cl_gui_pdfviewer,
my_main_container TYPE REF TO cl_gui_custom_container,
entry1(100) TYPE c,
entry2(100) TYPE c.
DATA: okcode TYPE sy-ucomm.
DATA: l_event_receiver TYPE REF TO lcl_pdf_demo_event_receiver.
PARAMETERS: p_file LIKE rlgrap-filename DEFAULT 'C:\temp\file.pdf'."#EC NOTEXT
PARAMETERS : p_spool LIKE tsp01-rqident OBLIGATORY.
START-OF-SELECTION.
*-Convert OTF Spool to PDF
if x_temp = ''.
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = p_spool
no_dialog = ' '
IMPORTING
pdf_bytecount = l_bytecount
TABLES
pdf = it_pdf
EXCEPTIONS
err_no_otf_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_dstdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11.
IF sy-subrc = 0.
xi_pdf[] = it_pdf[].
ELSE.
xi_pdf[] = it_pdf[].
ENDIF.
else.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
IMPORTING
bin_filesize = l_size
TABLES
OTF = it_otf
DOCTAB_ARCHIVE = lt_doc
LINES = it_pdf
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
v_retcode = 1.
perform protocol_update. exit.
else.
xi_pdf[] = it_pdf[].
endif.
endif.
-Reformat the line to 255 characters wide (code from SAP)
CLEAR: l_temp, l_offset, xi_temp.
DESCRIBE TABLE xi_pdf LINES l_lines.
DESCRIBE FIELD xi_pdf LENGTH l_lineslen IN CHARACTER MODE.
DESCRIBE FIELD xi_temp LENGTH l_mimelen IN CHARACTER MODE.
<b> LOOP AT xi_pdf.
l_tabix = sy-tabix.
MOVE xi_pdf TO l_temp+l_offset.
IF l_tabix = l_lines.
l_lineslen = STRLEN( xi_pdf ).
ENDIF.
l_offset = l_offset + l_lineslen.
IF l_offset GE l_mimelen.
CLEAR xi_temp.
xi_temp = l_temp(l_mimelen).
APPEND xi_temp.
SHIFT l_temp BY l_mimelen PLACES.
l_offset = l_offset - l_mimelen.
ENDIF.
IF l_tabix = l_lines.
IF l_offset GT 0.
CLEAR xi_temp.
xi_temp = l_temp(l_offset).
APPEND xi_temp.
ENDIF.
ENDIF.
ENDLOOP.</b>
LOOP AT xi_temp.
xi_mime(255) = xi_temp-line.
APPEND xi_mime.
ENDLOOP.
-Final Data
html[] = xi_mime[].
DATA : cancel.
PERFORM download_w_ext(rstxpdft) TABLES html[]
USING p_file
'.pdf'
'BIN'
l_bytecount
cancel.
CALL SCREEN 100.
*-Save spool in application server as pdf file
open dataset p_file for output.
if sy-subrc = 0.
loop at html.
transfer html to p_file.
if sy-subrc <> 0.
v_retcode = 1.
perform protocol_update.
endif.
endloop.
close dataset p_file.
if sy-subrc <> 0.
v_retcode = 1.
perform protocol_update.
endif.
it_command_files = p_file.
append it_command_files.
clear it_command_files.
else.
v_retcode = 1.
perform protocol_update.
endif.
*& Module STATUS_0100 OUTPUT
text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
IF my_main_container IS INITIAL.
CREATE OBJECT my_main_container
EXPORTING
container_name = 'CUSTOM_CNTL'
EXCEPTIONS
cntl_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
EXIT.
ELSE.
CREATE OBJECT my_pdf_viewer
EXPORTING
parent = my_main_container
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
"could not create PDF Viewer
ENDIF.
ENDIF.
DATA: view_buttons_active TYPE char01.
IF my_pdf_viewer->acrobat_vs_reader = ''.
view_buttons_active = 'X'.
ENDIF.
CALL METHOD my_pdf_viewer->create_toolbar
EXPORTING
tool_buttons = 'X'
view_buttons = view_buttons_active
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
"could not create toolbar
ENDIF.
CREATE OBJECT l_event_receiver.
SET HANDLER l_event_receiver->on_document_saved FOR my_pdf_viewer.
SET HANDLER l_event_receiver->on_viewing_finished FOR my_pdf_viewer.
IF NOT my_pdf_viewer->html_viewer IS INITIAL.
url = p_file.
CALL METHOD my_pdf_viewer->open_document
EXPORTING
url = url.
ENDIF.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
MODULE user_command_0100 INPUT.
LEAVE TO SCREEN 0.
ENDMODULE. " USER_COMMAND_0100 INPUT
Regards
Appana -
Comics printing in landscape format
apologies if this has already been addressed somewhere, but i was unable to find anything on a quick search.
i've been receiving the comics for some time now on my 8600 and they have been printing normally in the portrait orientation. but with no warning approximately four days ago, the pages started printing in landscape. and instead of the individual strips being sized to fit the page, they have been shrunken down to fit six comics on one page (again, in landscape format).
before the comics started printing incorrectly, no changes were made to the printer, except for setting the defaul print tray to tray 2. that being said, both print trays have always been, and are still set to accomodate (use) 8x11 paper.
can someone explain why the print orientation and sizing has randomly changed all of a sudden and how to fix it? i'm very frustrated with it and am ready to disable the comics because of the change. (and that would make me a *very* unhappy camper because i do enjoy getting them!)
any help is greatly appreciated. ty!
This question was solved.
View Solution.Hi GaryB122,
I have brought this to HP's attention and they are looking further into it. I currently do not have an ETA for any further updates.
Happytohelp01
Regards,
Happytohelp01
Please click on the Thumbs Up on the right to say “Thanks” for helping!
Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
I work on behalf of HP -
SQL Plus command to print a report in Landscape format
Hi,
what is the SQL Plus command to print a report in Landscape format?841731 wrote:
Hi,
what is the SQL Plus command to print a report in Landscape format?SQLPlus doesn't print, and it doesn't know about 'landscape' vs. 'portrait' any more than it knows about fonts. the only 'formatting' it knows is line size, page size. And all it does with line size is know where to insert a CR/LF pair (windows) or a CR (*nix). The only thing it knows to do with page size is repeat column headers.
The rest is up to whatever application you use to open the pure asciii text spool file. -
Character mode Report in Landscape Format
Hi All,
I want to print my character mode report in landscape format. But I am not getting it. Everytime I get print as Portrait. I am printing from live previewer of report builder.
I am using Oracle 9i and Report builder 6i (6.0.8.11.3).
I have done following settings:
System Parameter ORIENTATION=Landscape
DESFORMAT=DECLAND.PRT (Given by Oracle)
In the object navigator I have set following properties for Main Section
Width=11
Height=8.5
Orientation=Landscape
Char Mode Width=132
Char Mode height=66
I have done same settings for Header Section and Trailer Section. Please help me.
Thanks in advance.
Regards
MonaYou will need to edit prt files to add the printer escape sequences to change the page orientation to landscape. Printer escape sequences can be obtained from the printer manual, or the printer vendor.
For instance, HP printer escape codes can be obtained from the HP website under the printer support links.
The steps below describe how to print a landscape, character mode report from a Windows NT PC on an HP 4100N Printer. The 4100N is a dual mode printer that can use either PCL or Postscript printer language.
1. Use a web browser to navigate to the HP website and obtain the printer escape codes for the HP 4100N. If you are unable to locate the HP4100N printer, look for generic PCL information. The HP site also includes detailed information on the printer command syntax.
2. The HP4100N printer command for landscape page orientation is "ESC&l1O" - where ESC indicates escape, '&' (ampersand) is the parameterized character, 'l'(lower case letter l) is the group character, '1' (number one) is the printer value character and 'O' (upper case letter O) is the termination character.
NOTE: The HP documentation uses "EC" to signify the escape character.
It also suggests pressing CTRL and the letter P together, then
releasing both keys and pressing the ESC key. If this is done in
a dos editor, a left arrow will actually be displayed on screen.
This character cannot be interpreted by Oracle Reports and will
cause printing errors if used in a .prt file. Instead, just use
the letters "ESC" to indicate that the code that follows is a printer
escape sequence.
3. Make a copy of the wide.prt file and rename it to "mywide.prt."
4. Add the page orientation escapes to mywide.prt file:
printer "mywide"
height 66
width 132
before report esc "&l1O" *** Puts Page in Landscape Orientation***
after page control(L)
after report esc "&l0O" *** Resets page orientation to Portrait ***
return control(M)
linefeed control(J)
SYNTAX NOTES: The escape sequence must be enclosed in double quotes ("). The above comments regarding page orientation are used to clarify where the escape codes gets added, but they should NOT be used when editing
the actual .prt file.
5. Save mywide.prt file to the $ORACLE_HOME\report60\printers\ directory.
6. Go to Windows PC -> Start -> Settings -> Printers and open the properties for the HP printer. Ensure that the option to "Always Spool Raw Data" is checked. This option is usually under the General Printer
Options, or Spool Options. On Windows NT, you must have Administrator privileges to change this setting.
7. Test running the report to the printer and specify desformat mywide. It is not necessary to include the file extension (.prt).
8. The report will now print in landscape orientation. -
Dispalying SAP script output in landscape format
Hello All,
Could anyone please tell me the step by step process to display a SAP Script output in landscape format?
Also is it possible to display a column name in 2 lines if it does not fit into 1 line.
Regards
Indrajit.Hi,
Here is the way to print the SAPSCRIPT in landscape ..
Goto SE71, then give you layout name then press change, then press the Header button(CAP ICON), then you will get the Header infomation, then select the Basic Settings pushbutton, then there we have an option to Print the Layout in Portrait format or Landscapr format, then select the LANDSCAPR format Radio button then activate it
Regards
Sudheer -
How to create xml template in landscape format
Hello Everyone,
I am trying to create a template in Landscape format in xml publisher. But when i upload and run, the output is in portrait format only.
Any suggestions would be helpful.
Thank You
KumarHi,
You should change the orientation in word, and in EBS define de output of the concurrent program as xml.
That should do it. -
Default view and date format for anonymous access in convergence calendar
Hi,
is there an option to configure default view and date format when user access to a calendar with anonymous access ?
Actually, date format is M/D and I want D/M.
And the default view is monthly, and I would like to set to 7 days view.
Thx for your help
Regars,
JCjchatriot wrote:
is there an option to configure default view and date format when user access to a calendar with anonymous access ?No. I've raise a new Request For Enhancement:
RFE #6961895 - "Provide configuration option and URL parameter to set Anonymous Calendar view and date format"
Regards,
Shane. -
Hi,
ESS is displaying a smartform as PDF.
The smartform is generated in landscape format.
And this is rendered in portal as PDF in portrait format.
Do we have any way to render the PDF in landscape format?
Regards,
Nagaraju Donikena.Changing the attributes can solve this problem.
We did the changes in R/3 to solve this issue.
--Nagaraju Donikena -
Smartforms in Zebra Printer - Landscape Format
Hi all,
I have two issues....Kindly help me in this regard.
1) I have developed 9 labels in smart forms (all to be printed in Zebra printer) of which 4 should be in Landscape format. I have changed the settings in my smart form(Page>OutputOption>Landscape) for the 4 labels.So, when I give the printout of all the 9 labels these 4 alone should be in Landscape format ad the rest in Portrait format.
But, every label comes in Portrait format only.
2) In the above label in 1 particular label half of the label is completely black and only remaining half is seen.
I have used the device type :- ZLZEB2 based on the SAP Notes 750002 and 750772.
Kindly help me in this regard as the requirement is pretty urgent.Any information would be helpful.
Thanks & Regards,
Ramky.GHello Martin,
Yes, I know about the sap-notes and have tried the tips too. However, the printout is all mugged up on the same line. This my problem. I will try with new-line command and see if the lines print would be seperated line for line.
Do you have an example for me, with screen shots etc?
However, thanks. I have given points
Blacky.
Edited by: BlackMoses on Mar 10, 2008 8:08 AM -
SMARTFORM PO BACKPAGE LANDSCAP FORMAT
hi,
It is a smartform in Landscape format.
I have a problem in smartforms front and back printing.
Ihave three pages, First page, back page (has terms and condition) and next page.
when taking the printout First page comes correctly, but the back page comes as reverse order, I change the print mode to Tumble duplex, it also comes as old one.
Please help me where i have to do the changes.Hi,
Tumble duplex will print in reverse order. It should come proper if you have used Duplex mode(D).
Thanks and Regards,
Bharat Kumar Reddy.V -
Pritn foramt for the report output in Landscape Format
I have a question about how we can get a spool output switched to fit to a Landscape format - it is currently printing format 90x120 on a Letter size ( Portrait format ) - it's a report output
Hi
You can write the code during the PRINT COMMAND to specify the Size of the Print Layout(see the F1 help om NEW-PAGE PRINT ON )
generally when the Size of the report is suitable to LANDSCAPE while printing while selecting the printer we select the printer properlies as LANDscape and print
Regards
Anji -
Printing to Landscape format, not Portrait
Hello,
I'm trying to turn a PDF that was created in Landscape format
into a Flash Paper SWF. When I drag the PDF onto Flash Paper, it
creates a SWF but in a Portrait (print) format. This isn't
acceptable because you can't read the content (unless you hold your
laptop sideways for the whole thing). I didn't see an option
anywhere in Flash Paper to set this. I imagine there must be a way
to do this?After additional research I have found that the only way to get my labels to consistently print in landscape is to edit them with a previous version of Crystal.
I had hoped that I could save to a previous version from Crystal 2008 but there is no option to do this. I was thinking this because MS Word and MS Excel can saave to previous versions (2007 will save to 95 etc.)
Hope this helps others.
Brad -
Why can't we text or email in landscape format?
just curious why we cannot text or email in landscape format. I would appreciate the larger keyboard...
I just sent this message to:
http://www.apple.com/feedback/iphone.html
===============================================================================
I just bought a new Apple iPhone 3G. I am very happy with the functionality of the phone with one BIG exception.
That is the fact that the wider Landscape orientation of the Keyboard is only available while using the Safari and not on the Notes, Email or Text Messaging applications!
WHY would this be? The larger keys and the slightly larger space between the keys in the Landscape orientation makes all the difference in the world in the ease and accuracy of typing on this virtual keyboard.
The phone clearly has the ability to change from Protrait to Landscape with the built in accelerometer.
For younger users and/or those with more agility and smalle fingers, the Portrait orientation of the keyboard probably is not a problem for them.
But, I am a Senior Citizen with big, fat and shaky fingers and I can just about type properly in Landscape. In Portrait, I hit the "Back" arrow button about as often as every key! This is VERY frustrating when I cannot think of ANY reason whatsoever for Apple to leave the iPhone with this clear deficiency.
If the Software Developers at Apple think that Portrait orientation is appropriate for some apps and not for others....fine! But, just give us an optional setting so that we can choose which is best for us to select depending upon the application we are typing in ....Portrait or Landscape...then EVERYONE will be happy!!!!
PLEASE make this simple and obvious change in your next Firmware Update for your otherwise wonderful product!
Thank you!
Charles I. Proche
================================================================================
I have read many comments on this and other issues and the same refrain is repeated over and over again:
"APPLE JUST DOESN'T CARE WHAT THIER CUSTOMERS WANT OR DON'T WANT IN A PRODUCT...THEY WILL GIVE US WHAT THEY THINK WE WANT AND THAT IS THAT!"
I have to believe that if enough iPhone buyers and potential buyers wrote to the Feedback site with the same issue that they would at least CONSIDER making this simple and obvious enhancement!
Charles I. Proche
Maybe you are looking for
-
Massive memory usage when using latest version of final cut, 10 minutes after restart.
Hey I am really struggling with using Final Cut Pro X and I suspect there is some software issue. I am editing a one minute video clip, the video files are 1080 h264. I restart my computer and only open final cut. After 10 minutes of editing I cant b
-
Non-ascii, jsp-struts, not reciveing the correct value in the server
Hi, I am developing JSP-Struts based application using tomcat server. In JSP struts form, when I put nonascii charater in the text field or text area, on the server side I recived twice of that non-ascii character.. for example, in the text field I e
-
H.323 controlling pots or digital ?
Hi all. I have read somewhere, that pots dial peer (FXS, FXO) are also controlled by h.323, i checked on router using debug, but i couldnt see any messages relating to h.323 when i made the call to analog phone. have i mis read it or misunderstood it
-
HT201896 headphone jack stopped working
headphone jack stopped working, what can I do?
-
ISE upgrade from 1.1 to 1.2.1 - lost CLI admin password?
Hi, In a mysterious way I lost CLI Admin password in whole my ISE deployment (6 PSN, 1 ADM and 1 MNT node). I wondering how it is possible? Last time I logged to the nodes when I upgrade my deployment from ISE 1.1 to 1.2.1. Is this possible that I co