Barcode parameters & Parâmetros para o REST API
A API ActiveBarcode cria imagens SVG e PNG para permitir uma vasta gama de aplicações.
SVG
SVG
https://api.activebarcode.net/v2/svgPNG
https://api.activebarcode.net/v2/png
access=Você pode experimentar e avaliar a API REST omitindo a chave api. Sem a chave de acesso, o código de barras será marcado com um aviso: "DEMO". Utilize a chave API que recebeu com a confirmação da encomenda em vez do marcador de posição. Conveniente: A chave API não muda desde que não se termine a assinatura mensal. api.activebarcode.net/v2/svg?access=YOUR-KEY-HERE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
text=Define o texto que você deseja exibir como um código de barras. Este pode ser um número de artigo ou uma mensagem de texto como "Olá Mundo!". Certifique-se de que este parâmetro está codificado por URL. Você pode inserir códigos de controle em forma legível humana como esta: <CR>, <LF>, ... api.activebarcode.net/v2/svg?text=ActiveBarcode&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?text=Hello%20World!&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?text=Hello<CR>World!&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?text=Hello<TAB>World!&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?text=(10)451214<FNC1>(37)20&typeno=108&access=YOUR-KEY-HERE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
showtext=Selecione se a linha legível humana é visível ou não. (1=visível, 0=invisível). api.activebarcode.net/v2/svg?showtext=1&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?showtext=0&access=YOUR-KEY-HERE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
typeno=Código de barras como número que você deseja usar para codificação ou seja: 14 (=CODE128) api.activebarcode.net/v2/svg?typeno=14&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?typeno=42&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?typeno=113&access=YOUR-KEY-HERE
Nota: Se você não sabe o número do tipo, você pode usar o parâmetro "código" em seu lugar. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
code=Defina o tipo de código de barras como um nome legível humano que você deseja usar para codificar ou seja: CODE128 Nota: É melhor definir o parâmetro "typeno=" porque é único. api.activebarcode.net/v2/svg?code=CODE128&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?code=CODEDATAMATRIXSQUARE&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?code=CODEQRCODE&access=YOUR-KEY-HERE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
backcolor=Cor de fundo como cor html. E.g. ffffff = Branco, 000000 = Preto api.activebarcode.net/v2/svg?backcolor=ff0000&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?backcolor=00ff00&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?backcolor=0000ff&access=YOUR-KEY-HERE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
forecolor=Cor em primeiro plano como cor html. E.g. ffffff = Branco, 000000 = Preto api.activebarcode.net/v2/svg?forecolor=ff0000&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?forecolor=00ff00&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?forecolor=0000ff&access=YOUR-KEY-HERE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
width=Define a largura do arquivo de imagem resultante. api.activebarcode.net/v2/svg?width=250&backcolor=eeeeee&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?width=600&backcolor=eeeeee&access=YOUR-KEY-HERE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
height=Define a altura do arquivo de imagem resultante. api.activebarcode.net/v2/svg?height=100&backcolor=eeeeee&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?height=200&backcolor=eeeeee&access=YOUR-KEY-HERE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
rotate=Orientação (rotação) em graus. Possíveis valores: 0, 90, 180, 270 api.activebarcode.net/v2/svg?rotate=0&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?rotate=90&height=200&width=150&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?rotate=180&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?rotate=270&height=200&width=150&access=YOUR-KEY-HERE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BorderWidth=Fronteira esquerda e direita. (espaço livre) api.activebarcode.net/v2/svg?BorderWidth=0&width=360&backcolor=eeeeee&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?BorderWidth=50&width=460&backcolor=eeeeee&access=YOUR-KEY-HERE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BorderHeight=Fronteira superior e inferior. (espaço livre) api.activebarcode.net/v2/svg?BorderHeight=0&backcolor=eeeeee&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?BorderHeight=25&backcolor=eeeeee&access=YOUR-KEY-HERE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
alignment=Alinhamento do código de barras dentro da área a ser exibido: alignment=left, alignment=center, alignment=right. Se o parâmetro não for especificado, o código de barras é centrado. Alternativamente, valores numéricos podem ser usados: alignment=0 (Deixou), alignment=1 (Centro), alignment=2 (Certo). api.activebarcode.net/v2/svg?alignment=left&backcolor=eeeeee&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?alignment=center&backcolor=eeeeee&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?alignment=right&backcolor=eeeeee&access=YOUR-KEY-HERE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
NotchHeightInPercent=Altura dos entalhes em percentagem. api.activebarcode.net/v2/svg?NotchHeightInPercent=50&code=CODEEAN13&text=123456789012&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?NotchHeightInPercent=100&code=CODEEAN13&text=123456789012&access=YOUR-KEY-HERE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fontsize=Tamanho da fonte da linha de texto claro de código de barras. api.activebarcode.net/v2/svg?fontsize=8&access=YOUR-KEY-HERE api.activebarcode.net/v2/svg?fontsize=28&access=YOUR-KEY-HERE |