2
votes

I am working on a project that prints bar-code labels using crystal reports in windows forms application by c#.

the problem is what happens when i am trying to print the report:

at the end of every page there are two free labels added to the printed report. i want the report to be printed continuously without any gabs or free labels in between pages.

here is the report page setup and the printer preferences:

Page setup & Printer preferences the result of printing

as the picture shows, my report has 4 bar-codes, and every page in the report has only 2 bar-codes, so i have 2 pages to be printed ... after every page there are the 2 free labels as the picture,

the question is how to prevent that and print the 4 bar-codes without any gabs?

2
I would double/triple check printer settings, and print some labels from other sources out with the same settings to ensure they are correct. Label size, top/bottom margin and advance/reverse could potentially cause that problem. - DylanH

2 Answers

0
votes

This is due to the crystal report headers and footers.

Open your report and suppress all its headers and footers if you are not using them. (Suppress report header, report footer, page header and page footer)

Hope you have set your printer settings properly.

enter image description here

0
votes

[solved]

i keep watching the number of pages at the report and offline printer i found that the number of pages always get duplicated at the printer how ever i changed the height of the report page for example to be 1 cm there always one free page at the end of every page,

offline printer

so i tried to change the width of the Details Size to be more width and make all margins equal 0

details size

then it get worked fine as expected

test result