CFLGetPrintNodePrinters Procedure
Codeunit CFL PrintNode Management
Retrieves all available printers from the PrintNode account.
Signature
CFLGetPrintNodePrinters(token: Text; var PrintNodes: Dictionary of [Integer, Text[250]]) : Boolean
Parameters
token Text
PrintNode API authentication token.
var PrintNodes Dictionary of [Integer, Text[250]]
Output dictionary containing printer IDs as keys and formatted printer names as values.
Returns
Boolean
True if printers were successfully retrieved, otherwise false.
Remarks
Handles pagination automatically to retrieve all printers (up to 500 per page). Printer names are formatted as "PrintNode [ID] - [Name] on [Computer]". Uses GET /printers endpoint with pagination support. Commits the transaction after processing all printers.