Not able to print to custom 4x6 paper size with Pages 5

I'm having a lot of trouble printing to a custom 4" x 6" paper size with pages 5.  I create my custom size, switch the page setup to use that size in landscape orientation, and everything looks fine.  Then when I go to print the document the destination paper size is set to "Suggested Paper: US Letter" instead of "Custom" as it used to be.  If I do print on US Letter paper then its properly lined up at the top left corner, but if I print on 4x6 it is all cut off.  I've tried scaling it to fit on my 4x6 size in the destination paper size menu, but that just shrinks the whole thing to fit in the center of the 4x6 in portrait orientation.
I am able to do this fine in pages '09, however I've already converted over 40 recipe cards to work with pages 5 and they don't export back to pages '09 properly.
If anyone has any suggestions on how to get this to work I would really appreciate them!

Hi,
here a short extract like i do it:
CLASS LCL_EVENT_HANDLER DEFINITION .
  PUBLIC SECTION .
    METHODS:
   HANDLE_PRINT_TOP_OF_PAGE
         FOR EVENT PRINT_TOP_OF_PAGE OF CL_GUI_ALV_GRID,
ENDCLASS.                    "LCL_EVENT_HANDLER DEFINITION
* Event-Händer Implementierung
CLASS LCL_EVENT_HANDLER IMPLEMENTATION .
  METHOD HANDLE_PRINT_TOP_OF_PAGE.
      PERFORM PRINT_TOP_OF_PAGE.
  ENDMETHOD.   
ENDCLASS.
  CREATE OBJECT GR_EVENT_HANDLER.
  SET HANDLER
  GR_EVENT_HANDLER->HANDLE_PRINT_TOP_OF_PAGE  FOR GR_ALVGRID_LEFT.
  CALL METHOD GR_ALVGRID_LEFT->SET_TABLE_FOR_FIRST_DISPLAY
FORM PRINT_TOP_OF_PAGE.
  LINSZ = SY-LINSZ - 16.
  WRITE: / 'Report:   ', SY-REPID,
           AT LINSZ 'Datum:',  SY-DATUM.
  WRITE: / 'Benutzer: ', SY-UNAME,
           AT LINSZ 'Zeit: ', SY-UZEIT.
ENDFORM.
hope it helps.
Regards, Dieter

