Auto change page size of local printer ?

Dear all,
I have two reports with different output page size.
Those two reports print with the same local printer.
Each time i print report, i need manully select the print page size on the printer setting page (on printer server level, not sap level).
It is possiable that printer server auto select the opportune page for the report.
Please give adivces, thanks .
BR.
Wu

Hi Wu,
Try this piece of code to set print parameters by refering structure PRI_PARAMS Structure for Passing Print Parameters.
DATA: l_param    TYPE pri_params,
        l_valid(1) TYPE c         .
*Get the parameters user specified
  CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING
      mode                   = 'CURRENT'
      no_dialog              = 'X'
    IMPORTING
      out_parameters         = l_param
    EXCEPTIONS
      archive_info_not_found = 1
      invalid_print_params   = 2
      invalid_archive_params = 3
      OTHERS                 = 4.
  CHECK sy-subrc EQ 0.
*If user selected 'print immediately' OR 'delete after print', we need
*to unselect them
  CLEAR v_newspool.
  IF l_param-primm EQ 'X' OR
     l_param-prrel EQ 'X'.
    v_newspool = 'X'.
  ENDIF.
  CHECK v_newspool EQ 'X'.  "skip rest if user param is correct
*Overwrite the ones we care about
  CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING
      expiration             = '8'            "keep in spool 8 days
      immediately            = ' '            "don't send to printer
      in_parameters          = l_param
      no_dialog              = 'X'
      release                = ' '            "keep in spool
    IMPORTING
      out_parameters         = l_param
      valid                  = l_valid
    EXCEPTIONS
      archive_info_not_found = 1
      invalid_print_params   = 2
      invalid_archive_params = 3
      OTHERS                 = 4.
  CHECK sy-subrc EQ 0.
*Force subsequent output to spool, with modified print parameters.
*a new spool is created. see also documentation on the option
*'NEW-SECTION'.
  NEW-PAGE PRINT ON NEW-SECTION PARAMETERS l_param NO DIALOG
