Results 1 to 4 of 4
  1. #1
    bilalo is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2019
    Posts
    107

    Cash drawer connected to thermal printer

    I need to open the cash drawer by pressing a button
    My current solution is to send a blank report to the printer which in turn opens the cash drawer.
    The problem is, even that the report is blank and width=0 and height=0, the printer is still printing a very small blank page while opening the drawer


    What changes should I make to the report so that it will print nothing while opening the drawer?

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    This is the riddle,"If a tree falls in the forest..."
    if no report is sent to the printer,then it's not a report.

  3. #3
    bilalo is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2019
    Posts
    107
    Quote Originally Posted by ranman256 View Post
    This is the riddle,"If a tree falls in the forest..."
    if no report is sent to the printer,then it's not a report.
    So it is impossible to send a report to the printer and then ask the printer not to print it.
    I read that the cash drawer opens by sending shell commands to the printer, do you have any idea about this?

  4. #4
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,803
    60 seconds with Google
    https://www.experts-exchange.com/art...-With-VBA.html

    Maybe the code will work for you.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Virtual thermal receipt printer
    By bilalo in forum Reports
    Replies: 1
    Last Post: 02-24-2020, 01:43 PM
  2. POS Applcation printing on thermal printer
    By Business in forum Programming
    Replies: 3
    Last Post: 05-27-2016, 11:22 AM
  3. Thermal printer
    By Business in forum Access
    Replies: 2
    Last Post: 05-26-2016, 01:54 PM
  4. Thermal printer Slow printing
    By Nasir Ali in forum Programming
    Replies: 2
    Last Post: 05-28-2014, 08:13 AM
  5. Replies: 0
    Last Post: 01-09-2013, 10:52 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums