How to Printer device in madulepool

Dear friends,
I have designed a screen with select options in madulepool and given a PRINT push button,
Ones I clicked on PRINT Push button then it need to ask the printer device ( Like our standard SAP functionality for print in tool bar).
the selected data should go to print for selected printer from device.
how to get it????
Thanks,
Sridhar

Hi,
Use the function module GET_PRINT_PARAMETERS.
Documentation for that is:
Functionality
The function module GET_PRINT_PARAMETERS is used to define, modify and display the print and archive parameters. Using this function module is the only correct way to modify a print or archive parameter record. The print parameters are closely related and contain a check total. This check total becomes invalid if any of the print parameters are changed and causes a runtime error when the print parameters are used later.
The required parameters are defined in the structure IN_PARAMETERS or IN_ARCHIVE_PARAMETERS. These input parameters must originate from another call of GET_PRINT_PARAMETERS or must be initial. The resulting print and archive parameters are returned with the function parameters OUT_PARAMETERS or OUT_ARCHIVE_PARAMETERS. The remaining IMPORT parameters, such as DESTINATION, LIST_NAME etc., are used to define the values to be passed to OUT_PARAMETERS or OUT_ARCHIVE_PARAMETERS. The output parameter VALID has the value BLANK in an interactive call if the user canceled the print screen.
You can use the function module with dialog (parameter NO_DIALOG = SPACE) or without dialog. If you use a dialog, a screen appears on which the user can change the print parameters.
Note: The "Print from page to page" option on the screen is not suitable for printing from ABAP programs, and is therefore not part of the structure PRI_PARAMS.
The module recognizes the following modes (values of parameter MODE):
'PARAM' Normal case. Define the print parameters for the
current program. The values that are not defined
are specified from the user master record or are
assigned default values. The print parameter screen
displays the PRINT key. This mode is used
if the MODE parameter is not specified.
'PARAMSEL' Like PARAMS, except that the print parameter screen
includes an option to activate the selection screen.
'BATCH' Define the print parameters for a background job.
In this mode, the name of the report to be started
is passed with the REPORT parameter.The REPORT
statement of the specified report is checked for
LINE-SIZE and LINE-COUNT definitions. These
definitions are passed as default specifications.
Furthermore, the SAVE key is offered
instead of the PRINT key in this mode.
'CURRENT' Define the current valid print parameters:
These parameters come from the following sources:
1.) From the user-specific print parameters
2.) From the LINECOUNT and LINESIZE additions in
the REPORT statement
3.) If the report is running in the background or
with Execute and Print, from the print parameters
passed from the report.
Otherwise it behaves as with PARAMSEL. In general, you should
set import parameter NO_DIALOG in this modus,
becausethis mode is only pointful, if it is run in the background.
'DEFVALS' Display for the default values.
Some of the default values are stored in the user defaults,
others can be maintained specifically for users and reports
using System -> List -> Print -> User-specific print
parameters.
The sytem returns the values for the current user and
report.
'DISPLAY' Displays the print parameters passed.
IMPORTANT:
In DEFVALS mode, the fields in out_parameters that are not contained in the user defaults are initial (type unknown). This means that the fields are not considered if out_parameters is passed again in a subsequent call of GET_PRINT_PARAMETERS.
In all other modes, all fields of out_parameters are filled with values (possibly default values). This means that the fields are considered if out_parameters is passed in a subsequent call of GET_PRINT_PARAMETERS.
You should normally query the value of VALID. It has the possible values TRUE and FALSE. If it is FALSE, the user has either canceled the print dialog, or the function module has been called with parameters that cannot be used to print properly (for example, printing in the background on a frontend printer).
Example
Normal definition of the print parameters
DATA: PARAMS LIKE PRI_PARAMS,
VALID TYPE C.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING DESTINATION = 'LT50'
IMPORTING OUT_PARAMETERS = PARAMS
VALID = VALID.
IF VALID <> SPACE.
NEW-PAGE PRINT ON PARAMETERS PARAMS.
ENDIF.
Definition of the parameters for printing and archiving
DATA: PRI_PARAMS LIKE PRI_PARAMS,
ARC_PARAMS LIKE ARC_PARAMS,
VALID TYPE C.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
IMPORTING OUT_PARAMETERS = PRI_PARAMS
OUT_ARCHIVE_PARAMETERS = ARC_PARAMS
VALID = VALID.
IF VALID <> SPACE.
NEW-PAGE PRINT ON PARAMETERS PRI_PARAMS
ARCHIVE PARAMETERS ARC_PARAMS.
ENDIF.
Definition of the parameters for a background job
DATA: PARAMS LIKE PRI_PARAMS,
VALID TYPE C.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING MODE = 'BATCH'
REPORT = 'MYREPORT'
IMPORTING OUT_PARAMETERS = PARAMS
VALID = VALID.
IF VALID <> SPACE.
CALL FUNCTION 'JOB_OPEN' .... EXPORTING JOBCOUNT ...
SUBMIT MYREPORT VIA JOB 'MY_JOB' NUMBER JOBCOUNT
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
SPOOL PARAMTERS PARAMS.
CALL FUNCTION 'JOB_CLOSE' ...
ENDIF.
Modifying the print parameters
CALL FUNCTION 'GET_PRINT_PARAMETERS' "Obtain print
EXPORTING NO_DIALOG = 'X' "parameters
IMPORTING OUT_PARAMETERS = PARAMS.
CALL FUNCTION 'GET_PRINT_PARAMETERS' "Modify print
EXPORTING NO_DIALOG = 'X' "parameters
IN_PARAMETERS = PARAMS
LIST_NAME = 'NEW-LIST'
IMPORTING OUT_PARAMETERS = PARAMS.
Parameters
ARCHIVE_ID
ARCHIVE_INFO
ARCHIVE_MODE
ARCHIVE_TEXT
AR_OBJECT
ARCHIVE_REPORT
AUTHORITY
COPIES
COVER_PAGE
DATA_SET
DEPARTMENT
DESTINATION
EXPIRATION
IMMEDIATELY
IN_ARCHIVE_PARAMETERS
IN_PARAMETERS
LAYOUT
LINE_COUNT
LINE_SIZE
LIST_NAME
LIST_TEXT
MODE
NEW_LIST_ID
PROTECT_LIST
NO_DIALOG
RECEIVER
RELEASE
REPORT
SAP_COVER_PAGE
HOST_COVER_PAGE
PRIORITY
SAP_OBJECT
TYPE
USER
USE_OLD_LAYOUT
UC_DISPLAY_MODE
DRAFT
ABAP_LIST
USE_ARCHIVENAME_DEF
DEFAULT_SPOOL_SIZE
PO_FAX_STORE
NO_FRAMES
OUT_ARCHIVE_PARAMETERS
OUT_PARAMETERS
VALID
Exceptions
ARCHIVE_INFO_NOT_FOUND
INVALID_PRINT_PARAMS
INVALID_ARCHIVE_PARAMS
Function Group
SPRI
regards,
Omkar.

