Set printer tray and page size

hi every body
i create two reports and i want to print these reports from different printer trays for excemple first report from (upper papaer tray) and second from (lower paper tray)i want all of this automaticaly user can not select tray at runtime print automaticaly goes to set tray by default
second problum is i create report on legal size when i run report in runtime the page setup shows letter size
how can i solve these problums
thanks in advance
allah hafiz

Hi Faiz,
There are 2 places where you need to worry about paper size in your report:
1. When you design the report, you need to make sure that your report is designed according to the paper size that you would finally print on. For this, you first set Reports properties "width" and "height", and then design your report such that everything fits in this size. This has nothing to do with what physical paper size is chosen by the printer at runtime. This merely ensures that the report will be formatted according to the report width and height that you have set.
If at runtime, your actual paper size in the printer is different (eg, you design according to legal, but you printer contains letter), you can use the property PAGESIZE in your command line to dynamically change the paper size in your report, and Reports will try to format your report accordingly. Again, this property PAGESIZE does not switch the physical paper in the printer. It only ensures that the report is formatted according to what you specify as width and height.
2. You want to set the "physical" paper size that the report will finally print on. This is controlled by the printer. In reports, you can control which tray should be chosen, but you cannot control what physical paper size it should print on. This is controlled by the printer. Report will print on the paper size that is present in the relevant printer tray.
Navneet.

