Change Print Parameters

Hi All,
I have a query..
My Print parameters layout parameters  are X_65_80, but i want to change  my printer layout parameters to X_65_132.
For that I have done the following changes, but change are not reflecting..
I have tried with different parameters  in the Get_print_paramters, but with no sucess.
I have used the following code.
CALL FUNCTION 'GET_PRINT_PARAMETERS'   "
    EXPORTING
       NO_DIALOG                      =    'X'
       DESTINATION                    =    'LOCL'         MODE                           =    'CURRENT'  "parameters
    IMPORTING
        OUT_PARAMETERS = OUT_PARAMETERS.
  OUT_PARAMETERS-PRIMM = ''.
  OUT_PARAMETERS-LINSZ = 132.
  OUT_PARAMETERS-LINCT = 65.
  OUT_PARAMETERS-PAART = 'X_65_132'.
  SUBMIT RM07MTRB  TO SAP-SPOOL
                    SPOOL PARAMETERS OUT_PARAMETERS
                    WITHOUT SPOOL DYNPRO
                    WITH WERKS IN S_WERKS
                    AND RETURN.
<REMOVED BY MODERATOR>
Regards
Aashish
Edited by: Alvaro Tejada Galindo on Apr 10, 2008 4:58 PM

Hi,
Try this
SUBMIT <program> to SAP-SPOOL using layout 'X_65_132'.
Regards,
Satish

