Printing duplex for script

hi,
i face problem of printing my PO in duplex mode, i have set the print mode in script as duplex, by it still doesnt come out in duplex.
i have tested with SAP standard text :SAPSCRIPT-PRINTMODETEST and it shows correctly that the printer works for simplex and duplex with SAP.
so what is the problem here? please help. i have running out of idea how to do this. thanks

Hi,
Based on the page number try to print the footer. Try to define the text elements in the same window. In driver program, try to keep if condition based on page number then print the correspoding text elements.
or
In driver program-> calling Text elemnts-> keep this code in Text element in script.
consider the MOD of page No by 2.
If it is Zero
print that 'Conttd on reverse'.
else.
print 'Contd'.
endif.
Thanks & Regards,
Chandralekha.

Similar Messages

  • How can I save a Adobe document to print duplex for other users.

    I want to create a doc using Adobe and be able to set it to print duplex by other users without the user needed to go into printer settings.
    All the user has to do is click print on there computer and the doc. will print duplex. The users have Adobe Reader installed.

    It is possible to set a default value for the Adobe Reader or Acrobat print dialog on a document basis. After the document is created, go to Document Properties (Ctrl-D), and select the Advanced tab. Go to the DuplexMode setting. Normally, this is set to Simplex, i.e. single sided printing. You can also set it to either Duplex Flip Long Edge or Duplex Flip Short Edge depending upon your needs. Duplex Flip Long Edge is normally used for printing of “portrait” orientation content with Duplex Flip Short Edge typically used for printing of “landscape” orientation content. Then save the PDF file (typically, “save as” should be used).
    Important notes: Obviously, this only works if the PDF file is being opened by one of the applications that even bothers to look at these settings. Adobe Reader and Acrobat do. Don't count on MacOS Preview or other applications to do so! Furthermore (and somewhat obviously), this setting is only observed with print devices that directly support duplex printing. And finally, this does not force the user to print duplex. It simply pre-populates the print dialog; the user can change the setting.
              - Dov

  • Printer Settings for Script

    Hi Abapers,
    I have created a new script for delivery note and Outputtype is configured in Nace.
    When there is a printer assigned in User Master Record, then its printing but if there
    is no printer assigned in SU3, then it should check for printer in condition record(VV22)
    and print it. But its not happening.. Please Suggest

    Hi,
    try to pass the TDDEST value to OPEN FORM FM.
    Hope it works!!
    Regards,
    Pavan

  • Sample print program for script.

    Hi
    I want to develop simple sapscript for displaying data from single internal table.
    so for that i have to wirte print program, if anyone have sample print program then plz send me.
    thanks.

    Hi,
    Check this.
    The print program is used to print the actual form ,the functions the print program has to do include retrieving of data from database tables , selecting a FORM and printing of TEXT ELEMENTS in a desired sequence.
                The function modules used in aprint prgram are :
    OPEN_FORM
    START_FORM
    WRITE_FORM
    CONTROL_FORM
    END_FORM
    CLOSE_FROM
    To start printing a form we must use OPEN_FORM and in the end we should use CLOSE_FORM to complete the spool request.
    Function modules in detail.
    OPEN_FORM function module
    This function module should be called first before any printing can take place , here we specify the name of the form and the print language.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
       DIALOG         = 'X'
       DEVICE         = 'PRINTER'
       FORM            = form name
       LANGUAGE   = SY-LANGU
    OPTIONS      =
    EXCEPTIONS
       CANCELLED  = 1
       DEVICE          = 2
       FORM            = 3
       OTHERS        = 11
    IF SY-SUBRC NE 0.
    MESSAGE ...
    ENDIF.
    In the above function module the parameter
    FORM      = Name of form
    DEVICE    = PRINTER (print using spool),TELEFAX (fax output)
                       SCREEN (output to screen)
    OPTIONS = It is a structure of type ITCPO and it controls the various
                       attributes like number of copies , print preview etc.
    START_FROM function module
    This function module is called if we want to use different forms with similar characterstics in a single spool request,it must be closed by END_FORM function module.
    CALL FUNCTION 'START_FORM'
    EXPORTING
      FORM            =
      LANGUAGE    =
      STARTPAGE  =
    EXCEPTIONS
      FORM            = 1
      OTHERS        = 7
    IF SY-SUBRC NE 0.
    MESSAGE ...
    ENDIF.
    WRITE_FORM Function module
    This function module is used to write text in a window in the form using
    text elements (/:E element). We can specify whether the text is to be appended , replaced or added and in which portion of the window it will be printed i.e TOP, BOTTOM ,BODY. In this function module actual printing takes place.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT    =
       FUNCTION  =
       TYPE          =
       WINDOW    =
    EXCEPTIONS
       ELEMENT   =  1
        OTHERS    =  9
    IF SY-SUBRC NE 0.
    MESSAGE ...
    ENDIF.
    Here in this function module the ELEMENT specifies which textelement is
    printed . WINDOW specifies which window of the form to be print in.
    TYPE specifies the output area of the window TOP,BOTTOM,BODY.
    FUNCTION specifies whether the text is to be appended , replaced or added.
    CLOSE_FORM function module
    This function module should be called in the end and it has no exporting
    parameter.
    CALL FUNCTION 'CLOSE_FROM'
    IMPORTING
      RESULT     =
    EXCEPTIONS
        UNOPENED = 1
        OTHERS     =  5
    IF SY-SUBRC NE 0.
    MESSAGE ...
    ENDIF.
       Here the result parameteer returns the status information and print/fax parameters after the form has been printed.
    CONTROL_FORM function module
    This function module is used to insert SAPScript control commands like NEW-PAGE etc from whithin the ABAP program.
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
      COMMAND    =
    EXCEPTIONS
      UNOPENED   = 1
      OTHERS        = 3
    IF SY-SUBRC NE 0.
    MESSAGE ...
    ENDIF.
    --Ragu

  • Indesign wont print duplex booklet

    im having an issue printing duplex booklet straight out of indesign
    i have enabled two sided printing on my BROTHER MFC-J6510DW printer dialogue, but when you send it, it doesn't print duplex.
    for now i have had to add a PPD patch file so i can print the booklet to PDF (postscript) file, and then from there the printer seems to have no problem printing the document duplex.
    any ideas why it doesn't work straight from indesign?

    Other programs don't mean a thing to ID and printing. The bad news is I'm a Windows user and the dialogs are a little different and I never can remember which buttons are which on the Mac. You need to get all the way to the printers driver settings dialog -- might be called printing preferences or something similar, and it may be one level deeper than you've gone so far.
    Or it could be that ID and that printer just don't get along.

  • How to find out the driver program and script for print preview for PO

    Hi All,
    We are getting some text output on the print preview of a purchase order.
    How can we determine the driver script and the corresponding print program for this.
    Can you please guide on this.
    Thanks in advance.
    Regards,
    Sanjeet

    Hi,
    check with  below table
    TNAPR   ---  Processing programs for output
    and NACE Transaction code
    NACE  --  out types
    Regards,
    Madhu

  • Ho to find script and the related print program for print preview of PO

    Hi All,
    We are getting some text output on the print preview of a purchase order.
    How can we determine the driver script and the corresponding print program for this.
    Can you please guide on this.
    Thanks in advance.
    Regards,
    Sanjeet

    U Can check Driver program and form related to that program table is TNAPPR
    Goto NACE t.code
    Selct Application ---> click on output types
    then u wil get one window there select proper output type and
    double click on  processing  routines u wil get form name and related driver program name also
    Plz try this....
    Edited by: Upender Verma on Feb 9, 2009 1:33 PM
    Edited by: Upender Verma on Feb 9, 2009 1:37 PM

  • How to know print program for SAP Script

    Hi friends,
    how to know print program for SAP Script form name ?

    Hi ,
      You can use the following code changes in the layout & see..
    You have to create a program Z_BC460_EX4_HF for that..
    /:PERFORM GET_NAME IN PROGRAM Z_BC460_EX4_HF
    /:  USING &CUST&
    /:  CHANGING &NAME&
    /:ENDPERFORM.
    Dear &NAME&
    The ABAP routine could be defined as follows:
    IMPORTANT: The structure itcsy must be used for the parameters.
    REPORT Z_HENRIKF_SCRIPT_FORM .
      tables scustom.
      form get_name tables in_tab structure itcsy
                           out_tab structure itcsy.
      read table in_tab index 1.
      select single * from scustom
        where id = in_tab-value.
      if sy-subrc = 0.
        read table out_tab index 1.
        move scustom-name to out_tab-value.
        modify out_tab index sy-tabix.
      else.
        read table out_tab index 1.
        move 'No name' to out_tab-value.
        modify out_tab index sy-tabix.
      endif.
    You could also fill the ouput parameter table this way
       READ TABLE out_par WITH KEY 'NAME1'.
       out_par-value = l_name1.
       MODIFY out_par INDEX sy-tabix.
    endform.

  • Can't get duplex print option for pdf files using  Adobe ReaderXI 11.0.04, Mac 10.8.5 with HP8600

    I get two-sided option for normal printing, but
    I can't get duplex print option for pdf files using  Adobe ReaderXI 11.0.04, Mac 10.8.5 with HP Officejet Pro 8600.  HP says it's an Adobe problem. I'm stuck.
    Thanks in advance.
    VO

    It depends where the pdf is located. If in the Finder or in an attachment to
    an email in Entourage, the message is ³You can¹t open the application
    ³Acrobat Reader 5.0² because PowerPC applications are no longer supported².
    If an attachment in an email that has come via Safari, the message is
    ³Safari can¹t open the file because no available applications can open it².
    In each case the menu bar is Finder or Entourage or Safari as the case may
    be.

  • How can I download a Generic Post Script printer Driver  for Windows 7 .

    How can I download a Generic Post Script printer Driver  for Windows 7

    We used to install this PostScript printer  for previous Windows releases from
    (winsteng) and run it to install the driver from the below location
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=1500
    This doesnt work with Win 7 (The install crashes ) , Basically looking to do the same process with Win 7

  • How to find the print program for a sap script

    Hey Experts,
    How to find the print program for a sap script (espicially when it is a custom script(Z*))?
    Thanks a ton,

    Thanx Vijay,
    Actually when I searched for the program in both the tables it didnt show up ther.
    But when I did check in the texts of script, I found it.
    Good job.
    Thanks all.
    Vijay, a small doubt.
    But why didn't it show up in those 2 tables when all the print programs for standard scripts show up usually?
    thnx once again.
    Message was edited by: dev a

  • Script to disable Client for Microsoft Networks and File and Print Sharing for Microsoft Networks

    Hi, I am trying to find a way of using a batch file or vbscript to disable Client for Microsoft Networks and File and Print Sharing for Microsoft Networks on a Network Interface Controller.
    I've done some searching on the internet and I can see some suggestions to locate the Setting ID of the NIC and then remove the value from the "Bind" string under "HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Linkage" and "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Linkage"
    I tried this but it didn't seem to uncheck itself from the NIC properties under NCPA.cpl
    Can someone help me? 

    http://social.msdn.microsoft.com/Forums/vstudio/en-US/b0407073-07bc-462b-9de9-7295be5fa183/disable-file-and-printer-sharing-for-mircorosoft-networks?forum=csharpgeneral
    ¯\_(ツ)_/¯

  • Ricoh c3501 printer driver for MBP OSX Mavericks10.9.5

    Recently, I just bought 13 inch MBP. After tried to installed the c3501 printer driver I used have, but failed. 
    The New MBP can NOT print to c3501 as I did at MBA.
    Please advise what I shall do to fix this?
    Thank you.

    I am going to do some combining of posts here.  I hope I can remember to get all that needs to be answered.
    I found the problem was at the "RicohUserCodes.command" executing order. I shall add printer first, then execute the script to change the user code.
    As greg mentions, you need to add the printer before using the script.  The script only looks at installed printers for eligible printers that have Ricoh UserCodes.
    Now, my NEW MBP with Mavericks 10.9.5 can print grayscale doc.
    You should now have the ability to print grayscale or color documents.  The choice is under the Printer Features section in the print window.  Many organizations will allow most users to print grayscale without a User Code.  They require a User Code only for color printing.  Other organizations require a User Code for all printing.
    After reading the comments, looks like there is a patch for GPL Ghostscript 8.63. As I execute the revision 8.7.1, can I apply the same patch to fix the double side printing issue? If yes, what is the procedure to apply the patch?
    No, you do not need to apply a patch.  I think you can assume that it has been incorporated into Ghsostscript 8.71.  Most of the time, all patches are incorporated into the next release.
    I found a problem on printing Win-Word document. If a word document file with section breaks, the printing job will be divided. This would affect double side printing. Any update driver to fix this issue? or ...
    I think that is a Word document problem only.  Does duplex work in all other cases?
    I think if you search other posts in the printing forums here, you will find similar complaints.  One idea for a work around that comes to mind is to save each section as a PDF and then combine the PDFs before printing.  I find that Word doesn't collate multiple copies of a document the way other applications do.
    greg sahli wrote:
    Unfortunately, there is a bug that will affect two-side printing.
    Read the comments here:
    http://www.openprinting.org/driver/pxlcolor/
    That page, like most of the OpenPrinting site, is ancient greg.  I am not sure much, if any of it, is still relavent.  How many years ago was Ghsoscript 8.63 and the CUPS PostScript driver that are mentioned on that page?  I would think that the CUPS PostScript driver has been improved since then.
    In any event, I added a printer instance for the Ricoh c3105 and did a print to file selecting duplex.  The duplex was set using a PJL command.
    @PJL SET DUPLEX=ON

  • Cannot find duplexing for HP Envy 110 on Mac OS 10.6

    Hi,
    So I just purchased the HP Envy 110 D411a printer mainly for the convenience of its automated double-sided printing feature.  However, that functionality doesn't work.  I went under my system preferences on my Mac OSX 10.6 and followed the directions; under the "driver tab" there should be a box that I can select for duplexing, yet that option does not appear.  Why is that?

    Hi,
    The Two-Sided option should not appear within the driver settings, as the specific model contain internal duplexing module and therefore enabled by default.
    Please follow the steps below and let me know if that helps:
    1. From the application used to print, click the File menu, and then select Print. The Print window appears.
    NOTE: The Print window might be minimized. Click the blue triangle next to the printer name to see all available settings.
    2. In the expanded Print window you will find next to Copies the checkbox for Two-Sided. Check the box.
    NOTE: If the checkbox does not appear within the specific application print dialog, skip this step.
    3. To select the binding type click the lowest selection box listed as the name of the program (e.g. TextEdit)
    Will appear as Copies & Pages within Microsoft Office applications.
    4. Select Layout from the drop-down menu.
    5. Set the Two-Sided option as Long-Edge binding (Portrait), or Short-Edge binding (landscape).
    You may save the settings for future use by clicking Presets > Save Current Settings as Preset...
    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

  • Is there a way to save print job for later?

    Is there a way to have print jobs saved for a later date/time? The only solution I can think of is to save the document/web page/file to a folder (e.g., "print later"). However, I'd rather just be able to hit print and in the print dialogue "send" the job to a print queue that I can open later.
    For the curious, there are two often reoccuring situations where I want to save a print job for later: 1) I work late at night when my family is asleep and my house is not large enough to avoid disturbing their sleep by printing; and 2) I need to print out a 50+ page work document and I don't want to use my home computer to do it.
    I'll appreciate whatever tips, recommendations, thoughts I get.

    the method mentioned by benwiggy will certainly work.  If you want to an option that would give you more options, you could use a PDF Service.  You could then put a specific job on hold while still allowing others to use the printer.
    You can do this by opening AppleScript Editor (/Applications/Utilities).  You can copy and paste the following into an editor window --
    on open printJobs
    tell application "Finder"
    set trapFile to quoted form of POSIX path of (printJobs as string)
    end tell
    set defaultPrinter to do shell script "lpstat -d | awk -F: '{print $2}'"
    do shell script "lpr -P" & defaultPrinter & " -q " & trapFile
    end open
    Save the file as an Application.  You can name it something like Hold Print Job.  Then just put it in the PDF Services directory in the Library directory of your Home folder <yourname>/Library/PDF Services.  You may need to make the PDF Services directory as it may not already be there.
    Once the file is in place, you can use it by using the PDF drop down menu at the bottom left of a print window.  That will send the file to the printer and put it on hold.  Others can still use the printer.  You can then print your file whenever you want.  Just open the print queue as mentioned by benwiggy.  Highlight the job that is Paused.  You will see a little curly icon at the very right (looks like a reload icon in a web browser).  Just click that icon and the job will start printing.

