Can not print using report viewer - c#

I have a problem with my printers. I write an c# .net application. I used report viewer (rdlc file) to view and print reports. It have worked fine, but in these days my printers can not print directly, I must press ok button on printer. This situation does not happen with all printer, just 2 printer (hp 2050 and hp 1006).
Thank for your supporting.

Related

Crystal Report 3of9 barcode not working on direct print

i'm developing a web application on VS2017 with Crystal Report, and i have implemented a report with barcode.
The font i have used is 3 of 9 Barcode, and i print the report directly with PrintToPrinter() method.
It works fine, but when i deploy the application on the server, and print the report, there is no barcode, but a string like *123466*.
I have also installed the font on the server "3 of 9 Barcode.TTF", but it displays me something like this DA>>=A<D.
And if i save the report on the disk, instead of printing it directly, the barcode is correct.
the same thing happens if i use AbriBarcode39, AbriBarcode39a etc...
Thanks in advance for help
I 'm work with cristal on a desktop application. windows forms.
Try to instal this font: https://1drv.ms/u/s!Aix8ovYm4JTXjdUje6CT5V6oO85Pcg
on the server.
I hope thats work for you!
More code bar fonts: https://1drv.ms/u/s!Aix8ovYm4JTXjdUx5ewa4S3K_l2ArQ
Im my applications I use to install all of them.

Set Report Size on Crystal report

i am using windows 10.
i am trying to create a report for continuous form (Half Of A4), i set manually from device and printer, so i set printer server like this.
then i change page setup on CR to vpc (name of paper where i create on printer server) like this..
then i tried it with different way :
i preview the report, than print.
with out run my application. the print result was great. just like i want.
i run my application, preview my report with Crystal REport viewer tools, but my report become landscape. not protrait.
see...
what must i do?
yes, after a week,finally i found the answer, we need to set default paper to our customer paper.
just that.

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.

Print rdlc report without showing PrintDialog() in C#?

I am developing a POS application for my client. I want to print the invoice. The computer has connected with 3 different printers. I have to print the invoice without showing the PrintDialog() to a specific printer that is not default printer. How to complete this task?
Thanks a lot.

Detail section of crystal report printed twice on Dot Matrix printer

I am trying to print on Dot matrix printer, report is printed fine but detail section of crystal report is printed twice.
but same crystal report printed fine on laser printer not twice.
Note : i attached image bellow of report that are printed on
Dot matrix printer
1) Make sure you have the latest CR for VS version. I thinnk they're up to 13.0.8 now
http://scn.sap.com/docs/DOC-7824
2) Make sure you have the latest updates for the printer driver
3) Make sure the printer driver is Unicode compliant
4) Experiment with the "No Printer" option and Dissociate Formatting Page Size and Printer Paper Size option

Categories