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

Printing to specific Avery Labels #5

Open
Silhouette35 opened this issue Feb 22, 2022 · 32 comments
Open

Printing to specific Avery Labels #5

Silhouette35 opened this issue Feb 22, 2022 · 32 comments

Comments

@Silhouette35
Copy link

Silhouette35 commented Feb 22, 2022

Is there a way that we can get this to....

  • Auto update?
  • Print to specific Avery Labels?
  • Maybe add a front end to this in the future to pick and choose which sets we would like to print?
@Bradw-17
Copy link

Ahaha I was just trying to figure this out myself. I played a bit around 2015, and just started back up recently, so being able to pick and choose which sets to print would save me a lot of wasted sticker sheets.

And yeah, It's probably a lot to ask but a GUI would be spectacular.

Also adding in mana symbols and rarity to refine the organization.

It's a lot to ask, but I know it would be greatly appreciated by the community.

This is a must have for MTG collectors.

@davidfischer
Copy link
Owner

Whoa, there's a lot here.

Maybe add a front end to this in the future to pick and choose which sets we would like to print?

And yeah, It's probably a lot to ask but a GUI would be spectacular.

A GUI is unlikely. They're a bunch of work to maintain and hard to not super easy to be cross platform. However, I could see an option to specify sets explicitly. That would be fairly straight-forward.

Print to specific Avery Labels?

This is a possibility I suppose. I guess we just need very precise dimensions on them. Is there a specific one you're looking at?

Auto update?

I mean, the script itself doesn't require any updates to generate new labels for new sets. It gets the latest data from Scryfall when you run it. Are you just looking for PDFs every new set?

@Silhouette35
Copy link
Author

Thanks for replying everyone!!

I guess a start could be this...for labels?? https://www.avery.com/templates/5160

As for the auto-update from Scryfall, it looks like the API hasnt picked up the new set that released last week (Maybe just a timing thing)

And yes, selecting sets would be great :) (100% the complexity of the GUI ask, and I understand that it will more than likely never happen :) You've done enough work for us already!!)

@davidfischer
Copy link
Owner

As for the auto-update from Scryfall, it looks like the API hasnt picked up the new set that released last week (Maybe just a timing thing)

When I run the label generator, Neon Dynasty is in the output:
Screenshot from 2022-02-23 15-47-06

@davidfischer
Copy link
Owner

I guess a start could be this...for labels?? https://www.avery.com/templates/5160

This should be doable without too much of an issue. The template they have has everything needed to get it right.

@Silhouette35
Copy link
Author

Silhouette35 commented Feb 24, 2022

I'll see if I can find a label size a little closer to the box width. Just tying up some work first. That was just a really quick first search :)

( I think that size may be our best bet though....if memory serves)

@Silhouette35
Copy link
Author

Here is the Laser version. I think it's the same dimensions??

https://www.avery.com/templates/8920

@Bradw-17
Copy link

I seem to be having trouble getting it running at all :/ installed dependencies but it throws an error when trying to run from command prompt and nothing happens if I try to run the program itself from the file. I can open another issue if you'd like? Don't mean to overload you or anything.

@Silhouette35
Copy link
Author

Sorry for being really new on this...how do I run the program myself?? I've just been clicking the 4 files in the git folder here which only goes up to innistrad double feature?

I'd like to try printing these on the avery labels and test the layout this weekend

@davidfischer
Copy link
Owner

Sorry for being really new on this...how do I run the program myself?? I've just been clicking the 4 files in the git folder here which only goes up to innistrad double feature?

It's a command line program. You need to have Python installed and then install the dependencies.

It sounds like I need a small webapp or something. It isn't really setup for non-programmers to use.

@Silhouette35
Copy link
Author

That would be amazing if it isnt too much work. I've just been pulling the pages from GIT that you had run and posted (which is why I thought it was out of date).

Apologies again for being new on this!

@davidfischer
Copy link
Owner

davidfischer commented Mar 21, 2022

I'm going to repurpose this issue to be about the Avery labels.

There's now an auto-updating frontend that should pick up new sets after release date: https://mtg-label-generator.herokuapp.com/

Edit: hosting moved to Fly.io: https://mtg-label-generator.fly.dev/

@davidfischer davidfischer changed the title Request from long time follower Printing to specific Avery Labels Mar 21, 2022
@Silhouette35
Copy link
Author

@davidfischer Amazing. Thank you!!! (And looking forward to the labels as well :) )

@davidfischer
Copy link
Owner

It might be a little while since it's not a feature I personally need.

@Silhouette35
Copy link
Author

Silhouette35 commented Mar 22, 2022 via email

@Schemer80
Copy link

Someone can try these, I believe these should align to Avery 1 x 2 5/8 labels.
I'm 99% certain though I aligned them in reverse accidentally, so print them in reverse.

MTG Labels.zip

@Silhouette35
Copy link
Author

I will try to run these tonight or tomorrow.

Thanks guys!! I will let you know the outcome!!

@Silhouette35
Copy link
Author

@Schemer80 What do you mean 'print them in reverse' ??

@Schemer80
Copy link

Just print normally, and if the text does not align along the top edge of the label, try rotating the page 180 degrees.
I'm not sure the pages are symmetrical.

@Silhouette35
Copy link
Author

Ok great!!!

Last question :) Is this something you updated the code and then generated from david's GUI link?

Or did you generate them and THEN change the layout?

(Just want to make sure so I can generate my own list to print, and not the 8 pages. :P )

@Schemer80
Copy link

I installed Python and all the dependencies, then modified David's code to align the output to Avery's labels as best I could.

@Silhouette35
Copy link
Author

Ah, okies. I didnt see it in the "https://mtg-label-generator.herokuapp.com/" options. (Didnt want to print labels I didnt need). I'll run a test here in about 20 mins

@Silhouette35
Copy link
Author

It looks like I cant generate my own via his site with your code. I'll try and test with your .zip and go from there I guess!

@Silhouette35
Copy link
Author

I just tested with the Avery 5160 labels, and they are definitely off. Tried flipping the page, but it is a symetrical print...doesnt matter which way you insert the page.

Columns first. The first half of the page have an indent in the left column, are perfect in the middle column, and no indent in the right column.

Rows second. The 3rd row, 2nd column (Double Masters) looks the most aligned. A little low for row 1 and 2, but as you go down they page they get higher to the point the print is off the label.
20220419_182911
20220419_182902

@Schemer80
Copy link

So I ran some issues also when I tried having them printed at Office Max on Monday 4/18.
They told me the 5160 pages were symmetrical also, but that isn't true otherwise you would have the same issue printing both directions which isn't shown on your pictures.

The text needs to be almost at the top edge of the label if they are going to be applied to regular size BCW dividers and be legible.

Labels

As you can see in this picture I experimented with trying to use 1 label for 2 sets and I would just cut them in half but they were aligned too far to the left.

I have made some adjustments moving both , but haven't had a chance to go to Office Max to have another test print run.

MTG Labels.zip

These are still aligned so that the bottom/rear is the 'front'. So feed the label paper in like your second picture.
In this .zip pages 2, 4, 6, 8 are 'upside down' so you can get 2 sets on each label.
If you want just 1 set per label print them on separate pages but still in the directed orientation.

I'll try to get to Office Max in the next couple days for another print test.

@Schemer80
Copy link

I did make it to Office Max, but the alignment still isn't what I like, will make further adjustments and try again.

@Schemer80
Copy link

Attached are some pdf's that align to the top edge of the label.
You can print them on separate pages, or turn a 30 label page into a 60 one.
20220422_125206

Make sure the 'Limited Edition Alpha' is closest to the bottom edge otherwise the reset of the labels will not align as the labels are not symmetrical.

20220422_125223

Here is a picture of the top of the same page. Pages 1 & 2 are on this page.

I did see an issue with a couple of the larger icons having a sliver on separate labels, but that has to inconsistent icon size between the different sets and scryfall. See below:

20220422_125415

This doesn't bother me so I'm not going to adjust the label positioning any further at this time.

Here are the labels if you want them, any of the Avery 30 1 x 2 5/8 labels should work for this. I have tried them on 6150 & 6525.

MTG Labels.zip

If you want a cheap option on how to print these go to Office Max. At their printing department they have Avery 30 page (5160) labels behind the counter. I had them print 2 labels on every page, and my total was under $3.

Here is also my edited code for David, or whoever wants it if they want to play with this further.

MTGLabels Code.zip

@tardigradesinspace
Copy link

Thank you David and everyone else for your work on this. I modified the code a little and was able to get this to work for Avery 8167 labels (says to use template 5167). I printed with no margins.

labels-letter-01.pdf
labels-letter-02.pdf
labels-letter-03.pdf

@davidfischer
Copy link
Owner

Thank you David and everyone else for your work on this. I modified the code a little and was able to get this to work for Avery 8167 labels (says to use template 5167). I printed with no margins.

Nice. If you have the code changes you did, feel free to share them in a PR. Even if it isn't in a mergeable state, I could use it to try to create something that is.

@matthewbd106
Copy link

matthewbd106 commented Jan 4, 2023

So as a guy who has zero experience in coding. What do I do to learn how/what you guys did so that I can add to a list or at least on how to make a PDF list like Tardigrades has done? I tried using the format and uploading but it always shows the words running off the page. I think what I'm trying to get at...is, how do I make it so when new sets are added, I can click print and I'll have the new set? Or add to it. Below is the PDF that was made, but it can't auto-update. So how do I add to it? I have zero idea as to what I'm doing, but I'm kinda following along as if it's a puzzle. @davidfischer @Silhouette35

labels-letter-03.pdf

@tardigradesinspace
Copy link

Hi @davidfischer , sorry for the late response. I created a PR if you want to take a stab at it. I kind of butchered your code as I'm C# Dev and wasn't intending to share my changes. You may be wondering about the GIMP import. I was having issues getting it to run due to a missing dependency, but after some research I found it was included in GIMP so I just imported it from there. I thought the issue might be me being on a Windows machine vs a Mac.

#22

@tardigradesinspace
Copy link

@matthewbd106,

Here are the latest files from my latest run.

labels-letter-01.pdf
labels-letter-02.pdf
labels-letter-03.pdf
labels-letter-04.pdf

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

6 participants