Record Printer
Print CAD PDF records to viewable, sharable, in-game inventory items!

What is the Record Printer?
Sonoran CAD’s Record Printer seamlessly connects CAD records with the in-game world, enabling officers to generate and view official documents directly through an interactive in-game printer.
Records can be printed at configurable printer objects or within vehicles, shared as inventory items, and viewed entirely in-game.
Activation Guide
1. Download and Install the Resource
This submodule is already enabled by default when installing the Sonoran CAD FiveM resource.
2. Adjust the Configuration
The CAD display settings are stored inside of the /configuration/recordPrinter_config.lua file.
Record Printer user-facing notifications also use the shared FiveM notification system configured in /configuration/config.json with notificationSystem.
3. Ensure Players are Linked
Ensure the players have already linked their CAD for this integration to work.
Configuration
The record printer settings are stored inside of the core configuration file.
recordPrinter_config.lua
recordPurgeDays
The number of days that the downloaded PDF's will be stored on the local server
commandPrefix
Base command prefix, e.g. /printer queue, /printer print, /printer share
printQueueCommand
Command the view the print queue
printCommand
Command used to print PDF's in-game
clearPrintQueueCommand
Command to clear the print queue
shareCommand
Command to share a queued or printed record with other players
acceptShareCommand
Command to accept a shared record into your queue or your hand
maxPrintsPerQueue
Max number of print requests a user can have in their queue at a time
vehicleConfig
Configuration of LEO vehicles that have a printer
printerObjects
Array of in-game printer objects that can be walked up to and print records
printerCoords
Array of specific in-game coordinates where a print station is
frameworks
Framework activation configuration
translations
List of translations
Commands
In-game commands can be used to
/printer queueOpens the print queue/printer print [id]Print a specific record from the queue/printer clearqueueClears the current print queue/printer recordshareShares a record with the closest player/printer acceptAccepts a record share from another user

In-Game Usage
Sending Files From Sonoran CAD
When in-game, units must also be actively signed into the dispatch, police, fire, or EMS panel.
Using the records section in CAD, navigate to the record you would like to print, click the down arrow next to the blue PDF button and press Print In-Game.

Printing In-Game
After selecting Print In-Game, an in-game notification will appear stating "You have a new record to print. Use /printer queue to view queue".
You can print this file by using the command /printer print <PRINT QUEUE #> near a configured printer (printerObjects) or inside a configured vehicle (vehicleConfig).
Once printed, the PDF will be placed in your hand with a viewer shown on your in-game screen. Buttons on-screen will allow you to maximize, minimize, and exit the window.
If configured, closing the record will place it in your player inventory. Otherwise, the record will be deleted.



Drop Record on Ground
In standalone mode, selecting the Drop on Ground icon will drop the item on the ground. Other users can interact with the drop to pick it up and view the record.


Inventory Support
Records can be stored and shared as an inventory item. The frameworks configuration item allows for inventories like ESX, QB Core, OX Inventory, and more.
Optional: Ox Inventory Support
If you are using ox_inventory on the ESX Framework you must add the following to your ox_inventory/data/items.lua file in order for records to work properly:
Sharing Records on Non-Framework Servers
You can now share records on non-framework servers via the newly added commands /printer recordshare and the target user can use the command /printer accept to accept a PDF. If you are in front of someone you can directly hand them the PDF in your hand, or you can "email" the record to their print queue from anywhere on the map. The record must be in your print queue in order to email it.
Last updated
Was this helpful?

