Force sheet fed printer to continuous roll printing - c#

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.

Related

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.

Setting predefined size of a page of crystal report for dot matrix printers

I make a application for a Chemist shop , when I print the bill than by default A4 size paper is set for printing that seems to wastage of paper , I want to use dot matrix printer and want to set the paper size 10*6 inch in crystal reports.
I use C# .Net and crystal reports.
Please give some suggestions..
Please set up paper size at design time when you design crystal report

TVS RP-45 roll paper printing

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.

How do I write a print job image to disk?

When I print any document with my computer I want the printed page to be saved on my computer as for example a bmp or jpg file and printed to a piece of paper at the same time. I don't know if it is possible to extract this information from a printer or if it is possible to make a virtual printer and use it as "pass through" and get the image from the virtual printer and send it to the real printer afterwards.
OS: Windows XP.
The Win2PDF virtual printer can create a PDF and print it to a paper printer at the same time. To do this, set your real printer as the Windows default printer, print to the Win2PDF printer, and select the "print file" option in the file save window. After the PDF file is created, it is automatically printed to your real printer.

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