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
- Download and Install the Resource
This submodule is already enabled by default when installing the Sonoran CAD FiveM resource.
- Adjust the Configuration
The CAD display settings are stored inside of the /configuration/recordPrinter_config.lua file.
Notifications are handled by the Sonoran CAD core. See Core Configuration for settings and supported values.
- 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.recordPrinterconfig.lua
recordPrinterconfig.lua
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.
Sonoran CAD - Print Record Option
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. Theframeworks configuration item allows for inventories like ESX, QB Core, OX Inventory, and more.
Optional: Ox Inventory Support
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.
