<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Printing Barcodes using ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-barcodes-using-abap/m-p/5380211#M1237343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NO, My Requirement is Printing using ABAP Program only not using Smartforms or Scripts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2009 12:04:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-26T12:04:30Z</dc:date>
    <item>
      <title>Printing Barcodes using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-barcodes-using-abap/m-p/5380207#M1237339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abapers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I Want to Print Barcode using ABAP Write statement. Is it Possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Please suggest me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 10:44:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-barcodes-using-abap/m-p/5380207#M1237339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T10:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Barcodes using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-barcodes-using-abap/m-p/5380208#M1237340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well.....never say never, but I think you need a sapscript/smartform/adobe to print barcodes in SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 11:44:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-barcodes-using-abap/m-p/5380208#M1237340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T11:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Barcodes using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-barcodes-using-abap/m-p/5380209#M1237341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Printing barcodes from a SAP script is quite easy, but how can we print it with a WRITE statement? The following ABAP code is a tested solution, which prints barcodes (type ARTNR -code 128) on Kyocera (F800-FSxxxx series) laserjet printers. For other types of printers find the printer control and driver info from the user manual and define it your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example Code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: begin of precom9, "command for printer language PRESCRIBE
con1(59) value
'!R!SCF;SCCS;SCU;SCP;FONT62;UNITD;MRP0,-36;BARC21,N,''123456''',
con3(55) value
',40,40,2,7,7,7,4,9,9,9;MRP0,36;RPP;RPU;RPCS;RPF;EXIT,E;',
end of precom9.
...................

*replace 123456 of precom9+52(06) with the actual material number..
.....................
new-page print on. "barcode printer
Write: 'material number', precom9. "barcode for matnr
new-page print off.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 11:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-barcodes-using-abap/m-p/5380209#M1237341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T11:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Barcodes using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-barcodes-using-abap/m-p/5380210#M1237342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Printing barcode using smartform is vey easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if want help regarding that pls ask.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 11:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-barcodes-using-abap/m-p/5380210#M1237342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T11:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Barcodes using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-barcodes-using-abap/m-p/5380211#M1237343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NO, My Requirement is Printing using ABAP Program only not using Smartforms or Scripts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 12:04:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-barcodes-using-abap/m-p/5380211#M1237343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T12:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Printing Barcodes using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/printing-barcodes-using-abap/m-p/5380212#M1237344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Printing Barcodes with ABAP or SAPSCRIPT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope u will get some idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are now ready to print barcodes using an ABAP report program or a SAPSCRIPT form. In these examples we are using Code 39 barcodes which require very little formatting (all we have to do is add asterisks before and after the data). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample ABAP Program: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BAR_CODE1(16) VALUE `&lt;STRONG&gt;ABC01230123A01&lt;/STRONG&gt;' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEW-PAGE PRINT ON IMMEDIATELY `X'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORMAT COLOR OFF INTENSIFIED OFF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If the barcode is the first element on the page, the following Write &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;statement is needed (otherwise you get a date in the first print &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;control. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Turn on the barcode font, print the data, and switch back to the &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;printer's default font. Be sure to use NO-GAP to avoid unwanted &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;characters or CR/LF. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRINT-CONTROL FUNCTION `BCPFX' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: BAR_CODE1 NO-GAP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRINT-CONTROL FUNCTION `BCSFX' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Add a Write statement to prevent insertion of CR/LF into the barcode. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 12:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/printing-barcodes-using-abap/m-p/5380212#M1237344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T12:17:24Z</dc:date>
    </item>
  </channel>
</rss>

