zpl.tools
CommandsNetwork

~NC - Network Connect

Connects to specific printer by Network ID Number

~NC - Network Connect

Overview

The ~NC command connects a specific printer on the network by calling its Network ID Number. Used at the beginning of label formats to specify which printer should receive and process the format in multi-printer network configurations.

Syntax

~

Parameters

  • ### = 3-digit network ID (001-250)

Description

  • Selects target printer by ID
  • Must be placed at format start
  • "Wakes up" selected printer
  • Other printers ignore format
  • Essential for network printing

Examples

Connect to Printer 5

~ ^XA ^FO50,50^A0N,30,30^FDPRINTER 5^FS ^XZ

Connect to Printer 125

~NC125
^XA
^FO50,50^A0N,30,30^FDPRINTER 125^FS
^XZ

Usage Notes

  • Must be 3 digits long
  • Use at beginning of format
  • Printer must have matching ID via ^NI
  • Only selected printer processes format
  • Other printers ignore format completely
  • Required for RS-485 network printing
  • First command in multi-printer setup

Network Workflow

Setup

  1. Assign IDs: ^NI005, ^NI010, etc.
  2. Connect format with ~NC005
  3. Send format to network
  4. Printer 5 receives and prints
  5. Others ignore
  • ^NI - Network ID Number
  • ~NR - Set All Network Printers Transparent
  • ~NT - Set Network Printer Transparent

See Also