How to send command to serial/parallell port for Prolific (2305) USB to LPT port attached to receipt printer












0















I have a USB receipt printer that I know work and have tested to be working!




  1. I know that the port is USB003 by doing the following:


Accidentally install generic EPSON driver and did a test print that caused garbage printed to the (wrongly installed driver) connected to port USB003.




  1. I know that the printer connected to Windows 10 is working. And shown in Device Manager as "USB Printing Support" in "Universal Serial Bus controllers" section with the following Haredware Id USBVID_067B&PID_2305&REV_0202. By doing the following:


Run Linux Mint (a flavor of Ubuntu) in Virtual Box in the same machine. Allow the virtual machine to use the "USB Printing Support" device which is then detected as /dev/usb/lp0. To test I do bellow command.



"sudo echo "test" > /dev/usb/lp0"



Which print test on the receipt printer!



Question:




  1. However when properly confgured in my POS (Unicenta OPos) software. The printer does not print receipt!


  2. When I did "echo "testing" > USB003" , it does not print. Perhaps there is other test command for windows? Need to run it as administrator or maybe wrong port name?



How to troubleshoot this on windows? Is there something wrong with my echo command?



Take note that I already remove printer configured to use USB003 since the POS and the CMD command is directly using port USB003 rather than true printer driver.



TIA
Haris










share|improve this question



























    0















    I have a USB receipt printer that I know work and have tested to be working!




    1. I know that the port is USB003 by doing the following:


    Accidentally install generic EPSON driver and did a test print that caused garbage printed to the (wrongly installed driver) connected to port USB003.




    1. I know that the printer connected to Windows 10 is working. And shown in Device Manager as "USB Printing Support" in "Universal Serial Bus controllers" section with the following Haredware Id USBVID_067B&PID_2305&REV_0202. By doing the following:


    Run Linux Mint (a flavor of Ubuntu) in Virtual Box in the same machine. Allow the virtual machine to use the "USB Printing Support" device which is then detected as /dev/usb/lp0. To test I do bellow command.



    "sudo echo "test" > /dev/usb/lp0"



    Which print test on the receipt printer!



    Question:




    1. However when properly confgured in my POS (Unicenta OPos) software. The printer does not print receipt!


    2. When I did "echo "testing" > USB003" , it does not print. Perhaps there is other test command for windows? Need to run it as administrator or maybe wrong port name?



    How to troubleshoot this on windows? Is there something wrong with my echo command?



    Take note that I already remove printer configured to use USB003 since the POS and the CMD command is directly using port USB003 rather than true printer driver.



    TIA
    Haris










    share|improve this question

























      0












      0








      0








      I have a USB receipt printer that I know work and have tested to be working!




      1. I know that the port is USB003 by doing the following:


      Accidentally install generic EPSON driver and did a test print that caused garbage printed to the (wrongly installed driver) connected to port USB003.




      1. I know that the printer connected to Windows 10 is working. And shown in Device Manager as "USB Printing Support" in "Universal Serial Bus controllers" section with the following Haredware Id USBVID_067B&PID_2305&REV_0202. By doing the following:


      Run Linux Mint (a flavor of Ubuntu) in Virtual Box in the same machine. Allow the virtual machine to use the "USB Printing Support" device which is then detected as /dev/usb/lp0. To test I do bellow command.



      "sudo echo "test" > /dev/usb/lp0"



      Which print test on the receipt printer!



      Question:




      1. However when properly confgured in my POS (Unicenta OPos) software. The printer does not print receipt!


      2. When I did "echo "testing" > USB003" , it does not print. Perhaps there is other test command for windows? Need to run it as administrator or maybe wrong port name?



      How to troubleshoot this on windows? Is there something wrong with my echo command?



      Take note that I already remove printer configured to use USB003 since the POS and the CMD command is directly using port USB003 rather than true printer driver.



      TIA
      Haris










      share|improve this question














      I have a USB receipt printer that I know work and have tested to be working!




      1. I know that the port is USB003 by doing the following:


      Accidentally install generic EPSON driver and did a test print that caused garbage printed to the (wrongly installed driver) connected to port USB003.




      1. I know that the printer connected to Windows 10 is working. And shown in Device Manager as "USB Printing Support" in "Universal Serial Bus controllers" section with the following Haredware Id USBVID_067B&PID_2305&REV_0202. By doing the following:


      Run Linux Mint (a flavor of Ubuntu) in Virtual Box in the same machine. Allow the virtual machine to use the "USB Printing Support" device which is then detected as /dev/usb/lp0. To test I do bellow command.



      "sudo echo "test" > /dev/usb/lp0"



      Which print test on the receipt printer!



      Question:




      1. However when properly confgured in my POS (Unicenta OPos) software. The printer does not print receipt!


      2. When I did "echo "testing" > USB003" , it does not print. Perhaps there is other test command for windows? Need to run it as administrator or maybe wrong port name?



      How to troubleshoot this on windows? Is there something wrong with my echo command?



      Take note that I already remove printer configured to use USB003 since the POS and the CMD command is directly using port USB003 rather than true printer driver.



      TIA
      Haris







      windows-10 printer






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 4 at 7:07









      Haris HashimHaris Hashim

      313




      313






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1401748%2fhow-to-send-command-to-serial-parallell-port-for-prolific-2305-usb-to-lpt-port%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1401748%2fhow-to-send-command-to-serial-parallell-port-for-prolific-2305-usb-to-lpt-port%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

          is 'sed' thread safe

          How to make a Squid Proxy server?