> For the complete documentation index, see [llms.txt](https://ajuda.consistem.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajuda.consistem.com.br/consistem-api/consistem-erp-api/componentes/componentes-v1.0/consistem-remote-printer.md).

# Consistem Remote Printer

printer

## GET /printer/queue

> Obter fila de impressão

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"tags":[{"name":"Consistem Remote Printer","description":"printer"}],"servers":[{"url":"https://localhost/componentes/v10"},{"url":"http://localhost/componentes/v10"}],"security":[{"csw_auth":[]}],"components":{"securitySchemes":{"csw_auth":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"Printer":{"type":"object","properties":{"serverName":{"type":"string"},"printerName":{"type":"string"},"type":{"type":"string"},"dateCreated":{"type":"string"}}},"Erro":{"type":"object","properties":{"mensagem":{"type":"string"}}}}},"paths":{"/printer/queue":{"get":{"tags":["Consistem Remote Printer"],"summary":"Obter fila de impressão","operationId":"GetPrinterQueue","parameters":[{"schema":{"type":"string"},"name":"serverName","in":"query","description":"Nome do Servidor","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Printer"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Erro"}}}}},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Erro"}}}}}}}}}
```

## GET /printer/queue/{contentId}

> Obter conteúdo da fila

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"tags":[{"name":"Consistem Remote Printer","description":"printer"}],"servers":[{"url":"https://localhost/componentes/v10"},{"url":"http://localhost/componentes/v10"}],"security":[{"csw_auth":[]}],"components":{"securitySchemes":{"csw_auth":{"type":"apiKey","name":"Authorization","in":"header"}}},"paths":{"/printer/queue/{contentId}":{"get":{"tags":["Consistem Remote Printer"],"summary":"Obter conteúdo da fila","operationId":"GetQueueContent","parameters":[{"schema":{"type":"string"},"name":"contentId","in":"path","description":"Id do Conteúdo","required":true}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/octet-stream":{}}},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error","content":{"application/octet-stream":{}}}}}}}}
```

## POST /printer/queue/finished

> Definir processo de fila

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"tags":[{"name":"Consistem Remote Printer","description":"printer"}],"servers":[{"url":"https://localhost/componentes/v10"},{"url":"http://localhost/componentes/v10"}],"security":[{"csw_auth":[]}],"components":{"securitySchemes":{"csw_auth":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"Erro":{"type":"object","properties":{"mensagem":{"type":"string"}}}}},"paths":{"/printer/queue/finished":{"post":{"tags":["Consistem Remote Printer"],"summary":"Definir processo de fila","operationId":"SetQueueProcess","responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Erro"}}}}},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Erro"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"queueId":{"type":"integer"},"status":{"type":"integer"},"msg":{"type":"string"}}}}},"description":"Dados processo de fila.","required":true}}}}}
```

## POST /printer/registerInstance

> Definir impressoras por servidor

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"tags":[{"name":"Consistem Remote Printer","description":"printer"}],"servers":[{"url":"https://localhost/componentes/v10"},{"url":"http://localhost/componentes/v10"}],"security":[{"csw_auth":[]}],"components":{"securitySchemes":{"csw_auth":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"Erro":{"type":"object","properties":{"mensagem":{"type":"string"}}}}},"paths":{"/printer/registerInstance":{"post":{"tags":["Consistem Remote Printer"],"summary":"Definir impressoras por servidor","operationId":"SetPrinters","responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Erro"}}}}},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Erro"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"serverName":{"type":"string"},"printers":{"type":"array","items":{"type":"string"}}}}}},"description":"Lista de empressoras por servidor.","required":true}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ajuda.consistem.com.br/consistem-api/consistem-erp-api/componentes/componentes-v1.0/consistem-remote-printer.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
