WithoutWire Print Agent
WithoutWire Print Agent is a windows service that calls the WithoutWire API to look for documents to print.
The API returns a document in the form of a byte array, as well as the printer path and name. The WithoutWire Print Agent then sends the document to the assigned printer.
The agent will write a message to the event log when starting and stopping, as well as, the error conditions and when a report is found that will be printed.
Installation:
- Setup all printers as local printers on the target computer
- Copy all files from zip folder to the target computer
- Extract files to C:\WithoutWire\<Environment>PrintAgent
- Environment usually is “Production” or “Training”
- Open command prompt in admin and run command to install
- Cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
- installutil /name=”WithoutWire Print Agent-Production” /displayname=”WithoutWire Print Agent-Production” /description=”Production Printing Agent Used by WithoutWire” c:\WithoutWire\Production\PrintAgent\WithoutWirePrintAgent.exe
- Open <install path>\WithoutWirePrintAgent.exe.config
- Set timer interval (10000 is 10 seconds)
- URI like https://<clientname>-api.withoutwire.com/api/
- Client key like FECACFFA-7A7D-415C-B0DF-62DE189ED4EE – From WoW Account Management.
- Start Service
- Turn on configuration to use the print agent in WoW. Run script below against WithoutWire DB.
IF NONE EXISTS SELECT 1
FROM CONFIG_Settings
WHERE Entity = ‘FinalDocs’
AND Attribute = ‘Printing.UseRemotePrintLogic’)
BEGIN
INSERT INTO CONFIG_Settings (Entity, Attribute, Value, Notes, Code)
SELECT ‘FinalDocs’, ‘Printing.UseRemotePrintLogic’, ‘True’, ‘Tells WithoutWire to store print jobs in the database.’, ”
END
ELSE
BEGIN
UPDATE [CONFIG_Settings]
SET Value = ‘True’
WHERE Entity = ‘FinalDocs’
AND Attribute = ‘Printing.UseRemotePrintLogic’
- END
Uninstall:
- Open the command prompt in admin and run SC command to uninstall
- SC delete “WithoutWire Print Agent”
Requirements:
C:/WIndows/system32/WINSPOOL.DRV must be on the computer that the service is running.