<?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: usb printing device in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-printing-device/m-p/538783#M33065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yusup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, You have to define how many interfaces your device uses, what kind of class the device is, etc. In the example that i mentioned, this is defined here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Printer descriptor.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2743i706200AC54C48393/image-size/large?v=v2&amp;amp;px=999" role="button" title="Printer descriptor.jpg" alt="Printer descriptor.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend to check this example and if you still have any doubt do not hesitate on contact me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2016 17:32:12 GMT</pubDate>
    <dc:creator>isaacavila</dc:creator>
    <dc:date>2016-08-29T17:32:12Z</dc:date>
    <item>
      <title>usb printing device</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-printing-device/m-p/538780#M33062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We are doing thermal printer for our OEM customer. We have printer driver of pos58 for other printer. We are using MKL-26 for our project. &lt;/P&gt;&lt;P&gt;In device manager, Our printer is coming into COM PORT List (Virtual Com Port). But other printer is coming into USB List(USB Printing Support).&lt;/P&gt;&lt;P&gt;Herewith I have attached text file for properties of our printer and other printer. Kindly let me know that what changes I have to do in my program to convert our printer device from Virtual Com Port to USB Printing Support.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you require any further information, please let me know.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Yusup Khan&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337655"&gt;freescale.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337655"&gt;stm.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 08:03:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-printing-device/m-p/538780#M33062</guid>
      <dc:creator>yusupkhan</dc:creator>
      <dc:date>2016-08-18T08:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: usb printing device</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-printing-device/m-p/538781#M33063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yusup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your USB project, you can find an usb_descriptor.c (our usb_device_descriptor.c) file which contains the descriptor array that defines device's capabilities and other parameters. This descriptor contains information about what class the device is, how many interfaces the device uses, which endpoints are used in every interface, etc. You need to modify some parameters from this descriptor in order&amp;nbsp; to be recognized by the host as a printer device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What example are you using? or can you share your usb_descriptor file to point the exact modifications that are needed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if you are using KSDK 2.0, there is a basic USB printer device example (for K21) that is located at: &amp;lt;SDK_2.0_MK12DN512xxx5_PATH&amp;gt;\boards\twrk21d50m\usb_examples\usb_device_printer_virtual_plain_text that you can use as reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 17:17:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-printing-device/m-p/538781#M33063</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2016-08-24T17:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: usb printing device</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-printing-device/m-p/538782#M33064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Dear Isaac,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Good day to you&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Sorry for the delay. Thanks and nice explanation. &amp;nbsp;Herewith I have shared&amp;nbsp;&lt;SPAN style="background: white;"&gt;&lt;SPAN&gt;usb_device_descriptor.c. Kindly guide me what modification is required to this file?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt; background: white;"&gt;I am using CodeWarrior&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Version: 10.5.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Meanwhile I will install and check printer example in KSDK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt; background: white;"&gt;Looking forward for your continuous support&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt; background: white;"&gt;Thanks &amp;amp; Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="background: white; font-size: 11.0pt;"&gt;Yusup Khan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Aug 2016 06:40:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-printing-device/m-p/538782#M33064</guid>
      <dc:creator>yusupkhan</dc:creator>
      <dc:date>2016-08-27T06:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: usb printing device</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-printing-device/m-p/538783#M33065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yusup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, You have to define how many interfaces your device uses, what kind of class the device is, etc. In the example that i mentioned, this is defined here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Printer descriptor.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2743i706200AC54C48393/image-size/large?v=v2&amp;amp;px=999" role="button" title="Printer descriptor.jpg" alt="Printer descriptor.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend to check this example and if you still have any doubt do not hesitate on contact me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 17:32:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-printing-device/m-p/538783#M33065</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2016-08-29T17:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: usb printing device</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-printing-device/m-p/538784#M33066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Dear Isaac,&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Good day to you&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;I thank you. Printer board (MKL26) is working with the modified code that you have mentioned.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Windows PC is displaying “USB Printing device has connected” when I am connecting printer device.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;I would like to thank you again and looking forward for your continuous support in case of any major obstacles in our path.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;With Regards &lt;BR /&gt; Yusup Khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 05:57:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/usb-printing-device/m-p/538784#M33066</guid>
      <dc:creator>yusupkhan</dc:creator>
      <dc:date>2016-09-02T05:57:16Z</dc:date>
    </item>
  </channel>
</rss>