For auto-settings you can refer the steps described in this link:
[Set printer settings|Output type settings; print pdf from on the printer defined in user profile;
Edited by: K.Manas on Jan 6, 2011 6:40 AM

Similar Messages

  • How to change font size in check printing program in AP Invoice

    I would like to know how to change font size in check printing program in Oracle Payables Module for Invoice printing. We are using Oracle standard
    report to print check.
    Concurrent program short name : APXPBFEL
    Prt file : APLASP.prt
    I modified prt file for code 199 like below
    code "199" esc "(8U" esc "(s0p12.00h10.00v0s0b3T" esc "&k11.75H"
    Font size changed for last page only which prints checks, for Void pages its printed with default font. For Page 1 printed with default font and page 2 has reduced font. This change is not intiallized for all pages.
    Please let me know if you any of you know how to change fonts.
    Thanks,
    Anand

    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/

  • Cannot change page size with acrobat

    I am able to convert my manuscript in Mac word(2011) to adobe acrobat (XI); unfortunately the 6 X 9 " page size does not convert. I spent a few hours on the phone with adobe support and the final resolution was to upload the file to them and they converted it for me. however, they used distiller which reduced the file size and appears to have affected the many images. Does anyone have any advice? The best I have been able to glean online is work with inDesign to change page size.

    Thanks.
    The problem was with the paper size. In addition to change the page size I needed to change the paper size in the print option before selecting save Adobe PDF.
    From Word go to File> Print
    Open the Copies & Pages dropdown
    Select Paper Handling
    Check the Scale to fit paper size box
    Open the Destination Paper Size list
    Select your custom 6x9 Preset
    Click the PDF button
    Select either Save as PDF or Save as Adobe PDF
    The unfortunate thing is that I was able to do this initially, but when I went back to replicate it adobe is creating 2 files one with my cover page and the rest to the manuscript. Luckily my initial copy was good. Thanks again for your help.

  • Change page size and get error on Booklet. Why?! Only in CS6...

    Why when we are working with a material of many pages, and all pages have the same measure, and alter the size of each page (in File -> Document Setup), we can no longer generate booklets? I was tested in version CS5 and it worked perfectly in version CS6 gives error:
    "The active document uses multiple pages sizes. Booklet Print works only with documents That use consistent page size."
    I've checked all pages and it all have identical size between them.
    Take a test.
    Open a new file with multiple pages. Try to create a booklet. Will function properly. After this, go to File -> Size and change the page size of the pages. Now try to create a booklet. Will give error.
    I tested in a couple of macs...

    Well I am having this exact issue.
    I have seen many posts in other areas of this discussion and online elsewhere. As it goes, Adobe is going to get sued for this.
    I paid for a working feature of the software in CS6. Simply releasing a new version and forcing the user to pay for a fix to a problem in an old version is not lawful business. It's extorsion. They did not uphold their end of the bargain on the contract of me paying for a working product.
    The owness is on them now to fix the bugs in the current versions of broken software.

  • Change page size in Acrobat Pro 6.0

    Hello, I'm wondering if there's a way to change page sizes in Acrobat Pro 6.0 for Windows. We are receiving manuscripts which have been assembled from various documents. They're going to be printed at 8.5 x 11, but sometimes some of the pages are 7 x 10. Is there an automated way to change all the 7 x 10 pages to 8.5 x 11? We don't want to have to do each page individually because there are too many of them.
    Many thanks,
    Coral

    You could try printing to a new PDF with the PDF printer, setting the page size to 8.5 x 11 and setting the page scaling option to 'Fit to Printable Area'.  This will hopefully leave the existing 8.5 x 11 ones about the same size (it may shrink them slightly) and scale the other sizes.

  • Can Reader pick up the Default Page Size of a printer that is not the Windows Default Printer?

    We have a web based application that generates PDF documents via Crystal Reports.
    We are using Adobe Reader 8
    The PDF pages are displayed within an Internet Explorer window where the the users then print the document.
    The application is designed so the user only gets one chance to print the document (ie they cant come back and change printer settings if they happen to print the document out incorrectly)
    The document needs to be printed on A3 paper, full duplex.
    We have a printer set-up decidated to the printing of the documents generated by this application.  The default page size of this printer is set of A3.
    If we set this dedicated printer as the Windows Default Printer we have no problems at all.  The default page size (A3) is picked up and the document is printed correctly.
    If any other printer is set as the Windows Default Printer (eg one that has a default page size of A4), the users must obviously select the correct printer from the Print Dialogue Box -however when the user selects the dedicated A3 printer, the page size remains as A4 (page size of the Windows Default Printer).  This means the user must remember to change the paper size to A3 each time.
    Out users find IT a struggle at the best of times - anything that makes the process simpler is very welcomed!
    Is there a way to ensure the default page size of the printer is respected when that printer is not the Windows Default Printer?
    Thanks!

    No.

  • Introduce left/top margin: Change Page Size ignored

    I have a vector drawing of a technical schematic in PDF.  The drawing is an extract of a much larger schematic, so it is very small: 2.2" by 1.648".  However, when I print it out, it is resized to fill up a Letter size paper (8.5" by 11") and the size is then perfect for viewing.  Also, the PDF has no white space around the edges, so the same PDF is perfect for importing into documentation packages.
    However, for hard copy printing, depending on the exact aspect ratio of the drawing, I will sometimes want to introduce white space along one edge for hole-punching purposes.  I am opening the PDF and printing it from Acrobat 8 Professional.  I cannot use Document->Cropping because I am trying to introduce a margin rather reduce an existing margin.  I tried using the Change Page Size controls in the cropping dialog panel.  Originally, it was set to Fixed Sizes and Page Sizes was set to None.  I selected Custom instead of Fixed Sizes, then I entered in the Width and Height in inches, with the Height being about 0.5" more than the original 1.648" (it's landscape, so the holes will be at the top).  However, the illustrative diagram does not change, and neither do the dimensions shown on it.  I click OK and the PDF as viewed did not change -- no white space.  When I go back into the Change Paper Size dialog, all the size data that I entered is gone and the control have reverted back to Fixed Size with a Page Size of None.  I explored the dropdown list for Page Sizes, and none of them are appropriate for such a small diagram.
    What I'm trying to achieve is a pretty simple effect, and I thought it would be straightforward.  It has to be *very* simple as I expect to do this regularly.  Is there actually a way?  Ideally, it doesn't involve calculating all sorts of bounding boxes and offsets.  Who knows what the assumed reference points for those are.  In fact, the most direct way would be to enter a negative Margin Controls in the Crop Margins region of the dialog.  That is not possible, of course.

    Actually, I found a way.  The reason why the page size was being ignored is because the numbers were too small.  If I enter a big enough number, it sticks.  It would be nice to get a message to that effect though.......sigh.
    I can then adjust the cropping margins to get the gutter.
    Thanks.

  • XI Pro: How to change page size?

    I have a letter-sized document where each page has extremely large margins and text in a tiny font size. Can I use the 'Remove White Margins' function (Crop pages > Set Page Boxes) to remove the large margins and then resize what remains back to 8.5" x11" using the 'Change Page Size' function?
    When I try this, I can do the first step and I'm left with pages about 5.5"x8". But the Change Page Size function does not allow me to resize the page.
    It this possible?

    Hi J Kart,
    Please refer the doc: https://acrobatusers.com/tutorials/how-to-resize-pages-in-a-pdf-file
    Regards,
    Rave

  • How We Can Change Page Size During Report Run Time

    Hello !
    How We Can Change Page Size During Report Run Time .
    How can we stop to change the column name when we amend a sql in report data model.
    Thanks !
    null

    hello sohail
    1. question - i'm afraid this cannot be done ... bit in report 6 and newer you have posibility to divide your report in 3 parts (former header, body, trailor) and each part can have diferent page siz, orientation , ...
    2. question - best is give each column in your statements in one report diferent alias. when you have to chnge something, alias will remain same ...
    try this: select 1 as fist_column, 1 as second_column from dual
    hope this helsp

  • Possible to enlarge white space by changing page size?

    Greetings.  I'm using Acrobat 10 pro now, but in 9  it was possible to enlarge the white space around the text by changing the page size as part of the crop command.  This was very handy for creating an area large enough for text box comments.  I can't find this capability in 10.  Am I, hopefully, mistaken?

    Select: Tools > Pages > Crop
    and then double-click on the page. You'll then get the Crop dialog and you can select a larger page size in the CHange Page Size area.

  • Changing page size from legal to letter with same size font when printed

    I have the problem that I get a pdf which is in legal size format.  I need to print this in letter size, sign it and re-scan it and send via email to a person who then needs to print it and sign it and scan it.  What is happening is the person who I have to send this too can only scan letter size paper.  I can make the legal size form print, (shink to fit printable area), as letter size but the font becomes so small that it is unreadable.  What I need to do is resize the legal to letter but keep the same size font.  I expect this to make the document 2 pages but that is fine.  I can not find how to do this.  I have Adobe 9.
    [email protected]

    Does the original legal size document content occupy more space than would fit on 8.5x11? If not, then you can simply set the page size in print driver properties to letter, and in the Page Handling area of the Print dialog box tell it:
    Page Scaling: None
    check: Auto-Rotate and Center
    do not check: Choose paper source by PDF page size - this will force it to print on the paper selected in the print driver properties.
    If the actual content is too large to print on the forced paper, then you need to (in the Page Handling area of the print dialog) tell it:
    Page Scaling: Tile large pages
    This will allow the remaining content to print on a second page

  • Change page size in PDF (Acrobat 9)

    I have created a PDF file and under document properties it says that the default page size is 11.69 x 8.26 in.  I want to change this to A3, but cannot find the option or any help on this.
    The PDF was created using the PDF printer from an application that normally only prints to A3.  This created a separate PDF file for each sheet of the document, which I then combined using the combine option in Acrobat.
    Any thoughts?
    Thanks
    Alan

    I have created a PDF file and under document properties it says that the default page size is 11.69 x 8.26 in.
    Where did you see default page size? I can see only page size.

  • Change page size for PostScript file?

    Hi,
    While trying to stream Java2D objects to a PostScript file using Java Printing API, I found I couldn't change the page size, it always gives me ISO_A4 size. In the following modifed sample from printing doc, even if I changed the book's page size and printer media size attribute, it still gave me ISO_A4 size.
    thanks for your help
    Frank
    ==== Code ====
    import java.io.*;
    import java.awt.print.*;
    import java.awt.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    import java.util.Date;
    public class Print2DToStream2 implements Printable {
    public Print2DToStream2() {
    DocFlavor flavor = DocFlavor.SERVICE_FORMATTED.PAGEABLE;
    String psMimeType = DocFlavor.BYTE_ARRAY.POSTSCRIPT.getMimeType();
    StreamPrintServiceFactory[] factories = StreamPrintServiceFactory.lookupStreamPrintServiceFactories(flavor, psMimeType);
    if (factories.length == 0) {
    System.err.print("No suitable factories");
    System.exit(0);
    try {
    FileOutputStream fos = new FileOutputStream("C:/WUTemp/out.ps");
    StreamPrintService sps = factories[0].getPrintService(fos);
    DocPrintJob pj = sps.createPrintJob();
    PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
    aset.add(MediaSizeName.NA_LEGAL); // no effect
    aset.add(OrientationRequested.LANDSCAPE);
    Book book = new Book();
    PageFormat pf = new PageFormat();
    Paper p = new Paper();
    //p.setSize(595, 842);
    //p.setImageableArea(0,0,595,842);
    p.setSize(612, 1008); // didn't take it
    p.setImageableArea(0,0,612,1008); // didn't take it
    pf.setOrientation(PageFormat.LANDSCAPE);
    pf.setPaper(p);
    book.append(this, pf);
    Doc doc = new SimpleDoc(book, flavor, null);
    pj.print(doc, aset);
    fos.close();
    System.out.println(new Date());
    } catch (PrintException pe) {
    System.err.println(pe);
    } catch (IOException ie) {
    System.err.println(ie);
    public int print(Graphics g,PageFormat pf,int pageIndex) {
    if (pageIndex == 0) {
    Graphics2D g2d = (Graphics2D)g;
    g2d.translate(pf.getImageableX(), pf.getImageableY());
    g2d.setColor(Color.black);
    g2d.fillRect(0,0,200,200);
    g2d.drawString("example string", 250, 250);
    System.out.println("printing ... ...");
    return Printable.PAGE_EXISTS;
    } else {
    return Printable.NO_SUCH_PAGE;
    public static void main(String args[]) {
    Print2DToStream2 sp = new Print2DToStream2();
    }

    It turned out that it was the PS viewer mislead me. There is nothing wrong in generating PS file.
    Frank

  • Change page size

    I need to change the page size of a document. Usually a drawing scanned with format Iso A1 (840x594) to format iso A3 (420x297).
    Is it possible to do this by using Acrobat 7.0 Professional?
    Preferably redused exactly 50%.

    As I understand it, you want to scale the graphic to a different size, not just change the page size. Those are two different aspects of the problem. If a graphic is part of the page, it can be moved, but can not be resized. To get a scalable graphic in the PDF, you have to put it on a button (TOOLS>FORMS>BUTTON) as an image. The button can be scaled. Once you make an object a part of the PDF itself (a form button is not part of the basic document), you can no longer scale it. This is why we all talk about doing editing in your original document and not in the PDF.
    When you say to print to PDF with reduced size settings, I have no idea what you have done. Is this a job.settings file selection or what? I am still not sure what your objective is. It looks like you want to put multiple graphics into one file. I would suggest using a word processor, inserting the graphics to the size you want, then print all of the graphics to a PDF from that application. You selections would then be the choice of job.settings that you use in terms of the resolution that the graphics may be produced in. I think that this is the workflow that you really want, not trying to do things directly in Acrobat.

  • Change Page Size Equally

    I'm working on a book that is 130 pages. It needs to print regualry (offset) and also needs to print digitally at a slightly reduced size -- original size is 6.5 x 9.25 in. The digital size will be 6.125 x 9.25. I know how to change a page size, but when I change the width the reduced size comes off the outside of each page (book is setup with facing pages). The client wants each page to remain exactly as is in the original book size (just with copy and images centered on the new page size) so I can't use Layout adjustment. Is there any way to control the reduction of page size so that the change in width comes off both sides of the page (which would save me the time of having to recenter everything)?
    Any suggestions appreciated (File is in CS5)
    Jeff

    Without checking, these three simple options come to mind:
    Change the document from facing pages and make the width change, change back to facing -
    Export to pdf and crop the pages in Acrobat -
    Create a second document and place the original 130 ID pages into that, offset -.125.
    I would use the third option as it would always reflect the live changes to the original.
    http://indesignsecrets.com/downloads/MultiPageImporter2.5-CS5.zip
    Places the whole 130 page ID file into a new file.

Maybe you are looking for

  • Another computer using IP address -again

    Hi, I have had to reset my network due to electrical work being done on the house. I am using an AirPort Extreme 802.11n 3rd gen at the base and a second AirPort Extreme 802.11n 5th gen to extend the range of the network. When I called my service pro

  • Can I install Airdrop on my 24" Imac 2.66 ghz?

    Aloha- I bought my Imac right when the new 21" and 27" models came out from the apple refurbished page so I know this was the last 24" model to ever come out even though it wasn't the most powerful. Can it install airdrop when I get Lion? Mahalo for

  • Intercompany billing customer

    Hi All, In Intercompany billing,we will create a customer under both the company codes to whom we are delivering the goods.Is it also necessary to create one more customer under ordering party to create intercompany billing...Kindly suggest... Rgds,

  • In How Many ways or Techinques used to have relation beween two factables which dont have common dimesions

    Hi folks,  In How Many ways or Techinques used to have relation beween two factables which dont have common dimesions or  how to establish relation beween two factables. Thanks Ravindra KAvali

  • Do MacBook Pro with Retina Display have a DSL slot?

    Hello their, I'd like to ask if the new MacBook Pro with Retina Display can be connected to Internet through a DSL wire. Suppose I don't have wireless, how am gonna connect to the Internet? Thanks