Similar Messages

  • How to avoid the printer device option screen when calling smartform?

    Dear gurus
    i have create a smartform and i have called it from my program.
    i dont want to show the printer device options how can i achieve that ?
    below is the code for calling my smartform.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = 'ZSNAK_VF03_PRINTING'
       IMPORTING
        fm_name                  = smart_form_function_nm
       EXCEPTIONS
         no_form                  = 1
         no_function_module       = 2
         OTHERS                   = 3
      CALL FUNCTION smart_form_function_nm
        EXPORTING
          itab1              = itab1
          temp4              = temp4
          temp3              = temp3
          ref_doc_no         = ref_doc_no
          po_no              = po_no
          printno            = printno
        TABLES
          itab_tab           = itab_tab
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
    Regards
    Saad Nisar.

    Hi,
    check this link
    smartforms  -   print option
    Regards and Best wishes.

  • How can I print a stream of characters to a printer device ?

    If I want to write "Hello!" to a file, I can try the folliwing:
    BufferedWriter out = new BufferedWriter(new FileWriter("myFile.txt"));
    out.write("Hello!");
    out.flush();
    out.close();
    What should I change in the above lines in order to write "Hello!" to printer device ?
    Thanks
    Roberto

    Hi,
    The other way is to use The Java Communications 3.0 API
    http://java.sun.com/products/javacomm/
    --Marc (http://jnative.sf.net)                                                                                                                                                                                                                                                                                       

  • How to create Printer Device in SPAD

    Hi All,
    can any one please tell me step-by-step process to create new printer device and configure it in ECC5.0
    If you need any more info plz let me know
    That would be a great help
    Regards,
    Faisal

    Hi Faisal,
    Use t-code spad, click on output device, click on change (F8), click on create (Shift +1).
    In deviceattributes
    output device = put name of the printer
    short name = put any short name
    devicd type = select printer type like epsio,hp etc.
    spool server = select spool server name
    device class = select class othewise standard
    In Accessmethod
    host spool access method = S: Print using sap protocol
    host printer = printer name which is given by you
    destinatio host = ip address of the printer
    connection option
    connection time = 0
    port number = 515 may be differ as per printer
    response time = 0
    Output attributes
    host spool cover page = do not print host spooler cover page
    in below of process request sequencely
    press copy counter to host spool system
    print mode = default printer default setting
    printer tray = default tray
    These are the setting to configure new printer in sap.
    Please rewared point if your query is solve and mark in your blog to answered.
    Regards,
    Anil

  • How to use Device Profiles and Viewing Conditions Profile in Photoshop Elements 11?

    In trying to get to grips with the Colour management aspects of PSE11, I have encountered the following problems:
    Having selected "Display" a sequence of clicks (Change display settings -> Advanced settings -> Colour Management -> Colour Management tab -> Colour Management)
    gives a screen which includes the headings:
    Device Profile  and Viewing Conditions Profile.
    1. Device Profile. Besides sRGB and ARGB, the profile list includes the profiles for all of the Epson papers. (I have an Epson Stylus Photo PX810FW).
    I changed the Profile to an Epson Grayscale, this was accepted within the menu, but there are no changes from normal when I viewed the image on the Windows screen or within
    PSE11. ("normal" is sRGB or ARGB).
    I thought it worth a try to test that, if I wanted the display image to closely represent what I would get on a particular Epson paper, this may be a way to do it.(I suspected this approach because I have never
    seen it in the literature!).
    So what is the purpose of all of the paper Profiles appearing in the Display listing?
    2. The Viewing Conditions Profile has also several options. I have tried to find the criteria for choosing one rather than the other, but failed to find any information. Can anyone help? I seek general guidance
    rather than the details of the Profiles.
    As a seperate question:
    Selecting Image on the PSE11 menu across the top of the displayed image, and then Convert Colour Profile, I tried this process on an image, converting tiff to sRGB. When saved there was an extra asterisk in the saved title but in this case,
    the file was still labelled tiff and there was no change in the number of Mbs. If a conversion has taken place, how is one to know?  Does saving a tiff file as jpeg change its colour profile? When is it useful to use this feature?
    Many thanks to all responders! 

    Addressing your second question, you are confusing two different things.
    tiff is an image file format, as is jpeg, as is psd, as is png, as are dozens (if not hundreds, http://en.wikipedia.org/wiki/Image_file_formats) of other formats.
    A colour profile represents the colour characteristics of devices so that, for example, displays know how to display the colours, printers know how to print them.
    Image files MAY, but do not have to, contain colour profiles.
    For details:
    http://help.adobe.com/en_US/creativesuite/cs/using/WS52323996-D045-437d-BD45-04955E987DFB. html
    http://en.wikipedia.org/wiki/Color_management#Color_profiles
    http://en.wikipedia.org/wiki/ICC_profile
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • How to Print a material document .

    How to Print a material document . W#hat all configs/settings do i have to make .
    I did the following ....
    1. Maintain the Printer Name in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Printer Setting
    2. Ensure that in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Item Print Indicator, 1 stands for Matl Doc print out
    3. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Print Version, maintain Print Version 2
    4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for GI/Transfer Posting Documents
    5. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Maintain Output Types, for the Output types WE01, WE02 and WE03, ensure the foll:
    a. Default Values: Dispatch Time is 3 or 4 as per reqmt. and Tr medium is 1
    b. Print Parameter is 7
    6. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Printer Det->Pr Det by Pl/StoLoc, maintain the Output device for all your Plants
    7. Go to MN21, for Tr Type WE, Print Version 3, maintain Print Item as 1.
    Now the settings are ready for Printing Material doc
    8. While doing MIGO, ensure that in General Tab, you get "3 Collective Slip" beside the Print Indicator and you tick mark the field.
    Then i went to MB90 and did the following ...
    n MB90 output type is maintained as WE01
    Transmission medium as 1
    sort order as 01
    procesing mode as 1
    Material document year 2009
    Material document 50xxxxxxxx
    Excecute
    system says
    No messages for initial processing exist
    Message no. VN108
    Then i select the print icon
    enter the output device
    press enter
    System throws a message " Formatting set to 'X_65_80'"
    Sysytem comes to Spool request : Information screen
    When i display spool request
    The system says list contains no data .
    What is missing??
    Pls let me know ..
    Regards
    Anis
    Regards

    Hi Anis,
    For step - 4
    4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain
    Print Indicator for GI/Transfer Posting Documents
    As your posting a GR, you need to maintain the settings in :
    SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for Goods Receipt Documents
    for 101 movement as 1.
    Now post GR & go to MB03, select your document & check in messages tab if the message is generated.
    Check & revert.
    Regards,
    Vivek

  • How to print  the barcode in a smartform satisfying specific condition

    Hi
    I have a requirement where I need to print the barcode System Bar code = BC_93
    satisfying the following requirement:
    The Bar code is made up of the concatenation of “code1 ”, “dash character”
    and “ code2”. The two codes ( that is some field in a custom table) should be
    eight char long each (put leading zero if the length of the code is shorter).
    This barcode shall be printed always apart from:
    a) code1 material type is ZCPF
    b )Is a combi order, with no code2 stored in storage location “abc”
    please help with example . its very urgent , points will be rewarded.
    Thanks

    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Hope this link ll be useful..
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    go through these links and cose u r previous threads,
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    smartform - barcode
    http://www.erpgenie.com/abap/smartforms.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/print-barcode-with-smartform-634396
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/printing-barcode-733550
    Detailed information about SAP Barcodes
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    Re: how to print barcode using smartform and sapscript...?

  • Does anyone know how to print a text message from a bill?

    Does anyone know how to print text messages from a phone bill or view them?

    There might third party apps or iTunes or iCloud options to backup the text messages from the Apple phone itself. Then you can print the contents of the messages from the backup.
    There are similar applications for Android devices as well.

  • How to print page in front and back in scripts

    hi,
    I want to know to know the how to print a page in front and back.

    HI Ragavendra
    set this
    <b>Print mode is D</b>
    With Print mode, you can specify single- or double-sided printing for a page. You can choose from the following values:
    <b>D </b>The page is printed on the first side of a sheet in duplex mode. If another mode was previously active, then the printer is switched to duplex mode with the start of the pageand continues in this mode.
    and other Print mode options are
    <b>Print mode</b>
    With Print mode, you can specify single- or double-sided printing for a page. You can choose from the following values:
    <b>' '</b> Currently active printing mode continues unchanged.
    <b>S </b>The page is printed in simplex mode. That is, the printer should print on only one side of the paper. If another mode was previously active, then the printer is switched to simplex mode with the start of the page.
    <b>D</b> The page is printed on the first side of a sheet in duplex mode. If another mode was previously active, then the printer is switched to duplex mode with the start of the pageand continues in this mode.
    <b>T </b>The page is printed on the first side of a sheet in tumble duplex mode. That is, the printer prints on both sides. The page on the second side is always inverted, so that the footer of the second page is printed opposite the header of the first page.
    If another mode was previously active, then the printer is switched to tumble duplex mode with the start of the page and continues printing in this mode.
    Print modes are currently supported for printers that use the PCL-5 language. These are printers that are defined with the following SAP device types: HPLJ_II, HPLJIIID, HPLJ4, LX4039, SNI20XX8.
    See the spool system (transaction SPAD) to check on how your printers are defined.
    The print controls for these functions are SPMSI (begin simplex printing); SPMDU (begin duplex printing); SPMTU (begin tumble duplex printing); SPMFS (print on first side of sheet in duplex or tumble duplex mode); and SPMBS (print on second side of sheet in duplex or tumble duplex mode).
    Regards Rk

  • How to print to HP PSC1110 All-In-One Printer connected to WinXP PC?

    Hello everybody,
    I would like to us an HP PSC1110 "all-in-one" printer connected to a Windows PC in another room.
    The easy part: The printer shows up in the browsing window, under the correct Windows domain, when I try to add an "other Printer" device.
    The difficult part: When I try to select the printer model from the list of HP printer models provided, it does not show up, although HP PSC 1110 is included in the list of supported printers.
    I also tried the ESP HP-deskjet drivers, both old and new version. But those result in printer errors on the Windows PC.
    BTW: Printing over the net works well from other Windows PCs!
    Can somebody out there who had a similar problem before give me a hint how to set up printing to an HP "all-in-one" over the Windows-Network?
    Thank you,
    Detlef

    Thank you for the detailed information. Maybe I should have added a few screenshots too.
    The suggested procedure probably works for a HP Photosmart Printer. However, the PSC1110 is a "Printer, Scanner, Copier" all-in-one device. Unfortunately, this one does not show up in the menus, although it is supposed to be supported. I assume that only an USB backend is available, but no SMB backend.
    Is this correct? Is there a workaround?
    Thank you for your feedback
    DC

  • How to print true type font in smartform with ECC6

    hi,expert:
    I want to use true type font "Comic Sans MS.ttf".
    I upload this font file by SE73 named ZTT2I.
    In SE73.. select the Radio button "Font Families" And click on the "True type Font Installation" button. click the font attribute ITALIC。
    Our print device is LP01 and driver is CNSAPWIN
    when I create a new style in smartform using the font ZTT, in preview window the font still like other font.
    Our system is IDES ECC6, SAP_BASIS SAPKB70014
    Now when I create smartfrom in language EN adn logon with language EN,it can print correct style of that font.
    But if the smartform is base on language ZH or logon with language ZH, the output is not correct.
    why? How to solve it?
    how can I solve this problem?
    thaks a lot

    Hi,
    Is the problem that uploaded true type font ZTT is not used when language is ZH? Did you update the chinese version of the style associated with the smartform? There is a separate style for each language version. So you need to log on in Chinese language and update the style with new paragraph, character formats. Then you need to activate the style and smartform for ZH langauge also.
    Regards,
    Aidan

  • How to print Barcode in te SAP SCRIPTS?

    Hi All,
    Can anyone of you let me know how to print the Barcode in the SAP SCRIPT? This is the first time I'm working on the Barcode. I've to print many fields data into one barcode. Like PO number, Material Number, Plant, Company code..etc..
    Best Regards,
    Venkatesh Eddala.

    Hello Venkat,
    Creating Bar code:
    -->From trans code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    --> when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    -->Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    -->The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    SAP Barcodes
    -->Barcode solution consists of the following:
    barcode printer
    barcode reader
    mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    for your reference check the below links:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    for smart, please check the below link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    See the below program forbarcode in sapscript for your reference:
    DATA: BAR_CODE1(16) VALUE `ABC01230123A01'
    NEW-PAGE PRINT ON IMMEDIATELY `X'.
    FORMAT COLOR OFF INTENSIFIED OFF.
    If the barcode is the first element on the page, the following Write
    statement is needed (otherwise you get a date in the first print
    control.
    WRITE:/
    Turn on the barcode font, print the data, and switch back to the
    printer's default font. Be sure to use NO-GAP to avoid unwanted
    characters or CR/LF.
    PRINT-CONTROL FUNCTION `BCPFX'
    WRITE: BAR_CODE1 NO-GAP
    PRINT-CONTROL FUNCTION `BCSFX'
    Add a Write statement to prevent insertion of CR/LF into the barcode.
    WRITE:/
    Sample SAPSCRIPT
    Variable BAR_CODE1 contains the barcode data, including asterisks.
    The & is needed to avoid unwanted spaces or CR/LF characters
    /E LINE
    /: PRINT-CONTROL BCPFX
    = &BAR_CODE1&
    /: PRINT-CONTROL BCSFX
    Venkat - Please reward points for previous therad if you feel good answer ...
    Thanks
    Seshu

  • RE: How to print the special characters in Smartforms

    Hi,
    Can you please let me know how to print "číslo" in Smartform output as it is getting printed as "císlo". I mean to say that special character "č" is getting printed as "c".
    Even I checkd the same in Slovakian language and same thing is happening.
    Kindly suggest.....

    Hi,
    Which device type do you use to create the spool and print. What is the result with device type I2SWIn or SWINCF?
    Regards,
    Aidan

  • How to print from pantech element via Bluetooth?

    how to print from my pantech element tablet via bluetooth

    To the best of my knowledge, printing is only supported on iOS devices as of now.

  • Adding bar codes to printer device for smartforms pdf conversion?

    Hello friends,
    I would like to send a smartform as a pdf to an email recipient. The smartform shows some bar codes. The send process workes fine. But the bar codes doesn't appear on the pdf correctly. Therefore I would like to add bar codes to the printer device type in transaction SE73.
    Does somebody know the device type for smartforms pdf conversion? Or how can I add bar codes to smartforms pdf conversion process?
    greetings
    daniel

    Hello Denial,
    Try these links, this might solve ur problem
    http://www.tec-it.com//documentation/TBarCodeSAPLPD_EN.htm
    http://www.mecsw.com/info/appnote/app_024.html
    if you need any more information send me at [email protected]
    Thanks & Best Regards
    Ankur Jain

Maybe you are looking for

  • Missing bill documents from PSA to Cube

    Hi Gurus! I'm looking for some help, I'm uploading billing documents with 2LIS_13_VDITM extractor with full update for testing purposes, I tried first uploading the data to the PSA and after that to the cube, all the data in PSA is ok, but in my cube

  • Why my objects don't align

    When I select 2 groups objects (that have subgroups within each group) and align using the horizontal align center, the objects move the opposite direction instead of centering together. Anyone know what would cause this problem? I checked each layer

  • How to add image in the background of textarea?

    hello frnds i m confused regarding the sticking any png image as a background in the textArea which has a black background by default. If any body has any solution then plz do help me out.. thanx kuldeep

  • Error code 4450

    My client is receiving error code 4450 while trying to burn CDs. He has the latest Itunes and is using CD-R media. He said he tried CD-RW as well. After some time of reading on the forums I found that this is a hardware specific problem affecting LG

  • Execution in Background

    hi...i want to use broadcasting for execute a query in background i know the configuraton but i want to know how the users can access the information of the executed query....how the information is stored?...users can navigate in the information or i