Set Report Size on Crystal report - c#

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.

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.

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 a report in visual studio

I have a paper form like invoice and I want to print database values on it (by query). So I want to insert the text at special locations like invoice number, company name, amount and ..
for this purpose what is the correct and standard method
have windows form with the invoice background image and set the location of thextbox
use Microsoft report and report viewer (how?)
or any other solution
Thanks in adavance
You can use crystal report. You can configure the location of field while printing in crystal report.
If you want to use Microsoft report have a look at this
There are 2 options,
a) There are print packages in dreamincode, look at some of them.
b) The recommended way, use crystal report. Much easier and cleaner.

Can not print using report viewer

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.

Printing from label printer using Crystal Report in C#

I am creating an desktop application for printing label from label printer. Can anyone guide me how to print from label printer using crystal report approach. I am new to this topic and have no idea.
I would appreciate if anyone provide me some sample program.
Thanks.
It depends on the kind of label printer that you have.
If you use Crystal Report, then your application will be printer agnostic, it wouldn't care which type of printer you use. Also you will not be able to use some features that you label printer might have like, controllable label cutting.
Label printers usually have API. So you would normally design a label in a template designer, that is normally supplied with your printer. Then you would call API providing the file path to the template and filling the data that template requires.

Categories