TVS RP-45 roll paper printing - c#

I have a receipt made using Crystal Reports where the page is 4 inch wide and the height should be dynamic. I set the height to 2 inches, because I don't know how to make it dynamic. The printer is a TVS RP-45 Justbill printer.
The printer is ejecting paper after printing. How do I stop this from happening?
Any solution besides Crystal Reports would be helpful. The program is written in C# .NET 2.0 Winforms and connects to a SQL Server 2005 database.
Report Header Section
Bill no : 101
______________________________________________
Detail Section
Item Code Qty Amount
[ItemCode] [Qty] [Amount]
______________________________________________
Report Footer Section
Grand Total [GrandTotal]
______________________________________________
The Report Footer Section is using around 2 inches so I set the Height of the paper to 2 inches. This did not solve the problem. The paper height is now 2 times what it should be if there is more than 1 item.
The printer uses roll paper and it should feed more paper proportionally with the number of items sold.
Please help me solve this without wasting paper.

I'm going to suggest something a little different.
Create a new document in Notepad on Windows or a plain text editor on other OS's.
This document (.txt) should just contain one line: TEST_LINE_1
Send that document to your printer and see if the same after print feed continues.
If it continues to feed after the single line of print:
Check settings as follows ( I know you said you've already checked ):
From the manual:
[ http://www.tvs-e.in/pos/pdf/RP-45%20User%20Manual.pdf ]
To set the factory settings of the printer, first press FONT, Line feed and
PRINT buttons together and then switch ON the printer using ON/OFF
switch.
Usually you have to hold those buttons while switching it off and back on - hold until the printer prints its config off.
If you can post back with what the print out says word for word that would be good.
If it doesn't feed after the single line:
Your design is most likely too wide for the format/internal limits of the paper width and it's wrapping around onto a new line for every line you have.
Are you able to post a photo of what is being printed with how much paper it's on-feeding by?
Try printer on a different computer or laptop if possible with single line text file (as above) or with your custom report job - is it the same output?
If the printer is installed as a USB device: Remove all traces of the driver files and completely uninstall it as a printer - reinstall fresh copies and see what happens - the same?
I appreciate some of these things always 'seem obvious' when you're up against a problem but it does help to start over with the most basic of things..

Just remove headers and footers, It will work fine.

Related

Why is the printable item disappear from Printing queue after closing the connection and nothing happens?

I'm using SMB shared printers to print labels ( Zebra printer ) written in ZPL from IIS backend.
The printable item is in the Queue while i'm closing the connection but the printer do not print the data.
I've checked the System32\Spool\Printers and the SDL has data but SPL is empty.
There is no errors, the JobStream.Close(); the connection and the item is disappearing.
I've googled a lot and checked the similar questions but I did not find the answer.
Thank you!
I realise that this is quite an old post, but thought I would add this as I have been having similar problems printing to Zebra printers from C#.
It turned out that a way that I could work around this was to set the "Keep printed documents" checkbox in the advanced tab of the printer settings.
Not only was the printer then retaining the document, but it was also actually printing out the document, whereas previously the document was disappearing from the queue without printing.

Custom paper size in crystalrepots viewer

I have an application where I need the user to be able to print to a network printer through a print server.
The paper being used is 8 * 8 form feed paper. When I print to the printer from my development machine it works fine and I can print multiple documents with perfect alignment.
If I print from a test machine which has the paper size defined in the print server options with the same name as the one in the report the application prints to the alignment of letter size of 8 by 11.
Is there anything I am missing?
-- I would comment instead of answer, but I don't have enough reputation --
Based on the description of the problem and your recent comment, it sounds like this may not be an issue with Crystal, as much as a problem with the client/user level printer configuration.
Are you able to print anything using the 8 * 8 using the test machine? It is just the Crystal Report that isn't aligned properly?
One way to test whether crystal is operating correctly is to export to pdf from the test machine, or print to pdf - this will verify whether crystal reports is properly retaining the page configuration.

Force sheet fed printer to continuous roll printing

I have an HP 7760 photo printer. On the printer settings panel there's no roll printing supported. I would like to print via my C# application the same A4 sheet for several times to A4 wide continuous roll paper, but after the first page printed a paper jam occurs. Maybe because the printer expects A4 size paper.
Is there any solution in C# for this problem or it depends on the printer driver? Thanks in advance for any help.

Page Break in C# Crystal Reports

In my C# .Net windows application am using crystal reports to print employee information.Am using Roll Paper (A4) for printing purpose.Here when i print the report,its working fine.My issue is that if the table contains only one row of record,it takes the whole page to print there is no page break. ,i mean the whole A4 paper to print the report.But i need only a small portion of the same.How to put page break and remove the white blank space after the report. .
I understand your problem.it is not a one sided problem even if the records are more than A4 page capacity then your print will not be printed in single piece.
Crystal Report does not support dynamic paper size and roll printing does not have fixed paper height. so, using crystal report you could not place page break at the end of your report data.
You have to create your code to print your report if the report structure is not complicated. I don't know much about microsoft reporting tool. i think microsoft reporting tool may help you.

Best font for POS printer in WPF C# App

I have developed an application in WPF and C# as client requirement. Now I am facing problem in bill printing. Printer is WEP DR-400 series and I am using "FlowDocument" to preview bill and printing. Now my client wants these issue to solve;
Printing is slow than previous Foxpro based app
Numbers printed on bill creates confusion like 8,9 and 6 appears quite same.
I don't know how to solve these problems, for 2. i have "MS Gothic" with 12 then "Segoe" with 13 font size in FlowDocument after client request. My font selection is constrained by page width (i need to print 5 cols with Item Name which should be displayed in one line).
Any help would be appreciated!!!
POS printers are almost exclusively used in their native dot-matrix mode. You send the strings to print directly to the printer, bypassing the printer driver. The font you'll get is the one that's baked into the printer's firmware. Typically mono-spaced and optimized to work well with the rather restricted output capabilities of a typical POS printer. The code you need is in this KB article.
When you use the printer driver, the printer is switched into graphics mode by the driver. That makes them very slow.
With regard fonts, Georgia is good in distinguishing digits at small point sizes. (Although at 13 points, you shouldn't get a problem with any font.)
As a fully interpreted language, FoxPro is not terribly quick although runtime has a low memory footprint. Could your client benefit from more memory?

Categories