0

I am trying to print continuously on a 6x12 inch continous paper, without any regard for perforation that comes at every 12inch of the paper.

This is my problem:

The document that i have is a bill receipt. so there could be either one item or ten items based on the order. So if i print a receipt for just one single item (that covers just 3-4 inches) i am wasting another 8 inches of the paper, because after printing the document printer automatically pushes the entire 12 inches (1 paper) out and moves on to next one.

i tried adjusting the paper size by 6x4 inch in printer settings, but it is not ideal for me. since i have to print the header and footer again for the next section of the page.

is there anyway to print continuously without wasting too much paper?

2
  • It's the application that controls this (most apps work with "pages"). If your app prints via the Windows driver then the answer will be "Not possible". If it prints directly to the printer, then it is possible - check the settings in the app. What app are you using?
    – hdhondt
    Sep 1 '19 at 0:03
  • I am currently using Microsoft Excel to print my documents, this is just temporary purpose. I am open for any suggestions...
    – Navis gero
    Sep 1 '19 at 6:01
0

The problem is that most applications print "pages". In your case, Excel will always print a full page, even if it is empty. The same goes for the Windows driver.

The simplest way to achieve what you want is to send the data to the printer as plain text, using the DOS Print or Copy commands. Or, you could use the Generic/Text Only driver. If that works, you can then enhance the output by including various printer commands in order to format the text the way you like it. Excel can save your data in CSV format, which is pain text with cells separated by commas.

There is an additional problem here, because the above assumes your printer understands plain text. Most low-cost printers do not: they rely on the Windows graphics engine to convert a page into dots on the paper. They are called host-based printers, using names like GDI, LIDL, PCL3, etc, and all they understand is their own format of dots on the paper.

Printers for which this can be made to work are those that support either PCL5 or Esc/P languages, as they do understand plain text, and let you insert formatting commands into the print stream. Of course, this will involve some programming.

Another issue: your paper is perforated. What will you do if a receipt crosses the perforation? Your program may need to take care of that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.