Skip to main content

Print (B2WS Client) (Beta)

The Print (B2WS Client) node sends workflow documents directly to a local or network printer connected to a B2Win Suite Client workstation.

:::info Beta Feature The Print node for B2Win Suite Client is currently in Beta / Experimental (EXP) release. Features and printer spooling interactions are being continuously refined. :::

Overview​

Unlike server-side printing which requires the B2Win Suite server to have direct network or driver access to every enterprise printer, the Print (B2WS Client) node delegates print execution to the user's workstation. Documents are transmitted to the connected client machine and spooled using the operating system's local printer subsystem.

Purpose​

  • Print reports, invoices, shipping labels, and documents directly to desktop, USB, or local network printers.
  • Utilize printers synchronized automatically from the client workstation without server-side driver configuration.
  • Integrate with desktop access notifications to allow users to verify print jobs before spooling.

Configuration​

FieldDescription
B2Win Client*The B2Win Client service configuration used to reach the target workstation. It also decides the printer. Pick an existing configuration or click New Configuration to define one.
CopiesNumber of copies to print (integer value from 1 to 999; default is 1).

Choosing the Printer​

The printer is not set on the node. It comes from the selected B2Win Client service: the workstation's Windows default printer, or a specific printer chosen in the service. See Printer options.

Under the B2Win Client field, the card Your current client & printer shows the workstation and printer the node will use.

Printers are synchronized automatically when the B2Win Suite Client connects to the server. You can view the synchronized printers for each workstation on the Printers tab in Me → Clients.

Inputs​

InputData TypeInput TypeDescription
InputFileNodeFileMultipleOne or more document files (e.g., PDF, PostScript, plain text) to print.

Outputs​

OutputData TypeCollectionDescription
OutputDataObjectFalseJSON object detailing the printer name, copy count, total files, client ID, and file details.

Properties​

PropertyFlowDataTypeDescription
B2WS_CLIENT_PRINT_PRINTERStringTarget printer name used for the job.
B2WS_CLIENT_PRINT_COPIESIntegerConfigured number of copies.
B2WS_CLIENT_PRINT_CLIENT_IDIntegerSystem ID of the client workstation.
B2WS_CLIENT_PRINT_CLIENT_HOSTNAMEStringTarget client computer hostname.
B2WS_CLIENT_PRINT_CLIENT_DISPLAYStringTarget client display name.
B2WS_CLIENT_PRINT_COMMANDStringDesktop command executed (print).
CLIENT_ACTION_ACTIVITY_IDStringNotification activity ID for tracking.
CLIENT_ACTION_STATUSStringDesktop print status (SUCCESS, FAILED, or SKIPPED).
CLIENT_ACTION_RESULT_MESSAGEStringMessage returned by the print subsystem.
CLIENT_ACTION_COMPLETED_ATInstantTimestamp when printing completed.

Processing & Approval Lifecycle​

  1. Client & Printer Verification: Resolves the target workstation and printer from the B2Win Client service, and verifies that the printer exists in the client's registered printer list. Fails if the printer cannot be found on the client, or if the service uses the Windows default printer and none is set.
  2. Approval Request: Builds a ClientPrintJob request containing download links for the documents, printer name, and copy count, then registers a desktop approval notification (queueApproval).
  3. Execution Wait: The workflow iteration transitions to IN_PROGRESS while waiting for desktop response.
  4. Desktop Processing:
    • In Manual Approval mode, the user receives an in-app notification on their workstation showing the document count and destination printer, with Approve and Skip buttons.
    • In Auto-Approve mode, the client immediately spools the print job to the Windows print queue.
  5. Resume Workflow: Once the print job is successfully spooled, the client notifies the server, and the workflow DAG resumes execution.

On the User's Computer​

This node needs the B2Win Suite Client to be installed and signed in on the target computer. What the person at that computer sees and controls is described in the client documentation:

  • Approving Actions: Require Approval and Auto Approve modes, and the Approve / Skip buttons.
  • File Access: the folders the client is allowed to use. Printing itself needs no File Access entry.
  • Activity: progress, history and stopping a running action.