Maybe you are looking for

  • [Maintenance View] Mass maintenance of Z-Table

    Hi, I was wondering what were the options when dealing with mass maintenance of Z-table entries. SM30 is OK for maintenance view but you cannot process more than a given number of lines (34 entries or so) per page. Ideally, it should be possible to e

  • How do i save as a word document

    When I chose iworks I was told that I could save my pages and numbers and keynote documents a certain way so they could be opened with microsoft word and excell and powerpoint. Is this possible and if it is how do I do it? thanks for the help

  • Selling powermac G4 with display

    Hello, We are going to sell (2) Powermac G4 with OSX 768mb DDR SDRAM, 60HD with (2) 20" Displays. How much roughly should we be asking for? Both the computer and display are in good condition and will be wiped clean. Thanks

  • Can't find Fuji XE-1 profile in Photoshop or Lightroom with ACR7.4

    I have a Fuji XE-1 camera and was pleased to see that this camera is listed as supported in ACR 7.4. However when I installed ACR 7.4 I cold not find the profile for my Fuji XE-1 in either Lightrrom 4 (or 5 Beta) or Photoshop CS6. I can find a profil

  • Problem launching Resource planning tool

    Hi all,        I have some problem in launching the resouce planning tool,T-Code:CRM_DWP. We have a freshly installed CRM 5.0 sytem,It is throwing me the following errors: <b>1)Internal error in Business Object Layer, method: GET_TIMESPEC_TYPES</b> <