Similar Messages

  • How can I change the values for print parameters

    Hi all,
    There is a program which prints the documents every time the t.code is executed. I want the output to be stored in spool and NEVER wants it to be printed.
    A spreadsheet which has the details of articles is uploaded and a background job is created through ABAP SUBMIT statement to upload the article numbers to the table.
    GET_PRINT_PARAMETERS function module is used. Is there any way to pass the print parameters so that output will not be printed and only stored in the spool?
    Help me out and points will be rewarded.

    Hi Rathi,
    I am more or less giving as you mentioned. Here is the piece of code. 
    Y_XXXX is my report.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          MODE                   = 'BATCH'
          NO_DIALOG              = 'X'
          REPORT                 = 'Y_XXXX'
        IMPORTING
          OUT_ARCHIVE_PARAMETERS = ls_ArchivePrintParms
          OUT_PARAMETERS         = ls_PrintParms.
      SUBMIT Y_XXXX
       AND RETURN
        USER                sy-Uname
        VIA JOB             lw_JobName
            NUMBER          lw_JobNumber
        TO SAP-SPOOL
        WITHOUT SPOOL DYNPRO
        SPOOL PARAMETERS    ls_PrintParms
        ARCHIVE PARAMETERS  ls_ArchivePrintParms   
        WITH p_Matnr     =  ps_CreateArticleDatum-Article
        WITH p_MrchCt    =  ps_CreateArticleDatum-MerchCat
        WITH p_ArtTyp    =  ps_CreateArticleDatum-ArticleType
        WITH p_ArtCat    =  ps_CreateArticleDatum-ArticleCat
        WITH p_UOM       =  ps_CreateArticleDatum-UOM
        WITH p_ArtDsc    =  ps_CreateArticleDatum-ArticleDesc
        WITH p_ValCls    =  ps_CreateArticleDatum-ValueClass
        WITH p_PurGrp    =  ps_CreateArticleDatum-PurchGrp
        WITH p_StLsPr    =  ps_CreateArticleDatum-StoreListProc
        WITH p_DCLsPr    =  ps_CreateArticleDatum-DCListProc
        WITH s_RefStr    IN lr_RefStoresRange
        WITH p_BackGd    =  yartc_BooleanFalse
        WITH p_Test      =  yartc_BooleanFalse.
    But the o/p gets printed everytime I run the t.code.

  • Print parameters in Excel sheet

    Hi,
    I have a question regarding print parameters of an excelsheet.
    we have a report program which downloads the data into Excelsheet. The users run the program online, and once the excel is downloaded, they will take a print out.
    This excel has different tabs. The users need to change the print parameters like changing from lanscape to potrait, setting the margins etc.... and then take a print output. can we avoid this manual process programatically.
    our developer has used classes to download the excel.
    any help would be greatly appreciated.
    Thanks.

    So it is downloaded, then the user opens the document manually and prints it.  Have you looked into OLE.
    /people/rich.heilman2/blog/2005/09/12/manipulate-excel-with-ole-abap
    Using OLE, you can automatically print out the excel documents.  I would also assume that you can change the parameter as needed. 
    Here is a sample code showing the OLE code that will print the excel sheet.
    report zrich_0003.
    include ole2incl.
    data: e_sheet type ole2_object.
    data: e_appl  type ole2_object.
    data: e_work  type ole2_object.
    data: e_col1  type ole2_object.
    data: e_col2  type ole2_object.
    data: e_cols  type ole2_object.
    data: e_cell  type ole2_object.
    data: e_wind  type ole2_object.
    data: field_value(30) type c.
    parameters: p_file type localfile default 'C:RichTest.xls'.
    start-of-selection.
    * Start the application
      create object e_appl 'EXCEL.APPLICATION'.
      set property of e_appl 'VISIBLE' = 1.
    * Open the file
      call method of e_appl 'WORKBOOKS' = e_work.
      call method of e_work 'OPEN'
              exporting
                   #1 = p_file.
    <b>  get property of e_appl 'ACTIVEWORKBOOK' = e_work.
      call method of e_work 'PRINTOUT'.</b>
    * Close the file
      call method of e_work 'close'.
    * Quit the file
      call method of  e_appl  'QUIT'.
      free object e_appl.
    Regards,
    Rich Heilman

  • Problems with the print parameters of REUSE_ALV_GRID/LIST_DISPLAY

    Hello,
    I would like to put the printing parameter IS_PRINT of the REUSE_ALV_LIST_DISPLAY. I can fill the structure but it doesn't work.
    I've try the following cases:
    - get the default print parameters, change this, set the print parameter (GET / SET_PRINT_PARAMETERS)
    - set the structure print_cntrl of the parameter is_print
    Additional I've test the programm BCALV_TEST_LIST_PRINT2. I can fill the selection parameter for pages, for the printer, etc. - when I debug, the structure is_print is filled, but it hasn't any effect.
    I need this function to change the field armod to put the list into the archive.
    Just, I haven't an idea. Perhaps has anyone this problem too.
    Best regards
    tkaess

    Hi,
    from the docu of parameter IS_PRINT in the fm's docu (REUSE_ALV_LIST_DISPLAY):
    Prerequisite: Before you use these parameters, you must call the function module UNSET_PRINTPARAMETER. This initializes the required parameters. Value range Default
    Regards,
    Klaus

  • Adobe Print Parameters

    Hi experts,
    my client is facing a printing problem: after printing an interactive form (which i implemented), the spool creates an error in SP01 with message "Formating G-RAW not supplied by printer xxxx" (translated from german, dont know the exact english text). If u change the printer setting manually to another format setting, it works fine.
    Before i tell my client that he has to change the configuration of his 200 printers, i want to make sure, that there is no way to set the print format setting by coding. Can someone help?
    Best wishes,
    Jan

    Hi Usha,
    These are the function modules that i would call when trying to call the Adobe form. I need the function module that would set the print parameters BEFORE i could call the mentioned function modules.
    Please advice.

  • Administrator cannot change printer properties on "Advanced" tab from "Devices and Printers" on Windows Server 2012 R2

    Hello, dear Colleagues.
    User with administrators rights cannot change printer properties on "Advanced" tab from "Devices and Printers" on Windows Server 2012 R2. 
    If to launch "Devices and Printers" on server, all printer properties on "Advanced" tab are inactive (see screen below). 
    But I can change it manually with "Print Management". Features become active.
    The main purpose - to uncheck "Enable advanced printing features"  with powershell
    scripts.
    $erroractionpreference = "continue"
    $colPrinters = Get-Wmiobject -Class win32_printer -computername print_server -Filter "Name like 'printer1' or Name like 'printer2' or Name like 'printer3' or Name like 'printer4' or Name like 'printer5' or Name like 'printer6'" # get printers on server and filter with names
    ForEach ($objPrinter in $colPrinters) { # get printer details from WMI
    If ($objPrinter.RawOnly -ne "True") { # check that Advanced printing fetaures is turned on
    Write-host $objPrinter.Name
    Write-Host $objPrinter.RawOnly
    $objPrinter.RawOnly = "True" # Untick and update the object in WMI
    $objPrinter.Put()
    It works on Windows 7 workstation, but does not on print server Windows Server 2012 R2 with error
    Exception calling "Put" with "0" argument(s): "Generic failure "
    At \\print_server\c$\DisableAdvancedPrintingFeatures.ps1:8 char:17
    + $objPrinter.Put()
    + ~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException
    Can you help me with that? Look like somethings with rights.
    Thank you.

    Hello, Alan
    Morris.
    Thanks for your reply.
    I've tried to runs PS Script both locally and remotely, previously running Powershell ISE as Administrator.
    I've noticed interesting thing - if to
    check "Enable advanced printing features"
    manually thru Print Management snap-in, script works fine. But, time to time after some manipulations on print server, this advanced feature returns to enabled state automatically by system, I think. In this case PS Script does not work. Next, if to disable
    feature manually again (thru Print Management snap-in),
    and enable manually again, PS Script will work. Very strange situation.
    Thanks.

  • RSPC Variant does not exist - Could not find or load print parameters

    We are on BI 7.0 (support pack SAPKW70017).  We recently freshed test system from production.   After the refresh, we have problems opening all the process chains.  
    1. When I go to RSPC to open a process chain, I get many messages like this:
    Variant &0000000067180 does not exist (there are different variant numbers)
    Message no. DB612
    Diagnosis
    You selected variant &0000000067180 for program RSPROCESS.
    This variant does not exist.
    2. When I go to SM21 to check the system log, it displays many entries like below:
    EJ  F Could not find or load print parameters for step 1, job BI_PROCESS_TRIGGER/09134500
    Documentation for system log message EJ F :                                                                               
    An error occurred during loading of the print parameters for a        
    background job step.                                                  
    The print parameter record may have been deleted even though there was
    a still a step that needed that data. This is an error as the         
    reorganization of the print parameters should prevent this from       
    happening.                                                            
    To fix the problem, edit the step and save it, copy the job, or       
    schedule a new job. The print parameters will be regenerated in all   
    these cases.    
    3. I applied the OSS note 1169659 - Correction: Process variants not entered by BDLS.   The Basis rerun BDLS.  But it did not fix the problem.
    Would appreciate if someone could provide any help.
    Thank you.

    Hi Rebecca.
    1) Please verify if exist process types called 'unknown job'. If exist:  delete process types called 'unknown job' in your process chain. To do that please remove the chain from scheduling (menu bar > process chain > remove from schedule), afterwards switch the detail view on (menu bar >  view) > right mouse click on the process type "unknown job" > displaying scheduled jobs > delete that job. After deletion of the 'unknown jobs' activate and schedule your process chain again.
    2) After the removal of the 'unknown jobs' please check if the error messages with the missing variants pop up when calling your process chain disappears. If not, please implement and execute the attached report Z_FIND_JOBS_WITHOUT_VARIANT which deletes the jobs without variants.
    I have already attached report as Report Z_FIND_JOBS_WITHOUT_VARIANT, you can download and create the report accordingly.
    = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    REPORT  Z_FIND_JOBS_WITHOUT_VARIANT.
    data: l_t_job type table of tbtcp with header line,
          l_s_varsel    TYPE rsvar,
          l_t_variant   TYPE TABLE OF rsparams.
    parameters: delete type rs_bool.
    select * from tbtcp as job into table l_t_job
                        where progname = 'RSPROCESS'
                        and   exists ( select * from tbtco
                              where jobname = job~jobname
                              and   jobcount = job~jobcount
                              and   status = 'S' ).
    loop at l_t_job.
      l_s_varsel-report  = l_t_job-progname.
      l_s_varsel-variant = l_t_job-variant.
      CALL FUNCTION 'RS_VARIANT_CONTENTS'
        EXPORTING
          report               = l_s_varsel-report
          variant              = l_s_varsel-variant
          execute_direct       = 'X'
        TABLES
          valutab              = l_t_variant
        EXCEPTIONS
          variant_non_existent = 1
          variant_obsolete     = 2
          OTHERS               = 3.
      if sy-subrc <> 0.
        write: / l_t_job-jobname, l_t_job-jobcount.
        if delete = 'X'.
          CALL FUNCTION 'BP_JOB_DELETE'
            EXPORTING
              JOBCOUNT = l_t_job-jobcount
              JOBNAME  = l_t_job-jobname
            EXCEPTIONS
              OTHERS   = 1.
          IF SY-SUBRC <> 0.
            write 'not deleted'.
          else.
            write 'successfully deleted'.
          ENDIF.
        endif.
      endif.
    endloop.
    = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    I hope I can be helpful.
    Thanks,
    Walter Oliveira.

  • Supress Background Print parameters when user executes ALV report by F9

    Hi friends,
         How can we Supress Background Print parameters pop-up, when user executes ALV report by F9
    or by navigation from selection screen -i.e;  Program ->>Execute in Background.
    Please guide me
    Thanks in Advance,
    Ganesh

    Sorry,
    i need to supress the POP-UP which asks for background Print Parameters in the ALV report. when i press F9 in a selection - screen of a Tcode
    as we supress Pop-up for a smartform or script by passing the Print Parameters
    This 'RS_SET_SELSCREEN_STATUS' excludes the commands(say F9 function code) in report
    I think we need to set the Print paramters in the Program
    please guide me
    Thanks,
    Ganesh

  • When in printer properies needed to change print to black it errors, this stated after download fox 4

    After downloading fox 4, was unable to utliize the properties in my printer window to change print to black as I don't currently have a color cartridge.

    See this thread: <br />
    https://support.mozilla.com/en-US/questions/816333?s=Prop+Res+DLL+not+located&as=s
    Surprising that Lexmark wasn't aware of a problem with their drivers that is not exactly new, or restricted to Firefox. <br />
    http://support.microsoft.com/kb/918730 <br />
    http://www.proz.com/forum/office_applications/30138-error_message_prop_res_dll_not_loaded_in_word_how_can_i_fix_this-page2.html <br />

  • How do I change print preferences to print in black/white by default instead of color

    how do I change print preferences to print in black/white by default instead of color

    When you try to print, use COMMAND P, it should bring up a window similar to this you can select the preset there. It shoud remember the preset after.

  • How to change printer and or system settings to print in color

    How to change printer and or system settings to print in color

    You can change the brightness with an RGBImageFilter which converts the rgb values to HSV, increases the value, and converts back to rgb.

  • Photoshop CS6 freezes with attempts to change printer settings

    (This problem also occurs with InDesign CS6, so I will post to that forum as well. First one to give me a solution gets my undying love and devotion appreciation.)
    My employer acquired a Canon 6010 printer with a Fiery print controller last year. I have no problems printing from my personal Windows laptop. 
    However, from my employer's iMac (OS X 10.6.8) I get the spinning beach ball of death at least 90% of the time that I open an existing document and attempt to change the printer settings. The only way out is via Force Quit. Inexplicably I can occasionally succeed in changing printer settings. I think the record was having to force quit the application 11 times. Not sure - I quit counting.
    So far our only semi-consistent work around: create a new document and copy and paste the contents from the existing document. Not cool. But sometimes the app freezes with brand new documents, thus destroying my work around anyway.
    Additional Information:
    I have installed all CS6 upgrades.
    Our technical support contractor recreated the problem and could not find any solution other than the work around.
    Canon says the problem is with the applications.
    This happens whether I attempt to change the printer settings immediately or make changes to the document first.
    It does not matter what other applications are running.
    Rebooting the system after the app freezes does not make it work.
    We cannot upgrade past 10.6.8 because of the age of the hardware. But CS6 is supposed to run on Snow Leopard.
    I have tested this with other applications, including some older Adobe software. It does not happen with Microsoft Word, Microsoft Excel, InDesign CS3, Photoshop CS3, Acrobat 8 Pro, Acrobat 9 Pro or Acrobat XI Pro.
    This happens whether the documents were created and saved on the Mac or on a Windows computer.
    Re-saving the documents and/or printer settings does not change the outcome. Once I restart the application Photoshop may remember the paper size, but doesn't remember duplex settings. (From another thread in this forum I suspect a corrupt printer preferences file.)
    Per the instructions in the other thread I reset the printing preferences by launching the app while holding down shift-control-command. That enabled me to change the printer settings one time. Every subsequent attempt brought back the spinning beach ball.
    No other employees report similar problems (including a few MacBook users). However, they do not use Photoshop or InDesign, nor do they typically change printer settings.
    Sorry if some of that is irrelevant - just trying to give you as much info as possible and tell you what I've tried already. Any suggestions?
    Thanks,
    Bonnie

    Nanneri, my situation is similar in that creating the PDF and printing from that does take longer than just printing from InDesign and Photoshop.
    I finally got a Canon tech rep on site who understood my problem. Though we had tried reinstalling the drivers (as had previous Canon reps), this guy got it right. Neither Photoshop nor InDesign has locked up since - at least not for the Canon 6010. (Photoshop has locked up twice when I've attempted to print to a Canon iPF8300s wideformat that isn't on the Fiery. Restarting PS has fixed that.)
    Based on my experience, I would start with new drivers.
    FYI: I am having problems printing to a new Canon C7065 that also uses Fiery. But the problems vary and I haven't isolated the factors. Sometimes I get a printed error report. Sometimes it just doesn't print. But no more software lockups.
    In our case, I suspected our problems were related to having old hardware that can't be upgraded past OS X 10.6.8, which is the oldest OS compatible with both CS6 and the Fiery. But since you are on a newer OS, and a different printer, I'm beginning to wonder about the Fiery.
    Hope you find a solution soon. Keep us posted!

  • Running Mavericks OS on MacBookPro...had some hard crashes past 24 hours...now can't print in Office or Firefox.  Both crash during print dialog - changing printer.  Printed fine before.   Ideas?

    Running Mavericks OS on MacBookPro...had some hard crashes past 24 hours...forced reboots....now can't print anything from Office or Firefox.  Both crash during print dialog - changing printer causes instand crash.  My system printed fine before the crashes yesterday.  I can print from the Stickies app and safari printed fine.  I did a full Shutdown/restart and that didn't work.  Ideas on how to get PPT files to print again or print from firefox??

    Error log from PPT:
    Microsoft Error Reporting log version: 2.0
    Error Signature:
    Exception: EXC_BAD_ACCESS
    Date/Time: 2014-03-25 22:12:04 +0000
    Application Name: Microsoft PowerPoint
    Application Bundle ID: com.microsoft.Powerpoint
    Application Signature: PPT3
    Application Version: 14.3.9.131030
    Crashed Module Name: CoreFoundation
    Crashed Module Version: 855.14
    Crashed Module Offset: 0x00012192
    Blame Module Name: Microsoft PowerPoint
    Blame Module Version: 14.3.9.131030
    Blame Module Offset: 0x002a285e
    Application LCID: 1033
    Extra app info: Reg=en Loc=0x0409
    Crashed thread: 0

  • Cannot change Printer Properties in Word 2010 with J6480. Properties revert to default setting

    When I attempt to change Printer Properties in Word 2010, they simply revert back to the default setting.  I am unable to use the Printer Properties within the Word 2010.  If the default is grayscale, that is all the printer will print unless I change the default setup in the Control Panel. It appears to be an incompatibility with Office 2010 software as other programs allow the change of Printer properties.

    I have the exact identical problem.  Brand new printer (HP PhotoSmart C4780) on a brand new PC (Windows 7).  I cannot access the printer properties dialog box when the PDF file has been opened in an embedded Adobe Viewer window in Internet Explorer.
    When I select [Print] from Word or Adobe Viewer, or anywhere else, I can then press the [Properties] button and it opens the printer properties just fine.
    But if I open a PDF document through Internet Explorer, clicking on that [Properties] button doesn't do anything.  No error or anything.  If I press the [Save] in the Adobe Acrobet-embedded Internet Explorer window, it too does nothing.  This leads me to think it is an Adobe Acrobat issue.  However, I have found nothing in their support forums on this topic.
    Does anyone out there have any ideas?
    Scott

  • I have Photoshop cs6 Ext on an ASUS laptop. How can I increase the font size of the contents of the FILTER Panel situated on bottom left of screen. The font size is extreamly small and almost unreadable. I have changed display parameters, not the resoluti

    I have Photoshop cs6 Ext on an ASUS laptop. How can I increase the font size of the contents of the FILTER Panel situated on bottom left of screen. The font size is extreamly small and almost unreadable. I have changed display parameters, not the resolution, to no avail.
    David.

    Paragraph breaks are good for readability. ;-)
    Have you noticed any difference between your MacBook and others at the Apple store? Wondering whether this is a configurable setting at the system level, i.e., DPI.
    You can default Firefox to a larger zoom level to avoid having to zoom every page. You'll still be able to adjust the size for individual sites as needed. It sounds as though you are aware of these add-ons:
    * Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    * NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/
    There are some discussions about changing coming in Firefox 22 (I think) to address higher density displays like the Retina display. So perhaps there will be a built-in setting to address this in the future.

Maybe you are looking for

  • How do I add a computer to my account?

    I have an itunes account and want to add my iMac so that I can listen to the music on it as well. Help please.

  • How to get the source code of  "com.sap.caf.eu.gp.example.tiimeoff.wd.creat

    Hi Frendz.. I want to know how we can build a callable obj which have a two buttons those r Accept n Reject accordiing to the actions on these buttons flow should forward to next screen(approver ) r sent back to the sender(screen with reject). I gone

  • Security Warning on submission of PDF

    I have an XDP form that acts as a user interface for a database in a Workflow Server process to gather information, and then is submitted back to Workflow Server to continue the process. It is rendered as a PDF. If the database functionality of the P

  • ITunes 9.2 update made all my icons into iTunes ones

    Hello everybody ! First thank you for taking the time to read my post and maybe you could help me =) So I updated iTunes to 9.2 version this morning in order to upgrade my iPhone to ios4. After that my old iTunes icon became blank so I right-clicked

  • IPod Touch will not Restore

    I recently bought a new app on the iTunes store and, after being unable to install it, decided to restore my iPod Touch. I tried doing it with the options provided in iTunes only to find that my iPod can not be restored (error 1604). I've tried manua