Similar Messages

  • About 2 weeks ago, not able to print all pages in a .pdf document using internet explorer 11?

    About 2 weeks ago, not able to print all pages in a .pdf document stored in a folder (I'm using Windows 7)? 
    It only prints 1 page then my Brother MFC-J4510DW Printer says "Please put another piece of paper in the feed slot"....the problem is the print setting is set to "manual mode" in Windows 7 rather than "general setting".  If you try to change the setting to "general", it will not accept the change.

    Hi.
    I did try using the printParams feature and it worked, but since I need to be able to print sets of non-consecutive pages,  I end up having to bring up the print dialogue multiple times and have the user set watermarks each time. 
    I decided to just create a new pdf in a temp directory containing the selected pages and open this document in a new window.  This works well and allows them to use the print button on the window to print, bringing up the print dialogue just once.  However, since I need to open the document in a way that shows the print button, I am using OpenInWindowEx, with AV_DOC_VIEW, and the option PDUseBookmarks or PDUseThumbs, rather than PDUseNone.  This displays a toolbar which also includes icons for creating a new pdf, deleting pages, etc.  I do not really want to include these icons on the toolbar.  Is there a way to remove unwanted icons from the toolbar, or make them invisible?
    Hope this makes sense.  Thanks for your help.
    Mary

  • Not able to print in duplex

    On this windows 7 PC, Since I upgraded from Acrobate Reader 8 to Adober 9 and reader10, I am not able to print in duplex mode. I works fine from another computer Windows XP using Adobe Reader 6.0 using the same shared and WiFi printers.
    Looking at the document file property in the advance tab, in the print dialog preset window, I am not able to change the duplex mode from grayed "Simplex" to Duplex.
    How do I fix this problem?
    See screen print picture

    Hi,
    The HP Deskjet 2520 does not support automatic print duplexing and therefore any checkbox will not apply for such.
    You may perform manual duplexng on Mac OS using the Pages to Print option as following:
    From the file used to print click the File menu and select Print.
    NOTE: The Print window might be minimized. Press on Show Details to show any available print option.
    From the main drop does menu select Paper Handaling.
    The main menu will usually list the program name (e.g. TextEdit).
    Will appear as Copies & Pages within Microsoft Office applications.
    Set the Pages to Print option as Odd Only, as well set the Page Order as Automatic and click on Print.
    After the odd-numbered pages have printed, reload the paper with the printed side facing up and repeat the process above by setting the Pages to Print as Even Only this time.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Not able to print anything on ATG Rest webservices

    Hi..I am new to ATG Rest.. Just for the heads up, i followed following steps :-
    1 ) Added rest module to MANIFEST.MF
    2) Created a custom class which looks like this -
    package com.sgs.utils;
    import atg.nucleus.GenericService;
    public class SGSdummy extends GenericService {
      public void dummy() throws Exception {
        logDebug("sdbfhj");
    3) Mapped it to the property file -
    $class=com.sgs.utils.SGSdummy
    $scope=global
    loggingInfo=true
    4) Configured the security for above component in restSecurityConfiguration.xml
    <rest-security>
    <resource component="/atg/commerce/order/dummy" secure="false">
    <!--  <default-acl value="Profile$role$admin:read,write,execute"/> -->
      <method name="dummy" secure="false"/>
    </resource>
    </rest-security>
    I commented acl as i really didn't need it for a POC plus it was throwing 401 unauthorized.
    5) Now I am calling it from chrome's Advanced Rest Client. However, status is 200 OK but I am not able to print a logDebug or sysout in my SGSdummy class.
         When i check console, it says "Depth 0 is greater than maximum depth 0"
         I tried to change maxDepthAllowed in configuration.properties but in vain..I need help to proceed.

    Now I am trying to create a REST request using custom client. I believe it should be a POST request as I am trying to call a method. My custom client looks like this :-
    package atg.rest.client;
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.Map;
    import atg.rest.client.RestClientException;
    import atg.rest.client.RestComponentHelper;
    import atg.rest.client.RestResult;
    import atg.rest.client.RestSession;
    public class RestDemoClient {
      /** The m username. */
      private String mUsername;
      /** The m password. */
      private String mPassword;
      /** The m host. */
      private String mHost;
      /** The m port. */
      private int mPort;
      /** The m session. */
      private RestSession mSession = null;
       * Instantiates a new method call by rest.
      public RestDemoClient() {
       * Execute.
       * @throws RestClientException the rest client exception
      private void execute() {
       mSession = RestSession
         .createSession(mHost, mPort, mUsername, mPassword);
       mSession.setUseHttpsForLogin(false);
       Map<String,Object> params = new HashMap<String,Object>();
       params.put("atg-rest-input", "json"); 
       RestResult result = null;
       try {
        result = RestComponentHelper.executeMethod("/atg/rest/SGSdummy", "addOrder", new
          Object[] {}, params, mSession);
       } catch (RestClientException e1) {
        System.out.println(e1);
       try {
        if (result != null && result.getResponseCode() == 200) {
         System.out.println("Executed Successfully.");
        } else {
         System.out
           .println("Error while execution : Error Code ["
             + result.getResponseCode()
             + "] and Message ["
             + result.getResponseMessage() + "]");
       } catch (IOException e) {
        System.out.println("Error while execution Successfully.");
       * @param args
      public static void main(String[] args) {
       RestDemoClient stepUtils = new RestDemoClient(); 
       stepUtils.mUsername = "admin";
       stepUtils.mPassword = "admin";
       stepUtils.mHost = "localhost";
       stepUtils.mPort = 8080; 
       stepUtils.execute();
    But everytime i execute this, I get following exception :-
    atg.rest.client.RestClientException: java.io.IOException: Unauthorized Server returned HTTP response code: 401 for URL: http://localhost:8080/rest/bean/atg/rest/SGSdummy/addOrder
    Exception in thread "main" java.lang.NullPointerException
      at atg.rest.client.RestDemoClient.execute(RestDemoClient.java:64)
      at atg.rest.client.RestDemoClient.main(RestDemoClient.java:82)
    I tried different set of credentials but nothing seems to work out for me.
    However it always works fine for GET requests. I am able to see status as 200 OK but it never hits my addOrder() method in SGSdummy class, hence I am not able to print sysout in that method. For status 200 OK GET requests, my logs say "[JSONOutputCustomizer] Depth 0 is greater than maximum depth 0. Outputting object of class java.lang.String as string rather than continuing to nest."
    Can you give me some pointers how to run it without any errors plus it should print a random sysout in my custom class. Thanks

  • Not Able to Print in PDF Format Apex

    we are not able to print in pdf format with using a template, if we use default layout we are getting a pdf output,
    Can any one please help me on this issue....
    Thanks
    Malleswar

    Hello Malleswar,
    we are not able to print in pdf format with using a template, if we use default layout we are getting a pdf output,If your scenario with APEX Listener is generally capable of producing a PDF when using a working template, than the error is very likely to be in your template, not in APEX Listener.
    If that's the case, you'll probably find more people with experiences on how to build custom xsl-templates into your APEX application in the APEX forum: {forum:id=137}.
    If you decide to post there (or even if you think it's better to continue here), please provide information on your APEX and APEX Listener version and whether you see some error information in APEX Listeners log when trying your own template or not. If you don't see anything there right now, enabling debug mode will make the log more verbose and probably provide a hint on which part of your template can't be processed properly by the FOP built into APEX Listener.
    -Udo

  • Could not able to see my customized BP after Importing

    Hi
    I am using Standard Business Package for SAP CRM4.0 60.2.3; it is stored in PCD -> Migrated Content
    I customized the Business Package and stored the content in my folder and transported the Business Package to Local (on Desktop) and Server (in server: C:\usr\sap\J2E\SYS\global\pcd\Export).
    I did not deleted the Standard BP from PCD/Migrated Content
    After importing the Customized Business Package from local system i could not able to see the Business Package in PCD.
    I could not able to see the Customized BP in PCD….. , Whether that Standard BP should be deleted before Importing
    What is the Default location it stores after importing?
    Plz help me to solve this issue its very urgent.
    Regards

    Hi Sanjay,
    There is no need to delete the Standard BP from PCD/Migrated Content.
    After customizing the business package and storing the content in your own folder, you have to add all objects to new transport package(by right clicking on main folder)then export it and download the epa to your local system.
    After importing the epa in some other portal, BP will sit under same path you have specified while creating business package(PCD).In sense, it will create the same PCD structure when you import epa in some other portal.
    You might have done some mistake while creating transport package and exporting it to your local system. You might not have added all object to new transport package.
    Hope this is of some help. Do write back in case you need further clarification
    Cheers
    Ruchi.

  • Not able to print PDF report from Oracle APPS

    adcmctl.sh version 115.17.
    We have a network printer HP Laserjet 4250 which is configured on our concurrent manager server of RH Linux OS. We are using HP LASERJET 4250 Postscript driver. We are able to print PDF's directly however through CC manager we are not able to print reports in Proper PDF format. Has anyone faced such an issue with Oracle Apps?

    user11996936 wrote:
    Has anyone faced such an issue with Oracle Apps?Maybe. Maybe not. Ask to the proper forum. Here you are in Peoplesoft forum.
    Nicolas.

  • Not able to Print the report

    <p>Hello All,</p><p>I am not able to print the report. When i click on the icon a blank form opens up. Is there something i need to do to see the form with some details.</p><p>Thanks</p><p>ram</p><p>&#160;</p>

    <p>Hi Ram,    </p><p>Can you give me some more details around your issue? How exactly are you building the viewer? Are you using the JSP Page Wizard that comes with Crystal Reports for Eclipse? If so, then can you tell me what application server you are deploying to?  All of these pieces may help narrow down the issue.  </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a>          </p>

  • Not able to print purchase order..

    Dear All,
    I am not able to print one import  purchase order.
    I have checked everything and also able to print another import Purchase orders..but particular this PO print out is not coming.
    I have deleted message and again created the same..also condition record is maintained...
    Not able to see print preview also (Not generating)
    What could be the reason?
    Please help..
    Naren

    Hi Naren,
    try the note :111062.
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=111062]
    Please check the setting mentioned in the note and revert.
    Thanks,
    Hrishi

  • Not able to print on Purchase order whatever we fill in item text

    not able to print on Purchase order whatever we fill in item text, from where can we link to get printed item text on purchase order

    while doing in quality whatever we fill in text in item details of p.o we are getting it printed on p.order
    but same thing when we are doing in production we are not able to print on purchase order. where we should look out
    for e.g in spro-mm-purchasing-purchase order..

  • Not able to print reader file

    When I convert MS Word files to Adobe Reader files, some people are not able to print them. Some of the content prints for instance, but some is missing. The graphics may print, but the text is missing.
    Any ideas?
    Thanks,
    Brian

    Thanks for the response Michael,
    Here is a file I converted from Word to a PDF that will only print the graphics.
    I am using Word 2007 and Adobe Reader 9 Pro. I have the CS4 suite. When I save, I am using the following parameters:
    Convert Document Information
    Enable Accessibility and Reflow with tagged Adobe PDF
    Create Bookmarks
    Convert Word Headings to Bookmarks
    I should add that changing and eliminating these parameters make no difference.
    Thanks,
    Brian

  • Single user is not able to print PDF files.

    I have the following situation at our organisation for one of our users.
    Printer:
    Kyocera FS1030D
    Kyocera KM-C3225
    I have one user that is not able to print any PDF files in our network. (User Chris)
    Printing a Word document or Notepad works fine.
    To be specific:
    The user is mainly using Windows 7 Pro 64 bits.
    We also have a Citrix environment.
    When this user is trying to print a PDF file we follow the following steps:
    Open any PDF file.
    Go to: File -> Print -> Select the printer to use.
    Hit Print button.
    Now the pop up comes up loading the PDF file to be printed. (The percentage bar)
    After this bar disappears nothing happens.
    The print que does not show on the bottom right hand of the screen.
    If you open the printer que there is no document that needs to be printed.
    We tested printing a PDF file on a different computer with user account Chris, but no success.
    We tested printing a PDF file on the same computer with another user account, success.
    We tested printing a PDF file in our Citrix environment (still on Chris his pc), success.
    So as a wrap up: Printing with another user account works fine. The issue seems to be located in the user profile, but is not specific to a single computer.
    We tested the following.
    Print as Image setting.
    Remove the print drivers and reinstalled them.
    Renamed the Windows folders where the drivers are installed.
    Removed Adobe Acrobat version 9 and installed version 10.
    Any suggestions are welcome.

    Hi Bill@VT,
    Thanks for your reply. I have checked and the current installed version is 10.1.4. I tried updating but I get the message that the there are no new updates available.
    Also I tried to find a 64 bits download but unfortunately I cannot find a 64 Bits install file.

  • Not able to Print Invoice thru Crystal Integration

    Hi All,
    Could anybody help me on the issue given below.
    One of our client Issue while printing from crystal Integration in SAP Business One. I can able to view the crystal report through Crystal Integration but i am unable to print the document.No Error is getting displayed .If i am printing from PLD it's working fine .After exporting to PDF from crytal integration i can able to Print but not able to print directly from the crystal Integration.
    Thanks,
    Vishwanath

    Vishwanath,
    Please post your question in this forum ...
    Reporting and Printing
    Eddy

  • I can only print the current page of downloaded pdf's.  Not able to print "all".  I'm using a Macbook air.

    I can only print the current page of downloaded pdf's.  Not able to print "all".  I'm using a Macbook air.

    it says "the document could not be printed".  "There were no ages selected to print".
    I selected "all".  I always tried selecting pages "1-3".
    The only choice that works is current page.  Very strange.

  • Not able to print multiple copies

    Hi All,
    We are not able to print multiple copies on network printer having device type HP LaserJet2430 even though we are giving no. of copies as 3 or 4 while creating spool request.
    Please help me to solve this issue.
    OS - windows.
    SAP 4.7 EE
    Thanks in Advance,
    Basis Admin

    Hi,
    Give one test print from OS Level mostly, this will be problem in printer configuration
    Regards,
    Ramesh.B

Maybe you are looking for