Tray selection with LOCL in sapscript

I want to print the document from Tray 2 always and so I set the resource name in the sapscript to TRY02. When I put the printer name in, it works fine and prints from tray 2. But when I put LOCL as the output device, it always prints from the default tray. Does anyone have a solution to this?

I think this is because of your local printer configuration
Please find the documentation related to this-> this documentation i found in start> printer and faxes>select your default printer> right click> properties> help> index --> find tab > type tray> Selecting paper by type or source
If your application supports printing by paper type or source, make the selections from your application. Application settings override printer driver settings.
You can configure the printer to select paper by Type (such as Plain or Letterhead) or Source (such as Tray 1 or Tray 2). If you frequently use several different kinds of paper, once trays are set up correctly from the printer control panel, you do not have to check which paper is loaded in each tray before you print.
Your paper trays must be configured from the printer control panel before you can print by type. To configure your paper trays, see the printer user guide.

Similar Messages

  • Tray selection with HP P2015 printer

    We have recently bought a new P2015 with installed the optional 2nd tray.
    while this printer works very good with normal Windows functions, it seems impossible to make this printer working correctly with ABAP programs.
    I tried SAP device types POST2, HPLJ4000 but paper is taken always from 3rd tray ignoring the 2nd.
    I did my tests using our program which work efficiently with old HP4050, and using SAP text SAPSCRIPT-TRAYTEST (in SO10).
    Is there someone who experienced the same problem ?

    I have same issue like this..same page I would like to print with Tray1, Tray1. when I give check printing, It should print with both the Tray, it has different kind of papers.can you suggest me?

  • Tray selection for sapscript

    I am working on tray selection for an invoice sapscript. It should print in Tray 2 and so I have set Resource Name in Sapscript form to TRY02.
    It works in one client and not in another client. Does anyone have an idea why this could be?

    Please check thru transaction code SPAD
    In SPAD > select the printer>. On the output devicescreen,--> menu selection Goto --> Device Type. This will allow youenter specific PCL code for all Print Controls.
    SE71 -> on page layout, --> give a tray name (TRY01) in the resource name to all pages in the sapscript.
    But you should know the printer PCL codes (basis can help you on this)

  • PRINTER TRAY CONTROL/SELECTION WITH SAPSCRIPT USING ZTROYMIC DEVICE TYPE

    We are printing checks using SAPscript in which we specify TRY02 for the overflow/invoice detail pages of  a check and TRY03 for the check itself, this is in order to use check stock only for actual checks and plain paper for the invoice detail pages.  As indicated above the device type to which we are printing is ZTROYMIC.  The device type was downloaded from note 94233, and is printing the MICR characters successfully however there was no Control Character Sequence provided for TRY03 in SPAD print controls.  The tray selection is not working correctly, I was given the following escape sequence, escape character & l 5 H, for TRY03 by TROY but not sure how to implement this in SPAD.  Should we pose this question directly to SAP?  Is tray selection supported for this device type?  If not how can we direct pages to correct tray otherwise?
    Your help is much appreciated,
    Doug
    Edited by: Lisa Platt on Dec 3, 2008 11:02 PM

    1) In SPAD under the device types tab, enter your device type and hit display.
    2) click on Print Controls and scroll down you will see TRY01, TRY02, TRY03 and TRYMN.
    3) click on the edit icon and change the control character sequence that was provide for you. we
    are using 1B266C3548, Hope this helps!

  • Tray selection of printer doesn't work with printing order confirmation

    Hello,
    When we try to print output for the order confirmation document (BA00 and custom ZBA0) on a different paper tray (e.g. tray 2 for printer avbekyo-01_tray2 in SAP R/3) then the ouput is printed to tray 1 in stead. We have defined two different printers in SAP for the tray selection. We tested the ouput on different printers, besides the avbekyo-01 and went wrong on the others also. When we print out an invoice (ZRD0) to the printer on the second tray, the invoice is printed correctly from the second tray. With an ABAP developer we debugged the print process, but no code leads to the fact that the output for the order confirmation should be printed to the first tray, while the second tray was selected in the output record. In the code still the second tray is processed, but printed on the first. The only difference we can find is that the order confirmation is SAPScript and the invoice is a Smartform. Does anyone know a solution?.
    Kind regards

    Unfortunately the setting doesn't resolve the problem. We also have activated the settings of Tray2 in the option Tray Info.
    Edited by: Chantal Polman FUNC ACCOUNT on Jun 4, 2008 2:32 PM

  • Can we change tray selection dynamically?

    Hello experts,
    is it possible to change the tray selection dynamically? That is to say, via the driver program.
    For example the default tray on the SAPscript  form is TRY02. So if there are less than 20 lines on a form, it'll use TRY02 containing paper with pre-printed text. However, if there are more lines, then, I would like it to use TRY03 containing blank paper, for the rest of the information.
    Is this possible via programming or any other way for that matter?
    Your help is greatly appreciated.
    Edited by: Goharjou ardavan on Oct 29, 2008 11:07 AM

    Hi,
    Tray Options are available in the Output Device. You can't control it from the SAP Script. In Output device Tray's will be defined, But there is no option to shift the Tray based on the lines.
    But If you guys can define two output device, one with tray TRY02 and other device with tray TRY03. Then in the program based on the how many lines, Pass the Respective Output device to the Spool structures in the program.

  • Impose tray selection

    Hi,
    I was looking for a way to make a tray selection and eventually ended up in property that exists in the Print dialog box: "Choose paper source by PDF paper size".
    If we have a pdf with 2 different page sizes across the document and a printer with 2 corresponding trays predefined to these page sizes then each page will print to the right tray determined by the current page's page size.
    But if all pages in the pdf have the same size e.g. A4 and we still want tray selection on certain pages? For example in the first tray we have blue A4 and in the second tray yellow A4?
    I thought that some good idea is to rotate 90 degrees of pages that intended for the second tray. For example we suppose that tray 1 has predefined page size 21x29,7 and tray 2 to 29,7x21. In the first tray will be printed the original A4 (portrait) and in the second tray the rotated (landscape) pages. The only
    drawback of this method is that the output pages from the second tray must un rotated.
    Am I right or it will recognize the trays as same?  Has anyone other solution?

    Please check thru transaction code SPAD
    In SPAD > select the printer>. On the output devicescreen,--> menu selection Goto --> Device Type. This will allow youenter specific PCL code for all Print Controls.
    SE71 -> on page layout, --> give a tray name (TRY01) in the resource name to all pages in the sapscript.
    But you should know the printer PCL codes (basis can help you on this)

  • Does the Officejet 8600 Pro Premium N911n printer perform auto tray selection?

    I have an Officejet 8600 Pro Pemium N911n printer,  CN577A with two trays. My Operating Sysem is Win8,64bit,there are no error messages, no system changes.
    The HP Officejet Pro 8600 e-All-in One series User Guide states that By default, the printer draws media from Tray1.If Tray1 is empty, the printer draws media from Tray2(if it is installed and loaded with media. I have Tray lock disabled ,Tay1 the default Tray and Automatic Tray Selection enabled.Prior to making these selections,I contacted HP support via email to report that this option was not working. I received a response that there is no method that will automatically select a tray when one tray is empty. The User 's manual states otherwise..This option might not work but it is part of this series of printers. I have both trays loaded and I will determine if it works after Tray1 is empty. Does anyone have one of these printers and the auto Tray function works? Thanks.
    This question was solved.
    View Solution.

    Hello wardell1,
    Please take a look at this document and let me know if the troubleshooting steps help resolve your issue.
    Good luck!
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • Dynamic Tray Selection

    Hi All,
    When the print out is issued from the SMARTFORM, it should automatically determine the tray for the paper (based on a pre-defined logic):
    The trays can be:
    Tray 1
    Tray 2
    Manual Feed
    I tried sending Dynamic Value in RESOURCE NAME field of Smartform Page. The Value i tried in TRY1, TRY2. But printer is not selecting according to the value passed at runtime in field RESOURCE NAME. Could someone please let me know about the exact name to be specified in RESOURCE NAME as the field is 20 characters long.
    If GET_PRINT_PARAMETERS is to be used, please let me know where should i pass the internal table which i get from GET_PRINT_PARAMETERS FM.
    Thanks,
    Best regards,
    Prashant

    Hai prashant,
    Do you want to define the tray statically?.
    Then you can mention the tray at the page level.
    Select the page and select 'output options' tab.
    There you can mention the tray name with the resource field.
    if you want to select the tray dynamically then ,refer the OSS note 367128 and apply the OSS note which is applicable for release 4.6 C.
    Implement the program correction. Afterwards, you can also enter a field (for example, ) in field 'Resource'. This field must be defined in a global manner (the type must be RSPORESNAM). You must set the value of this field before you call up the page. That is, you must either supply the value on the first page via the interface or you must set it during the initialization. If you call a page via an explicit page break, you must have set the value before the page break.
    I hope this should resolve your issue.
    You can even try using cal functions.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
    GET_PRINT_PARAMETERS
    Regards,
    Srikanth.
    Please reward points If it is helpful

  • Tray selection problem

    After upgrading to Leopard I had this problem: printing to any of my printers (Xerox Docucolor 12, Docucolor 2240, Docucolor 3535, Phaser 8500, Develop 5510id), *in the print dialog window I select a tray (i.e. tray 2), and the printer uses the tray "before" that (in this case tray 1).*
    So I can no more print from my "last trays" (typically the bypass tray) because there are no more trays after them in the tray selection tab. The only thing I can do is to leave "automatic selection" of the tray, but this don't work in all occasions (for example when I have to print from bypass on heavyweight paper which has the same size of the paper present in another tray).
    What kind of problem can this be? Maybe a PPD corruption problem (but the corruption of ALL the PPDs is not so easy...)

    I experienced the same problem with our Canon imageRUNNERs on Leopard using the Canon PPD's. If I used the Canon PS driver the same symptom did not occur, however for some apps it was necessary to use the ppd's only.
    The only workaround I found was to print via paper type rather than paper source. By selecting to print via paper type, this meant that if A3 heavy card stock was loaded in the stack bypass, as well as A3 80gsm plain paper in one of the trays, only the paper from the bypass was selected.
    I don't believe it is ppd corruption. It has more to do with CUPS not parsing the ppd data correctly. For the drivers that do not rely on CUPS, such as the Canon PS driver and the new imagePASS (Fiery) drivers, the same issue does not occur.
    PaHu

  • Dynamic Tray Selection in Smartforms

    Hi all,
    I am looking for a solution, to set the tray in a Smartform dynamically.
    It is not sufficient to set the Tray statically on the "Output Options" tab -> Ressource Name.
    Can anybody help me?!?
    Thanks and best regards,
    SteCee

    Normally, tray selection is done using GET_PRINT_PARAMETER FM.
    Refer to these threads, may be helpful -
    Print to different output tray in SAPscript/Print Workbench
    Automatic tray selection for printing
    Regards,
    Amit

  • Printer tray selection in smartforms

    Hi All,
    I have a requirement that for a particluar printer the smartform should be printed using a particular tray (for ex. Tray4). How can this be achieved?
    Regards..

    Refer these threads,
    Print to different output tray in SAPscript/Print Workbench
    Automatic tray selection for printing
    Regards,
    Joan

  • Automatic tray selection for printing

    When the print out is issued from the SMARTFORM, it should automatically determine the tray for the paper (based on a pre-defined logic):
    The trays can be:
    Tray 1
    Tray 2
    Manual Feed
    Is this possible in SAP? (version 4.6c)
    Is there a dependency on the printer/model
    Thanks,
    Lakshmi.

    Hi,
    Do you want to define the tray statically?.
    Then you can mention the tray at the page level.
    Select the page and select 'output options' tab.
    There you can mention the tray name with the resource field.
    if you want to select the tray dynamically then ,refer the OSS note <b>367128</b> and apply the OSS note which is applicable for release 4.6 C.
    <b>Implement the program correction. Afterwards, you can also enter a field (for example, ) in field 'Resource'. This field must be defined in a global manner (the type must be RSPORESNAM). You must set the value of this field before you call up the page. That is, you must either supply the value on the first page via the interface or you must set it during the initialization. If you call a page via an explicit page break, you must have set the value before the page break.</b>
    <b></b>
    I hope this should resolve your issue.
    Thank you.
    Regards,
    Karuna.M

  • C++ Debug Assertion Failed! - when printing with LOCL method G and GUI 620

    Hi all
    I've just raised an OSS message with SAP but don't think they'll help as the GUI version is no longer supported... if anyone else has come across this though and has any suggestions that would be great...
    Thanks
    Ross
    Hi
    We recently upgraded a few users to the 720 SAP GUI and had issues with LOCL printing, as we were still using the older "F: Printing on Front End computer" method of printing. As per SAP Note "Note 821519 - Front-end printing with control technology" the solution is to use method "G: Front end printing with Control Tech".
    However, we now get an issue with SOME users who are running the SAP GUI 620 patch 57. When they try and print to LOCL they get a pop up dialog box error:
    "Microsoft Visual C++ Debug Library
    Debug Assertion Failed!
    Program: C:\Program Files\SAP\FrontEnd\SAPgui\saplogon.exe
    File: fputs.c
    Line: 48
    Expressiom: steam != NULL"
    I appreciate that this old GUI is no longer supported BUT the SAP note states that 620 patch 56 is the minimum level for method "G" to work - and previous testing showed that it DID work ok. It seems only some of the 620 patch 57 users are affected - just wondering if you can advise why and if there is a 'quick fix' for this, perhaps an updated fputs.c file or something?
    The issue is that we literally have thousands of users on this version and cannot roll out 720 quickly enough & without some additional testing/costs etc. We have a 710 patch 18 version we can roll out but this can cause IE8 issues... neither do we wish to revert to control method "F" as this will then 'break' printing for those users.
    We have created a LOCL_OLD printer with method "F" but some users (for various reasons, including hard coded printers in bespoke transactions) cannot select this and have to use LOCL...
    If you are aware of the C++ debug assertion error and have any possible solutions that would be much appreciated.
    Many thanks
    Ross

    > I appreciate that this old GUI is no longer supported BUT the SAP note states that 620 patch 56 is the minimum level for method "G" to work - and previous testing showed that it DID work ok. It seems only some of the 620 patch 57 users are affected - just wondering if you can advise why and if there is a 'quick fix' for this, perhaps an updated fputs.c file or something?
    fputs.c is a source file that is used to compile the GUI. The assertion is thrown because an expected condition is not met. So even if you would take out the assertion, there's no guarantee it'll work because "something" on the operating system is not right.
    I suggest you compare installed software and windows hotfixes on the affected PCs vs. those who don't show this error. The error may also be that after the installation of the SAPGUI another software product was installed that replaced certain DLLs that are also used by the SAPGUI.
    Markus

  • 7515 keeps trying to print from photo tray when main tray selected (Mac)?

    Just started uing a iMac with the 7515.  It's driving me nuts that it keeps trying to print from the photo tray when I have main tray clearly selected in the print dialog box.
    I'm trying to insert the picture of the print dialog box, but doesn't seem to be working.  In presets (the second selection box from the top) I've got "Print from Main Tray" selected pretty plainly.
    Turning the printer on and off does not help.
    Any help appreciated.

    Hey Chriscic,
    Welcome to the HP Forums!
    Always the best recommend steps to start off with when troubleshooting with a Mac, is to reset the printing system. Then verify, and repair the disk permissions.
    So to start with the reset of the printing system, I have included the document 'Macintosh: Resetting the Printing System in Mac OS X'. Please select your version of Mac, and follow through the steps. If you have Mavericks, you can follow the steps for OS X v10.8. Also, please do not re-add the printer just yet.
    After the reset of the printing system, you will need to complete the verify, and repair of the disk permissions. I have included the document 'Disk Utility 12.x: Repair disk permissions'. For step three when it asks you to select a disk, please select your hard drive. Once the repair has completed, please restart the Mac.
    After the Mac has restarted, you can now add the printer back into the print queue. The try to print. Are you still experiencing the same issue? Or are you able to print from the main tray?
    If you do require further assistance, please let me know the version of Mac OS X you are running. If you need it, I have included the document 'Finding your OS X version and build information'.
    Looking forward to your reply.
    I worked on behalf of HP

Maybe you are looking for

  • Install cache error

    I'm trying to install itunes 10.6 on windows 7 home premium.  it downloads the software and starts to install.  I receive an error:  "an error occurred while attempting to create the directory c:/program data/apple/installer cache" I click retry seve

  • ITunes wants me to set up iPod Touch again or restore it or eject it???

    I bought this iPod Touch only two months ago. And since this is my second iPod (the first was a 5 gen that I had had for a couple years), I only did the initial iTunes 8 update I had to do when I bought it. Since it had been working fine, I didn't do

  • Error in invoking target 'libso_install' of makefile

    Hi, The Application Server is 10gR2 and the platform is 23 Solaris SPARC 64-bit. Installtion of the mid-tier is failing with the following error: "Error in invoking target 'libso_install' of makefile" The logs shows: From installActions.log `````````

  • "AVI2 Write Frame" not working on files with "µ" in path

    This is a Bug report! Please have a look at the attached VI. The AVI file is created but no data is written and the Write Frame function reports error "-1074395969". If I change the path to something without "µ" it's working! Tested in the 2013 Versi

  • Set operations in ODI

    Hi, I have a requirement where I need to do a MINUS operation on two SQL queries. How do I implement this in the ODI Designer?