Similar Messages

  • Can we set Print Quality and Page 'Fit in to paper' thrue AS

    Hi All,
    while taking Movieclip printout thru actionscipt, whatever text i used inside the Movieclip is get blurred. Moreover the print is not fit into the paper size (A4 size used).
    Is there any setting available to change resolution while its get convert to bitmap and also is there any option to set "fit in to the paper size"
    Here i am using this...
    import flash.display.BitmapData;
    var newBitmap:BitmapData = new BitmapData(myMC._width, myMC._height);
    var tempMC:MovieClip = this;
    var printFC:PrintJob = new PrintJob();
    newBitmap.draw(myMC);
    tempMC.createEmptyMovieClip("printMC", 1);
    printMC.attachBitmap(newBitmap, 1);
    printFC.start();
    printFC.addPage(printMC, null, {printAsBitmap:true});
    printFC.send();

    I found the solution form a website !!!
    I missed out to mention the parameter while attaching bitmap.
    The correct code is...
    printMC.attachBitmap(newBitmap, 1, "auto", true);
    "auto" is for pixelSnapping
    true is for smoothing
    Thanks,

  • SET PRINTER TRAY AT RUN TIME

    HELO EVERY BODY
    I HAVE TWO REPORTS I WANT TO PRINT FIRST REPORT FROM UPPER TRAY AND SECOND REPORT FROM LOWER TRAY HO CAN I DO THIS?
    SECOND PROBLUM IS I CREATE A REPORT ON LEGAL PAPER WHEN I RUN THIS REPORT IT WILL TAKE DEFAUT PAPER SIZE OF PRINTER WHICH IS LETTER HOW CAN I SET PAPER LEGAL BY WHICH I NOT CHAND PAPER EVERY TIME
    THANKS IN ADVANCE
    KHUDA HAFIZ

    Faiz,
    Pl see my response, and reply in your other thread:
    set printer tray and page size
    Navneet.

  • Printing to PDF: prints the wrong page size and orientation

    I am trying to print a simple 60 page document composed of 8 x 11 inch pages to a pdf. I want the pdf in spreads, so that 2 8x11 inch pages in portrait orientation will be next to each other as a spread. Each time I try to print, the pdf comes out in the wrong orientation or the wrong size or both. When I export it to a pdf, it is the right orientation and page size, but the file size is way too large. So how do I fix this annoying problem? I have tried adjusting the print setup but it still won't print right. This seems like a simple operation, but indesign has been giving me trouble with this for weeks. I should mention I'm using CC. Thank you.

    Go to the AdminUI ( http://<servername>:<port>/adminui ), and to Services, PDF Generator.  Pick File Type Settings, and click on the Standard entry.  If you pop open the HTML to PDF section, you can edit the size, margins, orientation, headings and footers, site recursion, and pdf initial view settings.  <br /><br />Save your settings as a new Filetype (you can make as many as you want), and pass the name the filetype as the second parameter to the call to the htmlToPDF method on the web service client.<br /><br />http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/javadoc/com/adobe/livecycle/g eneratepdf/client/GeneratePdfServiceClient.html<br /><br />I am unfamiliar with interacting directly with the web services via SOAP, so if you are not using the pre-built GeneratePdfServiceClient supplied by Adobe and this information does not solve your issue you will need to see if anybody else can help.  I imagine that there is a similar String parameter where you place the Filetype name defined in the AdminUI.<br /><br />(edit: I should mention, the GeneratePdf service is a part of PDF Generator ES, not Output ES, so you may have better luck in the general Livecycle ES forum)

  • Set Paper Source by Page Size for multi files

    I have over 500 pdf files. How can I batch set "Paper Source by Page Size" in Print Dialog Preset for these files.
    Thanks!

    Hi Andrew,
    Apple made some pretty significant changes to the way that printers function when they released 10.6.
    The setting you're looking for is completely controlled by the OS.
    Choose Apple > System Preferences > Print & Fax.
    Click on your printer and use the drop-down menu to change the default page size for your printer.
    -David

  • Print, Export and Page Navigation Buttons in the Report

    When I view a report through CR4E, the generated report has 3 buttons namely Print, Export and Page Navigation buttons. But when I click on either of the buttons I get a &#39;null pointer exception&#39;. This is a critical error as I am unable to navigate past the first page. Do I have to add code to these buttons? If not, why am I getting an error? Kindly solve my problem as soon as possible.

    <p>Looking at your code it appears that you are storing the ReportSource in session prior to passing in the ResultSet. This will create a problem when a postback is made on  the viewer page (which all of the viewer actions do). If you look at the sample code which is generated when you use the JSP Page Wizard you will notice that the ResultSet is passed to the ReportClientDocument object prior to it being stored in session. Then, when the page is called again this object is retrieved and the ReportSource is used by the viewer. You can quickly run the test using one of our sample reports to see what I am talking about. The code below was generated using the Consolidated Balance Sheet.rpt and did not experience any problems doing any of the viewer actions.</p><%@page import="com.businessobjects.samples.JRCHelperSample,<br />com.crystaldecisions.report.web.viewer.CrystalReportViewer,<br />com.crystaldecisions.reports.sdk.ReportClientDocument,<br />com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,<br />com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,<br />com.crystaldecisions.sdk.occa.report.reportsource.IReportSource,<br />java.sql.Connection,<br />java.sql.DriverManager,<br />java.sql.ResultSet,<br />java.sql.SQLException,<br />java.sql.Statement"%><%<br /><br /><br />    try {<br /><br />        String reportName = "Sample Reports/Consolidated Balance Sheet.rpt";<br />        ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);<br /><br />        if (clientDoc == null) {<br /><br />            clientDoc = new ReportClientDocument();<br />            <br />            // Open report<br />            clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br /><br />  <br />            {<br />                // **** POPULATE MAIN REPORT ****<br />                {<br />                     // Connection Info for fetching the resultSet<br />                    String connectStr = "jdbc:derby:classpath:/Xtreme";<br />                    String driverName = "org.apache.derby.jdbc.EmbeddedDriver";<br />                    String userName = "dbuser";        // TODO: Fill in database user<br />                    String password = "dbpassword";    // TODO: Fill in valid password<br /><br />                    String query = "SELECT CUSTOMER_NAME FROM APP.CUSTOMER WHERE COUNTRY = &#39;Australia&#39;";<br /><br />                    <br />                    String tableAlias = "FINANCIALS";        // TODO: Change to correct table alias<br /><br />                     <br />                    JRCHelperSample.passResultSet(clientDoc, fetchResultSet(driverName, connectStr, userName, password, query),<br />                        tableAlias, "");<br />                }<br /><br /><br />            }<br />        <br />            // Store the report document in session<br />            session.setAttribute(reportName, clientDoc);<br /><br />        }<br /><br /><br />            {<br />                // Create the CrystalReportViewer object<br />                CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();<br /><br />                //    set the reportsource property of the viewer<br />                IReportSource reportSource = clientDoc.getReportSource();                <br />                crystalReportPageViewer.setReportSource(reportSource);<br /><br />                // set viewer attributes<br />                crystalReportPageViewer.setOwnPage(true);<br />                crystalReportPageViewer.setOwnForm(true);<br /><br />                // Process the report<br />                crystalReportPageViewer.processHttpRequest(request, response, application, null); <br /><br />            }<br />            <br /><br />    } catch (ReportSDKExceptionBase e) {<br />        out.println(e);<br />    } <br />    <br />%><%!<br />// Simple utility function for obtaining result sets that will be pushed into the report.  <br />// This is just standard querying of a Java result set and does NOT involve any <br />// Crystal JRC SDK functions. <br /><br />    private static ResultSet fetchResultSet(String driverName,<br />            String connectStr, String userName, String password, String query) throws SQLException, ClassNotFoundException {<br /><br />        //Load JDBC driver for the database that will be queried    <br />        Class.forName(driverName);<br /><br />        Connection connection = DriverManager.getConnection(connectStr, userName, password);<br />        Statement statement = connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);<br /><br />        //Execute query and return result sets<br />        return statement.executeQuery(query);<br /><br />}%><p>Try using the code generated from the wizard to see if it works for you as well. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

  • Merge TIFF file Resolution and page size differs. Clue ?!

    Hi All,
    I'm able to merge multiple TIFF files into one. But the resultant multi page TIFF file has different resolution and page size than from the source files. The width and height will get exchanged, also those texts are appear stretched.
    Noteably, it happens particularly with FAX pages of TIFF files, not with any others (like printed page TIFF files).
    can you help me ? Please write here your points.
    Thanks a lot,
    Vasu

    I see I attached the link to the wrong discussion. It should have been this one. Scroll down to the workaround posted by Tomas, from August 26th.
    http://discussions.apple.com/thread.jspa?threadID=1078666&start=0&tstart=0
    Anyway, yes, that's sort of what I mean. On my iWeb 06 website, I've scaled all my pictures down to 800px x 600px with a resolution of 72dpi for online viewing. The original photos, say 3000px x 2000px at 300dpi, are simply saved on my harddrive and not used in iWeb. The thought behind that was for faster loading times for people visiting my website. I'm pretty sure when I saved these reduced copies in Photoshop, the default color profile was sRGB. However, when I look at my site on my office (Windows) PC, the pictures appear dark, especially Black & White ones. But the color profile is a separate issue covered in Tomas' workaround.
    Now, maybe I'm operating on a false assumption, but I thought with this new download feature in iWeb and .Mac Web Gallery you would want to use your photos in full resolution so that when a visitor sees a picture they like, they can download the picture from your site AND could even print it if they so chose. Again, I'm assuming you would use your full resolution photos when you build your site and iWeb would do its own scaling for viewing on the web, but the full resolution photos would be somehow held in reserve for the moment when someone selects 'download'. I'm just concerned that using an unscaled, full resolution photos, would slow down the page building speed so much, that visitors would be too border to bother waiting for the pages to load. Thanks.

  • Can we custom set workflow throttle and batch size in Office 365 SharePoint online ?

    Hi All,
    I am new to sharepoint online administration. I want to know that can we custom
    set workflow throttle and batch size in Office 365 SharePoint online ?? likewise we were able to do in SP Farm environment using stsadm cmdlets.
    Can we use SP Online management shell to do the same ?
    Please help !!!

    Thanks for the reply...
    But then how can I optimize my workflow against these properties in Sharepoint online site environment  ?
    Throttle
    Batch size
    Timeout
    Workflow timer interval
    AutoCleanUpDays ()
    refer : http://www.codeproject.com/Articles/251828/How-to-Improve-Workflow-Performance-in-SharePoint

  • In Sapscript, print page 1 on printer 1 and page on printer 2 -(tray setup)

    Hello Experts,
    We have a requirement in our cheque printing program wherein we need to print on different printers.
    I think this has something to do with trays in sapscript. Because for page 1, we need to print
    on a pre-printed form and for page 2 onwards we just need to print it on an ordinary papaer.
    Can you please tell me how I can achieve this and how do we customize it in sapscript?
    Hope you can help me guys. Thank you and take care!

    The resource names are already set by SAP. TRY01, TRY02, TRY03 which correspond to the same trays in the Printer setup (txn: SPAD, Tray Info window). I suspect there are more possible values (some printers have more than 3 trays) but I've never seen them documented.
    Note, your basis team needs to make sure the tray settings are in SPAD and the print drivers are set correctly.

  • How to install and set printer paper and tray automatically via script or batch file

    Hi,
    Our firm using HP Printers and we need to deploy printer in Citrix Environment where setting does not save to the Base PC Image.
    Because our Environment is Citrix (User Settings and Printer are deployed when user login).
    Can we build the setting into the Base PC Image for All users?
    Printer get install when using login.
    Problem that I am encounter right now are:
    1. How to correctly identify all tray from each printer.
    2. How to set all paper tray to A4
    I am currently using Powershell Script to install printers during login, all the printer driver has been installed to the Base PC Image.
    But the trouble I have is when the script run to completion.
    It only added the printer.
    I've been googling, but I can't find a way to detect printer tray or how to set all the tray to A4.
    I don't mind using any type of script/batch file or even program.
    Any of the following language is C#, VB.NET, powershell, vbscript or Event Access to HP API ?
    Our Environment:
    Windows 7 x32 SP1
    Windows Server 2008 R2 (Print Server)
    I am using the PCL 6 Printer Driver.
    Our Printers are:
    HP LJ CP1025NW
    HP C LJ 4650
    HP C LJ 3525
    HP LJ 1045
    HP LJ 2050
    HP LJ 3055
    HP LJ 4015
    HP LJ 4350
    HP LJ 4700
    HP LJ 2035n
    Thanks in advance
    Regards Dat.

    Most of those printers are commercial grade printers.  It would be best to post in the commercial LaserJet forums.
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • Set Printer Tray

    Hi
    I'm experiencing difficulty with a report.
    My requirement is to print a four page report duplexed with the first page coming from tray 1 and the following page coming from tray 2.
    When the report is printed via Adobe Acrobat Reader it will successfully duplex, but will not print from the separate trays.
    When the report is sent direct to printer, setting the report property DESTYPE = PRINTER the report will print from the separate trays, but not duplex.
    I've got the set_printer_tray commands on the repeating frame triggers.
    Going through Adobe, I believe the report loses the printer tray commands.
    Looking at the printer properties the printer's default behaviour appears to be duplex printing.
    Any ideas on what could be going wrong?

    Hi Faiz,
    There are 2 places where you need to worry about paper size in your report:
    1. When you design the report, you need to make sure that your report is designed according to the paper size that you would finally print on. For this, you first set Reports properties "width" and "height", and then design your report such that everything fits in this size. This has nothing to do with what physical paper size is chosen by the printer at runtime. This merely ensures that the report will be formatted according to the report width and height that you have set.
    If at runtime, your actual paper size in the printer is different (eg, you design according to legal, but you printer contains letter), you can use the property PAGESIZE in your command line to dynamically change the paper size in your report, and Reports will try to format your report accordingly. Again, this property PAGESIZE does not switch the physical paper in the printer. It only ensures that the report is formatted according to what you specify as width and height.
    2. You want to set the "physical" paper size that the report will finally print on. This is controlled by the printer. In reports, you can control which tray should be chosen, but you cannot control what physical paper size it should print on. This is controlled by the printer. Report will print on the paper size that is present in the relevant printer tray.
    Navneet.

  • Z3200 won't print to custom page size

    Hello,
    I've created a banner that is 23"w x 82"h (in CorelDraw Suite 4).  The page setup of the Corel file is 23" w x 82"h.  I've been trying to print it on the z3200 designjet, but have had no luck.  I created several custom page sizes (23" x 82", 24" x 85", 24" x 82") using both the "Printer Properties" dialogue within CorelDraw as well as adding a "Form" in the "Print Server Properties", none of them work.  I've set the correct paper (24" wide HP Bright White Bond, feeding from the roller) on  the actual printer itself, and in the Printer Properties.
    I've played around with all of the different settings that I can and sometimes see the following error message:
    [1/1]Paper size selected (width:23.00 inches, height: 82.00 inches) is larger than loaded paper (width: 24 inches).  Please verify your printer setup.
    When the page prints, it is resizing the content to be 8.5" wide.
    I don't know what I'm missing.  Any advice would be greatly appreciated!
    Thank you in advance,
    Karen )

    I'm having the same problem here in China as well; and I've talked to the tech support in my region and no help. Called the province HP tech rep and he has no clue at all.
    Does any Tech/Eng here could help us? Otherwise there's no reason for me to use you guys machine anymore...

  • How can you set (or reset) different page sizes within 1 pdf?

    I am working on a pdf with various page sizes.  Say one page at 8-1/2 x 11, another at 11 x 17, and another at 22 x 34.  I obviously can't print as "Choose paper source by PDF page size" as one printer can't do all sizes.  I would like to change the 22 x 34 to 11 x 17.  How can I change the page size setting of one page within a multiple-paged pdf?

    You can play with the Crop tool. You'll find it is easier to "size up" than "size down".
    May have to extract and bin PDF pages by the virtual page size then work on them.
    However, if all you want is to have the content on hard copy and having that on a common sheet size (say Letter) then consider this alternative:
    Make a working copy of the PDF.
    With the PDF open in Acrobat, open the Pages panel. Expand the panel width as desired.
    Now, Ctrl click through the PDF page thumbnails that have a landscape orientation.
    Rotate these 90 degrees to a portrait orientation.
    Alt+D+T or Shift+Ctrl+R
    Save as you go.
    With all pages in a portrait orientation, use the attached printer to print.
    In the Print dialog locate the entry for 'page scaling' and select Fit or Shrink to Printable Area.
    All PDF pages' content will be scaled such that all page content fits in an imprint on the Letter size paper.
    Or, go the other way and have the imprint of PDF page content fill a larger sheet size.
    Just a function of what the printer accepts for paper size and the features provided in the printer driver.
    Be well....

  • Printing from Custom Page Size

    I am trying to print on custom DVD cover paper, 8.25 by 11.75", 1/2 margins with perferations on those margins. I set it all up and the program prints too far to the left and too far down, missing the set margins, 1/2 inch all around,  and the pereferations. Let's hope someone can help me out.
    I have been trying to solve this for quite a while. My work around is print on legal paper and trim. Or, I was told, save as a PDF and print that, which I have yet to try
    I have done all kinds of fliers and brochures and never has this problem until I got into custom page size.
    I suspect "Operator Error".
    I have the same problem on two diifferent system set ups.
    Win 2000, PageMaker and an HP printer, DeskJet 932 .
    Vista, InDisign, an Epson Printer Artisan 50 Series, brand new.
    I can set it up perfectly in the program and on the screen in either program but no matter what I do it will not print out correctly. I have combed through the printer settings and can find nothing wrong, but there is a solution someplace.
    Thank you!
    Cheers!  Phil

    How far "off" is the positioning? +/- a few mm is the best you can hope for on a desktop printer, with some drift from sheet to sheet being very likely.
    If it's more than that, it might be that's you've included marks and/or set page positioning to upper left instead of centered.

  • Preview prints everything Full Page Size?

    Hi,
    After upgrading to 10.6 several months ago ( yes, it took me a while) I now have a printing problem.
    Every picture I get via email, after I download it to the desktop, will only print in Full Sheet of paper mode.
    Scale To Fit is automatically selected. It doesn't change when I select Scale and enter the proper %, it still fills the page.
    I tried Preview--Preferences--Images--and Scale Large Images was selected. I selected Print Actual Size and tried it. No different.
    You used to get a Print option and a Print Setup option on the File pulldown. It was easy to set the percentage you wanted to print at. No more.
    How do I stop images of all sizes being automatically upscaled to a Full Page?

    Thank You.
    After submitting the question, the similar questions popped up on the righthand side.
    Matthew Morgan answered this over TWO YEARS AGO. What the ****, Apple hasn't fixed or notified anyone of this?
    I select Scale, enter the correct percentage, and then hit Tab after I'm done. Makes no sense but it works.
    Why wouldn't it just print with the settings that were on the page when you hit the Print key like ie always did?
    Thanks Again

Maybe you are looking for

  • Change History logs for /sapapo/cdps0

    Hi all, Has anyone tried to build a report which can show log of change history; i.e. changes made manually or by system in Detail Scheduling Planning Board? Specific query is if it is feasible to make? Has someone tried to do and what are your gener

  • Create PDF = Scan = AppCrash

    I have a new PC with Windows Vista 64 bit. 4G Ram. I have installed my printer scanner (Samsung SCX-4200) and updated Acrobat Pro 9.0 I have configured the presets Each time I try to create a PDf from the scanner, Acrobat immediately stops working an

  • Changing the short name at migration?

    Rather than upgrading from Tiger to Leopard, I backed everything up on an external drive in order to do a clean install. When I to migrate I want to change the short name, or somehow bring what was under a previous account into a new one with a diffe

  • Include HTML code and ADF COMPONENTS

    I used Corel PHOTO-PAINT 12.0 for generate a web menu and i want to include in my project into a jspx page. When i paste the code of <table>.........</table> into tags <af:form></af:form> the page appears a mess in the browser. But if i use html only

  • Adobe Flash Player stopped potentially unsafe operation - Experts, help!

    Greetings!  This message is posted in this section (and in Flash Player, too) because the primary program I am using for my webste is Dreamweaver.  So, if you can help me, I would really appreciate it.... This message above made me very nervous.  Her