Printing Identical Copies Of Label 追蹤

0
Avatar
Legacy Poster

Hi,

I have been tasked with creating an application that will print labels according to information on a production order. We use bartender 9.2. We have an SQL database that holds the information for the labels. We are using 15 separate different formats for printing labels depending on data that needs to be printed because of this I do not want to change anything inside the label programmaticaly. One of the requirements is to print a number of identical labels depending on the number of items in the order. Using the
LabelFormatDocument.PrintSetup.IdenticalCopiesOfLabel = qtyNeeded results in this error "IdenticalCopiesOfLabel can not be set if identical copies are data sourced."

Today the number of labels is generated using a prompt dialog at print time, but I don't see where this is prompt is attached at run time, It is neither in the NamedSubstrings nor the prompts.

Any guidance will be much appreciated.

Steven

3 意見

0
Avatar
Legacy Poster
評論操作 永久連結

"Number of Identical Copies is Data Sourced"

That means that your label format is looking somewhere *other* than your print dialog for the number of identical copies. Specifically in your case, it is looking at a field that is prompted on your label. You'll have to go into the label format, go into the print dialog, and press the "Options" button next to 'Number of Identical Copies'. This should give you the option to check a radio button that will take that value off of being data sourced. Then maybe your program error will go away.

I don't have 9.2, but if you need a screenshot I can probably grab a 9.4 one which should be close.
0
Avatar
Legacy Poster
評論操作 永久連結

Thank you very much. That looks like the ticket. I added a sharename for the identical Copies of labels datasource and set it with the number of labels needed and now it just works.
0
Avatar
yona Tauber
評論操作 永久連結

I'm having also this issue I would like to check programmatically via COM if the count is set via a data source. 

 

any way to do that? 

 

TIA_YON

 

 

登入寫評論。