Barcode Questions
Hi,
We are working on integrating a barcode option in our software, and I have a
few questions:
- In case a user prints barcodes on a sheet of paper that might have lets
say 30 labels, but he/she only prints five labels, is there a way to cancel
the feed of the paper, or feed the paper and supply the report with the
starting position for the next time labels are printed. This is almost
necessary in order to save on paper consumption.
- How do I programmatically set the Papersize and Labelsize for the labels.
thank you
Jonas
We are working on integrating a barcode option in our software, and I have a
few questions:
- In case a user prints barcodes on a sheet of paper that might have lets
say 30 labels, but he/she only prints five labels, is there a way to cancel
the feed of the paper, or feed the paper and supply the report with the
starting position for the next time labels are printed. This is almost
necessary in order to save on paper consumption.
- How do I programmatically set the Papersize and Labelsize for the labels.
thank you
Jonas
This discussion has been closed.
Comments
1. The following example shows how to use the BandsPerRecord property to
skip labels.
www.digital-metaphors.com/tips/SkipLabels.zip
2. You can use the Report.PrinterSetup properties to configure the paper
size, orientation, margins, etc. The Label Size is usually configured by
using the DetailBand Height and BottomOffset and the Report Columns and
ColumnPositions properties. Check out RBuilder\Source\ppLabelDef.pas if you
want to see how ReportBuilder internally manages label configuration when
the Label Wizard is used. Check TppLabelDef and
TppLabelSet.AssignLabelDefToReport.
--
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com