Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] No method to set "how many" on label instance #178

Open
c3kkos opened this issue Jul 1, 2022 · 2 comments
Open

[feature request] No method to set "how many" on label instance #178

c3kkos opened this issue Jul 1, 2022 · 2 comments

Comments

@c3kkos
Copy link

c3kkos commented Jul 1, 2022

Hello there.

I noticed there is no way to tell glabel to iterate on printing the same label X times.

Let me show an example.

CASE:
you have a populated spreadsheet with products. (eg. a BOM from a CAD/CAM software.)

you have rows of data with tons of colums; the ones that interests me are IDs and Quantity, so let's strip all of them but those two.

let's assume those rows:

ID - QTY
RABBIT - 10
HORSE - 2
FROG - 50

if i want to print 10 labels for RABBITS, 2 for HORSES and 50 for FROGS i have to manually create 10,2 and 50 rows with matching names.

We sure need to bind that QTY value to printing quantity, the same way we do assign a text to its ${MERGED_DATA}

@c3kkos c3kkos changed the title No method to set "how many" on label instance [ feature request ] No method to set "how many" on label instance Jul 1, 2022
@c3kkos c3kkos changed the title [ feature request ] No method to set "how many" on label instance [feature request] No method to set "how many" on label instance Jul 1, 2022
@myrmark
Copy link

myrmark commented Dec 6, 2022

How are you printing these labels? Doesn't the glabels-batch-qt command solve this issue?

@c3kkos
Copy link
Author

c3kkos commented Jan 4, 2023

sorry, I'm using the gui, not the batch executable.

The feature i'm talking about, it was present in "BarTender" a paid labeling software.

Edit:

i double-checked "man glabels-batch-qt"

and i can confirm that there is no mechanism to instruct glabel to iterate X time a label record.

You can:

   -c <n>, --copies <n>
          Set number of copies to <n>. (Default=1)

given a .glabels project file,

but that generate a whole copy of the project, it has no control over the single label creation.

You must have csv like this:
"
RABBIT
RABBIT
RABBIT
"
to have 3 "rabbit" labels

when you could just have:

"
RABBIT,3
"
to print 3 identical labels, given the second column parameter (to be properly assigned, to a special "QTY_VALUE", new method)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants