Windows 10: Sending a paper cut command to a ESC/POS Printer after printing a .txt File

Discus and support Sending a paper cut command to a ESC/POS Printer after printing a .txt File in Windows 10 Network and Sharing to solve the problem; I made a system using C# and WooCommerce Rest API for a TakeAway Website to print a Ticket after a User orders products on a Website. I am using the... Discussion in 'Windows 10 Network and Sharing' started by IvanBergamo, Jul 27, 2020.

  1. Sending a paper cut command to a ESC/POS Printer after printing a .txt File


    I made a system using C# and WooCommerce Rest API for a TakeAway Website to print a Ticket after a User orders products on a Website.

    I am using the EPSON TMT20 II Printer to print the Data. I am using the Printer as a Network Printer because I have to and printing Tickets is no Problem, I only have to cut the Paper after successfully printing a Ticket which is the Problem I have.

    I am sending the Data via CMD Commands


    example: copy /b "D:...\order_n.txt" "\\Servername\Printername" -> prints the Data I saved in a .txt File

    is it possible to append the paper cut command to the .txt File that I am printing or is there another, more efficient way to cut the paper via C#?

    According to the Documentation GS V 48 and GS V 0 are the commands that can be used to cut the paper


    I tried using the RawPrinterHelper Class and sending the Cut Command Data as Bytes but it returns me Windows Error 1801 or rather I can't access the Printer in that way. I also tried to append the command the File I sent to the printer.

    Any help would be appreciated! if I haven't been detailed enough please let me know! Thanks in Advance

    :)
     
    IvanBergamo, Jul 27, 2020
    #1

  2. Out of Paper error but printer has paper

    Yes to both. The thing is, when this happens, the printer is out of paper. So we replace the paper and all of the Windows 7 machines go "oh, ok, the printer has paper again" and start printing.

    Windows 10 though doesn't. It might start printing again in 10-15 min, or it might never until either the PC or printer is restarted. It seems restarting the printer sends out a signal it is good and Win10 acknowledges, but Win10 won't acknowledge the "i
    have paper" signal.

    I would like win10 to quit trying to be so smart and just print it. It is a network printer so the server is holding the spooled data anyway if the printer is down. Why is Windows 10 stopping it from printing my jobs?
     
    EdHansWork, Jul 27, 2020
    #2
  3. not printing on paper

    Hi Jean, my name is Neil, I'm an independent expert adviser for Microsoft and a Windows 10 user like you.

    I'm sorry you're having trouble printing.

    It really sounds like your printer has a jam or something blocking the flow of paper through the printer.

    If you go to print a document and you hear it printing, but no paper is moving, then it's likely printing directly onto the paper roller inside your printer. This can get quite dirty with printer ink.

    I suggest you have a good look inside your paper tray and inside your printer near the roller feed and make sure nothing is stuck there (like a paperclip or anything similar) that is preventing the paper from going in. Also, remove all the paper and realign
    it into a neat stack before putting it back into the printer and also make sure there's not too much paper being put in. Try around 10 sheets first and no more and see if it prints then.

    You could try turning the printer upside down and see if anything falls out of the printer that shouldn't be there, but please be careful doing this. Only do it if you feel comfortable doing it.

    If none of these suggestions work, let me know and we'll try something else.
     
    Smug Puppy, Jul 27, 2020
    #3
  4. Sending a paper cut command to a ESC/POS Printer after printing a .txt File

    Error - Printing on Network printer

    We have 4 printers on our Windows print server. The server was migrated from win2k3 to 2k8 on friday. 3/4 printers are working great, the other is having issues. When trying to print a test page to it, it gets a job status of Error - Printing.

    When sending a small word document to it, it sends it to the printer, the queue is empty but nothing prints. If I goto the printer itself, it doesnt show any errors and I can print things such as information sheets and diagnostic files just fine.

    All four printers are the same model, all 4 have a static IP. I can ping the printer successfully. I've tried printing from both an XP machine and the print server itself. I tried removing and adding the printer on the print server. And lastly, uunplugged the printer for 30 seconds, plugged it back in.

    Any ideas?
     
    Hybrid_theory, Jul 27, 2020
    #4
Thema:

Sending a paper cut command to a ESC/POS Printer after printing a .txt File

Loading...
  1. Sending a paper cut command to a ESC/POS Printer after printing a .txt File - Similar Threads - Sending paper cut

  2. printer will not print shows that IT IS out of paper but it has paper. printer is HP color...

    in Windows 10 Gaming
    printer will not print shows that IT IS out of paper but it has paper. printer is HP color...: I am trying to print two sided which the printer has been ding just fine for five or six years. It seems to be trying to get me to flip the paper manually but it has always been doing that automatically in the past....
  3. printer will not print shows that IT IS out of paper but it has paper. printer is HP color...

    in Windows 10 Software and Apps
    printer will not print shows that IT IS out of paper but it has paper. printer is HP color...: I am trying to print two sided which the printer has been ding just fine for five or six years. It seems to be trying to get me to flip the paper manually but it has always been doing that automatically in the past....
  4. Large paper size printing in PDF printer

    in Windows 10 Gaming
    Large paper size printing in PDF printer: Microsoft print to PDF it is only possible to print in ISO-A4 and ISO-A3There are hundreds of request s to add paper sizes up to ISO-A0 from 2017 onWHy still not possible to add paper sizes...
  5. Printer only prints on half of the paper

    in Windows 10 Gaming
    Printer only prints on half of the paper: When I print, the print preview appears that the document will use the entire length and width of the page. Although, the printer will the entire document, the printout only appears on half of the available space of the page, so the print is really small and it is landscape...
  6. Printer only prints on half of the paper

    in Windows 10 Software and Apps
    Printer only prints on half of the paper: When I print, the print preview appears that the document will use the entire length and width of the page. Although, the printer will the entire document, the printout only appears on half of the available space of the page, so the print is really small and it is landscape...
  7. Printer not printing if plain paper

    in Windows 10 Drivers and Hardware
    Printer not printing if plain paper: I'm having an issue with my printer and i don't know if it is a Windows 10(20H2 19042.928). If i try to print with type paper configured to plain the paper comes blank, but if i change to glossy it prints fine, but printing this way is painfully slower and use more ink i...
  8. Printing a paper to my Brother printer using windows prints portrait on a landscape paper

    in Windows 10 Drivers and Hardware
    Printing a paper to my Brother printer using windows prints portrait on a landscape paper: Windows cant seem to get printing right on my laptop Linux works perfectly fine BTW so not hardware and not printer Whenever I try to print a document in portrait orientation using windows, it prints out sideways as if the printer is printing to a portrait fed system,...
  9. Printer only prints on half of the paper

    in Windows 10 Drivers and Hardware
    Printer only prints on half of the paper: When I print, the print preview appears that the document will use the entire length and width of the page. Although, the printer will the entire document, the printout only appears on half of the available space of the page, so the print is really small and it is landscape...
  10. Printer not printing both sides of paper

    in Windows 10 Drivers and Hardware
    Printer not printing both sides of paper: Hi I have a new ASUS UX305CA laptop preloaded with W10. It recognised my old Epson Stylus SX415 printer but will not act on selection to print both sides of paper. I seem to have the most up to date driver and I've tried removing and re-installing to no effect. Worked OK...