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)

Similar Messages

  • Paper tray selection for copies won't stay

    I'm having problems setting the paper tray for copies.  I go into settings on the printer LED screen and select Tray 2 for copies, but it doesn't stick.  Since I have envelopes loaded in Tray 1, I'm constantly getting "wrong tray" error messages.

    Welcome back to the HP Community @marthainalabama ,
    I read your post about the problems you have been having with making copies from Tray 2 in your Officejet 8630, and I would like for you to check out the link below and try the suggestions from @TeK_AcE  to see if the steps can help! Try copying from Tray 2 afterwards.
    OfficeJet Pro 8600 and OfficeJet Pro 8630 Tray 2 missing
    Let me know what happens!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • 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

  • 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

  • Printer Tray Selection in xml-Source

    I want to print my AdobeForm only at the Tray1. When there is another Paper in the primary Tray the printer have to print the AdobeForm in Tray1 not in the primary Tray.
    Who can tell me whats the source Code. PrinterProtocoll is PCL5e.
    Thx

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

  • 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 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.

  • 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.

  • 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

  • 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)

  • How to create a transport for sapscript translations

    Hello,
    does someone knows how to create a transport for sapscript translations which can then be released to the other system via SE10?
    In 4.6C when I changed a translation for a sapscript form it created automatically a transport.
    Now in 6.0 it wont!
    Kind regards
    Wolfi.

    Hi,
    Go through the help.
    http://help.sap.com/saphelp_nw04s/helpdata/en/b4/54601d77f38e429ffad9e3e11c1b25/frameset.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/assigning%2ba%2btransport%2brequest%2bfor%2bthe%2btranslations%2bin%2bsmart%2bforms
    in the above example you have to select FORM instead Smartform.
    Thanks,
    Sree.
    Edited by: t sree on Oct 28, 2008 10:59 AM

  • Smart form dynamic tray selection on printing

    Hi Experts,
    I have a requirement in smart form that need to output the a particular invoice to a particular tray a printer. For e.g. tray 2.
    I have added TRY02 to the resource name of the pages in the smartform, but still the invoice is being printed to the default tray of the printer.
    I have done a test to that printer by printing the SAPCRIPT-TRAYTEST from SO10, and the output is being printed correctly i.e. to the different trays. So I guess the printer has been configured correctly.
    Is there any additional configurations that need to be done for smart forms for the tray selection works correctly? And, is it correct the way I implemented the functionality in the smart form?
    Can someone help please?
    Thanks in advance
    Regards,
    Zaheed

    Hi Experts,
    I have a requirement in smart form that need to output the a particular invoice to a particular tray a printer. For e.g. tray 2.
    I have added TRY02 to the resource name of the pages in the smartform, but still the invoice is being printed to the default tray of the printer.
    I have done a test to that printer by printing the SAPCRIPT-TRAYTEST from SO10, and the output is being printed correctly i.e. to the different trays. So I guess the printer has been configured correctly.
    Is there any additional configurations that need to be done for smart forms for the tray selection works correctly? And, is it correct the way I implemented the functionality in the smart form?
    Can someone help please?
    Thanks in advance
    Regards,
    Zaheed

  • 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

  • 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