Appearance
Convert labels
Sometimes a label arrives as a PDF that has nothing to do with an order in Channel Hub: a return label, a label from a carrier's own website, a sample to test the printer. Convert labels turns any PDF label into ZPL, the Zebra's own language, at the size you choose, so it prints sharp on the label printer. Every page of the PDF becomes one label. Nothing is attached to an order and nothing is written to Odoo.
Before you begin
Who can do this: operators. A viewer who opens the page sees Converting labels needs the Operator role. and no form.
Where: Tools → Convert labels in the menu, or Convert labels from the search (Ctrl K). The page and both entries exist only while the label converter is switched on for Channel Hub: until then they are absent, and the page's address shows Page not found. Tools shows only for operators.
You need: the PDF labels on your computer. Converting needs the order documents storage to be set up, as for Upload labels.
Time needed: a few seconds per PDF.
1. Convert
Open Tools → Convert labels.
Drop one or more PDFs on the box Drop PDF labels here, or choose them, or click it to choose them: up to 20 PDFs, each at most 25 MB and 60 MB together, and at most 200 labels (pages) in all. Each file is listed with its size; the × removes one. A file that is not a PDF is left out, and the page names it. A PDF over 25 MB, PDFs over 60 MB together or more than 20 PDFs are refused before anything is sent: a red line under the box names the file and the limit. Remove a file, or convert the PDFs in two goes.
Choose the Label size:
- 10 × 15 cm (the default);
- 10 × 10 cm;
- A6 (10.5 × 14.8 cm);
- Custom size…: type the Width (mm), a whole number from 25 to 210, and the Height (mm), from 25 to 297. A size outside these says so under its box, for example A whole number from 25 to 210 mm, and nothing is sent.
Choose the Resolution of your Zebra: 203 dpi (most desk Zebras, the default) or 300 dpi.
Click Convert (or Convert N PDFs). While the PDFs go up, the button says Uploading… and a bar under it shows how much is sent, for example Uploading 3.2 of 12.5 MB (25 %); then Uploaded. Starting the conversion… until the labels appear. If the bar stops moving for 30 seconds, the upload is stopped and a message says The upload stopped: Channel Hub did not take the files…: try again, and if it happens again, tell the technical team the file's name and size.
Channel Hub cuts every page to its label (a label in the corner of an A4 page is taken alone), turns it when its orientation is the other one, and fits it to the size you chose.
2. What you see
Under Labels, the line gives the size, the resolution, how many labels and when the files are deleted. Then one block per PDF:
Queued: waiting for the label converter… until the label converter takes the PDF. It works on one PDF at a time, also for Upload labels, so a PDF may wait for the ones before it.
Converting page N of M… with a bar, as the label converter goes through the pages. If the label converter has to start a PDF again (after a restart, for example), the count stays where it was until it passes that page again.
Saving N labels… once every page is converted, while the labels are stored.
The page moves on by itself as the converter goes, without a reload. The line above the PDFs says how far the conversion is, for example 1 of 3 files ready, 1 failed.
Ready: N labels, then one line per page:
- Preview opens the page cut to its label, as a PDF, in a new tab;
- PDF saves that one-page PDF;
- .zpl saves the label's ZPL, named after the PDF and the page (
UPS labels-page-2.zpl).
Failed, with the reason in the label converter's words, for example that the file is not a PDF, is password protected, or has a page larger than A3. The other PDFs keep their labels.
Download all (.zpl) appears once no PDF is still converting, and saves every label of the conversion in one .zpl file, in file and page order: send it to the printer once and every label prints.
Only some of the labels
A PDF often holds pages that are not labels: a packing slip, instructions, a blank page. Every label has a tick box, and all are ticked at first:
- untick a label with its box, or click its name (Page 2); the Preview, PDF and .zpl links still do their own thing;
- the box beside a PDF's name ticks or unticks every label of that PDF;
- All labels, beside the download buttons, ticks or unticks every label of the conversion. A box with a dash means some of its labels are ticked.
Once a label is unticked, Download N labels (.zpl) appears and saves only the ticked labels in one .zpl file, in file and page order, whatever order you ticked them in. For example, with a 4-page PDF whose labels are pages 1 and 3, untick pages 2 and 4 and click Download 2 labels (.zpl). With nothing ticked the button says Download 0 labels (.zpl) and does nothing. Download all (.zpl) stays. The ticks are not saved: another conversion, or a reload, starts with every label ticked.
A PDF that would take the conversion past 200 labels fails with More than 200 labels in one conversion: split the PDF and convert the parts one at a time; the PDFs before it keep their labels.
A file that only looks like a PDF is refused when you click Convert, with its name: fake.pdf: not a PDF file.
The address of the page keeps the conversion, so a reload shows the same labels. Recent conversions, at the bottom of the page, lists everyone's conversions of the last 24 hours (when, by whom, which files, the size and how many labels); click one to see its labels again.
3. Print the labels
There is no Print button on this page: download the labels, then print the .zpl files on the Zebra as you print other ZPL files today. A Zebra prints a .zpl exactly as it is: do not open it in a PDF viewer or a word processor.
Labels hold addresses
A label carries the receiver's name and address. Delete the files from your computer once printed. Channel Hub keeps its copy in the private order documents store for 24 hours, then deletes the conversion and all its files; only operators can see them.