-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[Question] Recommended Asset label printer? #3526
Comments
I have just started testing a PT-D600 which I guess works about the same way. I have not been able to figure out how to spec the labels in snipeit to make it fit yet. Have you had any luck with that? Only way I am able to create labels right now is to screen shot a QR code and paste in P-touch editor. Not exactly optimal :) |
Use Zebra label printers, 10x15 = GK420d simple as that |
I've ordered a Brother PT-something. Fingers crossed. |
@MiBaDK - Got my Brother printer today. |
@Jason-Weber-UC I ended up returning it to the store. I did not bother spending too much time with it as it pissed me off it insisted throwing away 1" of label for every print. (Feed, cut, print, cut). |
@MiBaDK oh that "feature" kills me on my label maker |
Would make sense to have a wiki page with recommended/tested printers |
A bit late to the party, but it is possible to get Snipe to integrate with a Brother PT-P700. In my case we're using the TZe-S241 3/4" (0.7) Extra Strength Adhesive Labels. I added code to have Snipe pass along the assets.id and assets.asset_tag via a variable to a PHP page I wrote (i.e /AssetPrint.php?ID=45&TAG=TR16390), which then invokes the Brother SDK on the machine via javascript. Once you click the link it prints the label in less than 2 seconds and looks similar to the attached QR code is the standard format of https://[url]/hardware/[ID] and the 1D barcode is simply the [TAG] |
@ckinsler Would you mind sharing that code you added? |
I have a Zebra LP2824 Plus with 2.25 x 1.25 labels that works great with the standard web-based label generator. My settings for labels are as follows:
I have also modified the label printout template so that it looks a little nicer but it's definitely a hack so modify at your own risk. |
@ellisgeek We've been discussing making Zebra support a little more native. Would you be willing/able to help us test if we could make his happen? |
Absolutely! Like I said on Reddit I'm more than happy to help however I can! |
How can i print labels on a Brother P-Touch P700? |
The settings for every printer and label size would be different, but through trial and error I found the best settings for our Dymo Labelwriter 400 with Large Address Labels (89mm x 36 mm).
I now bought some smaller and more durable labels which I'll need to test |
But when I say - Create Label - a browser window opened, and when I try to print on my label printer - the printer status says "canceled" |
has anyone been able to find thermal roll labels < 1"x1"? |
I just finished setting up Brother QL-800 and 2.4" tape. Works Great! I do not use P-Touh software. Here are my steps:
|
Hey All, I've had immediate success with the Dymo LabelWriter 450 Turbo. I purchased 25MM x 54MM LW Durable labels from Dymo as well (Part No: 1976411). In the label setup of Snipe, I have the following settings: Labels per page: 1 I have also disabled the standard barcode and opted to only have the QR code. I also put my company name in the QR code text. Then, I generate all the labels I need while in Google Chrome. When you do a print in Google Chrome, set the following: Layout: Landscape NOTE: Do all of this AFTER you run the Dymo installation package (I downloaded the full suite of software). Once you install the Dymo software, make sure you set the correct paper size while in the Dymo software. This works really well. I can now print multiple tags at once, and they all come out beautifully and quickly. EDIT: Adding screenshots |
@ckinsler Would you mind sharing your PHP code for printing with javascript to a Brother PT? Thanks |
@ckinsler would you mind sharing you php code for the Brother printing? This is only thing holding back us migrating to Snipe for our school inventory. Thanks in advance! |
Ohai, not sure if i shouldnt open a new issue instead, but i changed the label generation process to use dom2pdf and create labels as pdfs. pdfs are easier to print and work with most printers which doesnt apply to browsers and their printing abilities. i created a new blade for the html used by dom2pdf (currently with my own label settings hardcoded, but it shouldnt be a problem to adapt those to settings) and changed the label creation to use dom2pdf. i also had to create a new controller (and routes, of course) for the qr code generation, because the qr code generation within the assetscontroller needs authentication which the dom2pdf library cant provide. there is a small bug: one empty label at the end due to the "page-break-after: always" css setting for the labels. i didnt come up with a solution for that so far. as i am new to snipe-it (and laravel), there may be better solutions, i am open for tips and improvements! i would love to see this integrated into snipe-it! tl;dr: heres the code: psy@5322c8d |
I used @ellisgeek modified label (https://github.com/ellisgeek/snipe-it/blob/gussy_up_labels/resources/views/hardware/labels.blade.php) on a Dymo 450 Turbo with 2 1/4 x 1 1/4 Durable labels and so far they look fantastic (Made some more adjustments, to the label layout). |
Not sure if it works for everyone, but if you want to make this easier on yourself, you can always order labels from a site like MyAssetTag. We had thousands of unaccounted for assets. Literally no info on them. Adding each to the system, printing them, and then having to go and find the actual asset and grabbing the correct sticker is frustrating. I decided to sniff the Snipe URL schemes and see if we could possibly go out and mass tag assets without actually adding them to the system yet. Turns out you can! The asset tag search at the top of the page uses this scheme: https://yourcompany.snipe-it.io/hardware/bytag?assetTag=TAGNUMBER So we designed our tags, had the barcode reflect the URL above with an incrementing asset number starting at 000001, and had them printed. We then walked the building and stickered everything. After that, we walked a second time and added everything to the system. Each item has a tag and number already, so no need to worry about possibly running into conflicts with multiple people walking at once. The codes work perfectly, and we were able to keep the labels small enough to fit on literally anything for easy access. To each their own, but this seems like the most painless process for our org, at least. I would find it really attractive if Snipe allowed you to generate labels based on asset tag instead of using the database ID, and then print them in mass before actually adding them to the system. I really don’t see why this can’t be a thing. |
Hi! I am making some tests and it mostly looks good, but I don't find the exact size in Chrome print settings. What page size you used in Chrome for the 89x36 labels? EDIT: Nevermind, I found it. It's the Large Address label |
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. |
This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it. |
Has anyone used Brother 62mm continuous tape with good results? |
Edit: Updated - I added some default options that work pretty well on 12mm, 18mm, or 24mm tape - the parameters can be easily adjusted in the code for font, spacing, etc. I took a different approach and wrote a version of the label code that creates a PDF file for download directly/natively using PHP FPDF rather than having to mess around with CSS/HTML/Chrome settings, which I found frustrating myself to get a good result. We also have some cases where we want to change out to different label sizes, so I wanted a method of doing that easily without having to change each of the Snipe parameters constantly. Notes:
Results |
Can this be easily adapted for 18 mm tape? |
Added labels.blade.php from snipe/snipe-it#3526
Sure, the parameters are all in the code, and it's simple to adjust, assuming programming/PHP experience. Admittedly what I've done was very much a quick hack to accomplish a goal, so I hope it's helpful to someone else with the same aim for producing a direct PDF from PHP, but otherwise it's not meant to be comprehensive. |
The reason I was asking, is that when I adapted acerspyro's code above, the margins went haywire so I had to adapt that as well. It took quiet some time to get it right. Thank you @VibroAxe |
@acerspyro I'm attempting to use your Brother 750W settings above on 0.94 labels but my QR code and barcode keep clipping despite having the exact brother settings you have. What label settings are you using in the settings panel or does this require the custom php file you mentioned in other comments? |
The custom PHP file is necessary to make it work. |
I had the same issue. I have PT-P700 which is similar. UI Label Settings Printer Settings Chrome Print Settings |
@RobFullerGBHS I know I'm a bit late to the party but I have decent enough results. |
Afraid I gave up and made our own solution for buying pre-printed labels with QR codes. |
@acerspyro Thanks for excellent solution, works good with Chrome browser, Brother P750W and 24mm tape. |
Latest updates broke the customization of labels.blade.php Anyone else is having issues? |
It probably needs to have its changes merged into the latest version.
You can use `git merge` to do this.
…On Wed, 24 Feb 2021 at 11:40, tony-vi ***@***.***> wrote:
Latest updates broke the customization of labels.blade.php
I no longer can use my custom file.
Anyone else is having issues?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3526 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBSOZ3KPYJNU3YMU5AH26DTAUTWRANCNFSM4DJW2BKQ>
.
--
<http://acerspyro.ca/>
MAXIM "ACERSPYRO" THERRIEN
FREELANCE WEB DEV
438.868.6058
[email protected]
<mailto:[email protected]>
|
@acerspyro what do you mean? Which changes? sorry I missed this message. |
FYI: <input type="hidden" name="btSelectItem" value="{{isset($_POST['btSelectItem']) ? $_POST['btSelectItem'] : ''}}">
<input type="hidden" name="search" value="{{isset($_POST['search']) ? $_POST['search'] : ''}}"> |
I propose to reopen this issue. I am on the hosted setup, so can't modify the "blade" template mentioned above. My biggest issue that all browsers I've tried (Safari, Chrome, Firefox, Edge) all add borders when printing an html page. I would love the solution to generate a png or pdf instead of an html page, as those seem to be printed without edges. My current hack is to grab a screenshot of the generated html, and print the screenshot. |
Hello everyone. I have a problem. After replacing the files and adding the FPDF file. When I try to generate a label, I get Error 500. Maybe someone have had a similar problem or knows what I'm doing wrong. :) |
Has anyone figured out a solution to roll out labels at remote location from the server? Printing from the web basically.. With a portable printer like Brother PT-E500? Thanks |
I'll share my settings for Brother Wifi Label Printer QL-820NWB. With this settings you can print default labels individually or in mass generate without a problem. Use margin minimum and roll of 62mm I use DK-2251 if like me you are using black/red roll set that type of paper in the print settings. |
I've read through the page but not sure If I understand correctly. I've created a custom site (in Next.js, Python API backend). Can I then send it somehow to a Brother wifi printer? Is there some query language for that? Ideal workflow:
|
I'm using the Brother PT-P750W printer, printing labels from browser sometimes result in glitched barcodes, and could be really hard to setup properly. So I made this tool to make life easier: https://github.com/xWTF/SnipeIT-bPAC This tool starts a local daemon on your computer, and receives data with a REST API The daemon then loads the template, fill the data with bPAC API to print them. Pros:
Cons:
Might be an overkill for most users, but fits my needs perfectly, hope it helps someone else :)
|
perfect work! Is there a way to print multiple labels for the same tag? We put the label on a notebook an the ac-adaptor. Thanks! |
@G0bi83 To print multiple labels for each entry, you can use a for loop, simply replace the old loop with this: foreach ($assets as $asset) {
// change this 2 to the amount you want
for ($i = 0; $i < 2; $i++) {
$labels[] = [
'id' => 'ID: ' . $asset->id,
'name' => empty($asset->name) ? '' : 'N: ' . $asset->name,
'serial' => empty($asset->serial) ? '' : 'S: ' . $asset->serial,
'model' => empty($asset->model->name) ? '' : 'M: ' . $asset->model->name,
'company' => $asset->company === null ? null : 'C: ' . $asset->company->name,
'asset_tag' => $asset->asset_tag,
'asset_url' => $_ENV['APP_URL'] . '/hardware/' . $asset->id,
];
}
} If you want further discussion please create new issue in my repo, replying here might disturb contributors and other people. |
I'm after suggestions/recommendations for an appropriate desktop-sizes label printer that will a) work with the 'Generate Labels' function and produces labels that will last?
I'm currently looking at the Brother PT-9700PC which uses their TZ range of labels
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: