Product Support .................................................... 49
Contents
ZebraNet
Programming Manual
PRINT SERVER OVERVIEW
The purpose of this document is to give the user an overview for integrating the ZebraNet PS 4000 Print Server
into their environment.
The ZebraNet PS 4000 Print Server is a transportable printing system providing connection of up to 4 printers.
The system comes in a variety of configurations including:
• Stand alone print server providing connections of up to 4 USB or serial printers.
®
PS4000 Print Server
• Print server pre-configured with Zebra direct thermal or thermal transfer desktop printers.
Figure 1 shows a particular configuration of the print server with three 2 inch direct thermal Zebra printers.
Next S ect.
Section 1
pg. 1-2
Figure 1- ZebraNet PS 4000 Print Server With
Three 2” Zebra Printers
Communication
The ZebraNet PS 4000 Print Server appears to a host computer as one IP address with the individual printers
having unique port numbers. Therefore, printing is accomplished by directing print jobs to a particular printer
through an IP address/port number combination.
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
Configuration
There are two areas of configuration for the ZebraNet PS 4000 Print Server: print server configuration and
individual printer configuration.
Print Server Configuration
Print server configuration involves configuration of the print server making it available on the target network.
This involves configuring network settings such as IP address, SSID, subnet mask, gateway, etc.
®
PS4000 Print Server
Individual Printer Configuration
Individual printer configuration involves settings for the individual printers. These settings include: port
number, baud rate (serial printing only), and language (CPCL, ZPL, or EPL).
The Print Server Configuration Manager provides an easy interface for configuring the print server. This
application is described in Section 2.
Next S ect.
References
1. EPL Programming Manual
2. CPCL Programming Manual
3. ZPL Programmers Manual
All of these reference documents are available at www.zebra.com
Section 1
pg. 1-3
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
Print Server Integration
Integration of the ZebraNet PS 4000 Print Server involves configuring the server with the appropriate IP settings
for the target network. Once configured, the printer exposes the connected printers through unique port numbers.
Figure 2 shows a sample network using the ZebraNet PS 4000 Print Server.
®
Next S ect.
PS4000 Print Server
Section 1
pg. 1-4
Figure 2- ZebraNet PS 4000 Print Server Integration
PRO-MAN-PS4-001 Rev A
ZebraNet PS4000 Pri nt
Server
ZebraNet PS4000 Pri nt
Server
Contents
ZebraNet
Programming Manual
Programming Interface
Interfacing to the individual printers from a host application involves two parts: TCP/IP communication for the
actual sending/receiving of data and knowledge of the target printers since each printer type supports its specific
control language. References 2 and 3 describe the printer control language for EPL and CPCL based printers,
respectively.
TCP/IP Communication
®
PS4000 Print Server
The individual printers are accessible via a unique IP address/port number combination. All four printers share
the same IP address but are distinguished by their unique port number. The print server simply acts as a ‘passthrough’ between the host and printer. Therefore, any communication with a particular printer must use the control
language for that printer.
EPL Printer Programming Example
The following is an example format file for an EPL base printer. Sending this data over the network to the IP
address/port number for an EPL printer will result in a printed label.
Next S ect.
N
US
UA
q406
Q163,B19+0
ZB
JF
N
A0100,18,0,3,2,2,N,”$15.00”
B088,58,0,1,2,4,60,N,”123456789”
P1
Section 1
pg. 1-5
Note: Each line is separated by a Carriage Return/Line Feed combination which must be preserved when directing a print job to the
printer.
See the EPL Programming Language Manual at www.zebra.com for a description of the printer control commands suppor ted by EPL
based printers.
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
ZPL Printer Programming Example
The following is an example format file for an ZPL base printer. Sending this data over the network to the IP
address/port number for a ZPL printer will result in a printed label.
Note: See the ZPL Programming Language Manual at www.zebra.com for a description of the printer control commands supported by
EPL based printers.
Section 1
pg. 1-6
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
CPCL Printer Programming Example
The following is an example format file for a CPCL base printer. Sending this data over the network to the IP
address/port number for a CPCL printer will result in a printed label.
Next S ect.
! 0 200 200 240 1
JOURNAL
®
PS4000 Print Server
CONTRAST 0
TONE 0
SPEED 3
PAGE-WIDTH 380
T 4 3 110 0 22
T 4 2 212 0 88
T 5 0 10 10 2288
T 4 0 340 0 R
T 5 1 110 86 MUFFLER
BOX 20 80 364 130 2
T 7 0 278 142 MUFFLER
T 7 0 306 164 ZD180
T 5 0 325 189 010
B UPCA 1 1 60 20 140 04364503284
T 5 0 30 203 043645032841
T 0 0 280 211 count: 0001
PRINT
Section 1
pg. 1-7
Note: Each line is separated by a Carriage Return/Line Feed combination which must be preserved when directing a print job to the
printer.
See the CPCL Programming Language Manual, available at ww w.zebra.com for a more complete description of the printer control
commands supported by CPCL based printers.
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
Set/Get Commands
The Print Server supports the set/get interface for setting and retrieving various settings such as IP address,
SSID, etc. The suite of set/get related commands are identified in the CPCL Programming Language Manual,
available on-line at www.zebra.com. There are also set/get commands specific to the print server identified in Section
3.
A simple set/get example – printer port number:
Communication to a printer requires installlation of a printer driver. Once this installation is complete, the Zebra
printer port driver is used to map the printer driver with the corresponding IP address/port number. This facilitates
communicating to the printer from a host PC.
Section 1
pg. 1-8
PRO-MAN-PS4-001 Rev A
ZebraNet
Programming Manual
®
PS4000 Print Server
Section 2
pg. 2-9
Contents
Prev. Se ct.Next S ect.
ZebraNet Print Server Configuration Management Application
Overview
The ZebraNet Print Server Configuration
Management System is a Win32 stand-alone
utility providing an interface to perform the initial
network setup as well as maintain the network
configuration of the print server.
This application is dialog based where the main
dialog, or ‘Main Menu’, allows navigation to all
related functions. The main dialog is divided into
the following areas:
Network Setup – The operations available
under Network Setup allow the user to perform
all network related configuration and status for
the printer server. The ‘Network Setup’ buttons
include the following:
• Quick Network Setup
• Network Settings
LAN StatusNetworkRF SettingsProtocolsEncryptionAuthentication
NOTE: Clicking on a topic in the Introductory Screen illustration
above will jump you to the corresponding topic in the manual.
PRO-MAN-PS4-001 Rev A
• VPN Setup
• Mirror
• Ping
PC / Print Server Setup – The operations
available under PC/Print Server Setup include
configuring the PC for communication with the
Contents
Prev. Se ct.Next S ect.
ZebraNet
Programming Manual
PS4000 Print Server
Printer Server as well as configuring the individual printers connected to the printer server. There is also an option
to create a standard TCP/IP port in order to print from a PC to a printer that is connected to the Print Server. The PC
/ Print Server buttons include the following:
• Com Port Setup
• Print Server Settings
• Individual Printer Setup
®
• Port Driver Setup
File Management – The operations available under ‘File Management’ include the ability to send and receive
files on the printer server as well as the ability to send files to the individual printers connected to the printer server.
The ‘File Management’ section includes the following buttons:
• Send Files (Print Server)
• Read Files (Print Server)
• Individual Printers
The default operation of this configuration utility is to communicate with the printer via the serial port. Prior to
doing any configuration of the print server, confirm the serial port baud rate used by this utility matches that of the
printer. To check the baud rate used by this utility,
select ‘Com Port Setup’ from the Main Menu.
Quick Network Setup
The ‘Quick Network Setup’ option walks the user
through a series of dialogs that enable the user to
select the network related settings of the print server.
Following are the screens associated with ‘Network
Setup’.
Section 2
pg. 2-10
Screen 1: Quick Network Setup
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
ZEBRANET
Prev. Se ct.Next S ect.
®
PS4000 Print Server
Screen 2: ESSID
ESSID- This screen allows the user to configure the Print
Server to use the proper ESSID for your network.
Network Addresses- This screen allows the user to
configure the Print Server to use DHCP or assign a static
IP address, Subnet Mask and Default Gateway.
Section 2
pg. 2-11
Screen 3: Network Addresses
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
Prev. Se ct.Next S ect.
®
PS4000 Print Server
Screen 4: Network Port
Network Port- This screen allows the use to enter the
Network Port number used by the Printer Server. The
default port number is 6101.
Network Protocols- This screen allows the user to select
which Network Protocols the Print Server will support.
Section 2
pg. 2-12
Screen 5: Network Protocols
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
ZEBR ANET
Finish Setup- This screen sends all the Network
configuration settings to the printer.
®
PS4000 Print Server
Screen 6: Finish Setup
Select ‘Test Settings’ prior to pressing ‘Finish’. The
program confirms it can ping the Print Server using the
network settings entered. This confirms the server is
visible on the network.
Prev. Se ct.Next S ect.
Section 2
pg. 2-13
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
PS4000 Print Server
ZEBRA NET
LAN Status tab
Network Settings
LAN Status tab-This section allows the user to view as
well as change all network and security related settings.
Prev. Se ct.Next S ect.
Section 2
pg. 2-14
ZEBRANET
Network tab- This screen displays the current Network
settings for the print server. Changing any of the settings
shown and pressing ‘OK’ will change the corresponding
setting on the print server.
Network tab
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
RF Settings tab- This screen shows the current
settings relating to the network radio on the print
server.
Operating Mode: This option allows the user to change
the operating mode of the print server’s network radio.
®
PS4000 Print Server
RF Settings tab
Preamble Length: This option allows the user to select the preamble length used by the network radio. This setting
must match that for the access point. Options are:
• SHORT
• LONG
International Mode: This option allows the user to select the ‘International Mode’ setting used by the network radio.
Improper setting of this option may result in being unable to associate with the access point.
Options are:
• INFRASTRUCTURE
• AD HOC
Power Mode: This option allows the user to select the
power mode of the print server network radio. Options
are:
• OFF
• 1
• 2
• 3
• 4
• BEST
Prev. Se ct.Next S ect.
Section 2
pg. 2-15
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
PS4000 Print Server
Protocols tab
Protocols tab- This screen displays the current
network protocols enabled on the print server.
Changing any of these settings and pressing ‘OK’ will
change that setting on the print server.
Prev. Se ct.Next S ect.
Section 2
pg. 2-16
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
Encryption tab- This screen allows the user to enable
various modes of WEP encryption.
Encryption Mode: This option allows the user to select
®
PS4000 Print Server
Encryption tab
the desired WEP encryption modes. Options are:
• OFF
• 40-Bit
• 128-Bit
Encryption Key Index: This option selects the
appropriate key index to use with WEP encryption. This
index corresponds to the Encryption Key used.
Prev. Se ct.Next S ect.
Section 2
pg. 2-17
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
Authentication tab- This screen allows the user to
select an authentication protocol to use with network
communication. Options are: LEAP, Kerberos.
®
Prev. Se ct.Next S ect.
PS4000 Print Server
Authentication tab
Section 2
pg. 2-18
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
802.1x/WPA tab-This screen allows the user to select
various security modes to be used by the print server.
®
Prev. Se ct.Next S ect.
PS4000 Print Server
ZEBRANET
802.1x/WPA tab
Section 2
pg. 2-19
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
Prev. Se ct.Next S ect.
PS4000 Print Server
POP3 tab- This screen allows the user to select/
configure POP3 related settings.
POP3 tab
Section 2
pg. 2-20
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
Prev. Se ct.Next S ect.
PS4000 Print Server
VPN Setup- This screen allows the user to configure
the VPN settings to be used by the print server.
Section 2
pg. 2-21
VPN Setup
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
Prev. Se ct.Next S ect.
PS4000 Print Server
Mirror- This screen allows the user to configure the
Mirror setting to be used by the print server.
Mirror
Section 2
pg. 2-22
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
Prev. Se ct.Next S ect.
®
PS4000 Print Server
Ping
Ping- This screen allows the user to ping a network
device. This is not limited to pinging only the print
server but any reachable network device from this PC.
Section 2
pg. 2-23
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
Com Port Setup-This screen configures the test
application for the appropriate communication
medium when communicating with the print server.
Port: This selects the method for communicating with
®
PS4000 Print Server
the printer server. Options are:
• COM1
• COM2
• NETWORK TCPIP
• NETWORK LPD
Serial Setup: These options are only applicable if the
Port setting is configured for either ‘COM1’ or ‘COM2’.
These options determine the settings used by the PC to
communicate via the serial port to the print server. These
settings must match that for the print server.
Network Setup: These options are only applicable if
the Port setting is configured for ‘NETWORK TCPIP’ or
‘NETWORK LPD’. These options identify the IP setting for
the print server. The PC application uses these setting to
communicate with the print server.
Prev. Se ct.Next S ect.
Com Port Setup
Section 2
pg. 2-24
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
Print Server Settings
Prev. Se ct.Next S ect.
PS4000 Print Server
Section 2
pg. 2-25
General tab
Port tab
PRO-MAN-PS4-001 Rev A
Battery tab
Flash tab
Contents
ZebraNet
Programming Manual
®
Prev. Se ct.Next S ect.
PS4000 Print Server
Individual Printer Setup- This dialog box presents the
current configuration for the 4 possible printers.
Section 2
pg. 2-26
Individual Printer Setup
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
Port Driver Setup
Screen 1: Printer Driver Verification (Windows XP/2000 only)- The Port Driver Setup process creates a standard
TCP/IP port which interfaces to any printer connected to the Print Server (for which there is a printer driver
installed locally).
Note: Before continuing with the Port Driver Setup, please verif y that all printer drivers are installed for the printer(s) that will be
used for printing.
®
PS4000 Print Server
This initial screen of the Port Driver Setup is used
to verify the printer driver was installed properly for
the printer that will be used when printing from the PC
to the Print Server. Following these steps is optional
but recommended.
Screen 1: Introduction
Prev. Se ct.Next S ect.
Section 2
pg. 2-27
Screen 2: Network Setup
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
PS4000 Print Server
Network Setup- The Network Setup screen represents
the Print Server’s IP Address. If the IP Address is
known then it can be entered into the IP Address field.
Otherwise, with the Print Server connected via serial
port, the IP Address can be detected. In either case,
the Print Server must be powered on.
Screen 3: Printer Driver Selection
Prev. Se ct.Next S ect.
Section 2
pg. 2-28
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
Prev. Se ct.Next S ect.
PS4000 Print Server
Printer Driver Selection- This screen is used to choose
the corresponding printer driver of the printer that will
be used when printing from the PC to the Print Server.
Screen 4: Confirmation Test Page
Section 2
pg. 2-29
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
Prev. Se ct.Next S ect.
PS4000 Print Server
The Confirmation Test Page screen allows a test
page to be printed via TCP/IP to a printer connected to
the Print Server.
Screen 5: Port Driver Setup Summary
Section 2
pg. 2-30
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
PS4000 Print Server
Port Driver Summary- This screen is a summary of the
Port Driver Setup process.
Send Files (Print Server):
Prev. Se ct.Next S ect.
Section 2
pg. 2-31
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
File Management
®
Prev. Se ct.Next S ect.
PS4000 Print Server
Send Files
Section 2
pg. 2-32
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
Read Files (Print Server)- When the ‘Read Files (Print
Server) button is selected, the following dialog appears:
Prev. Se ct.Next S ect.
®
PS4000 Print Server
Read Files (Print Server)
If the print server is properly connected to the PC, the
list of files currently stored in the print server’s flash file
system will appear. This dialog also provides the following
features related to file management of the print server
files:
• Delete File: Highlighting a file then selecting ‘Delete File’
will remove that file from the printer’s file system.
• Delete All Files: Selecting this button will remove all files
from the printer’s file system.
• View File: Highlighting a file then selecting ‘View File’ will
display the contents of the selected file. Note: Only ASCII
files will be displayed properly.
• Clone File: Highlighting a file then selecting ‘Clone File’
will allow the user to make a copy of that file on the PC. A file
dialog box will appear allowing the user to specify a name
and location to make a copy of the file.
Section 2
pg. 2-33
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
Prev. Se ct.Next S ect.
PS4000 Print Server
Send Files (Individual Printers)
Section 2
pg. 2-34
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
Prev. Se ct
PRINT SERVER SET/GET COMMANDS, VERSION 0.1
print_server.enable
Type: getvar, setvar
getvar result“on” or “off”
®
PS4000 Print Server
setvar choices“on” or “off ”
Default “on”
DescriptionEnables or disables the print server application
Example
Example
Syntax! U1 SETVAR “print_server.enable” “on”
ResultEnables print server operation
DescriptionReturns the current state of enable
Syntax! U1 GETVAR “print_server.enable”
Result“on”
print_server.halt_queue
Type: getvar, setvar
getvar result“on” or “off ”
setvar choices“on” or “off ”
Default “off”
DescriptionCommand is used to temporarily halt the print
Example
Example
Syntax! U1 SETVAR “print_server.halt_queue” “on”
ResultHalts the print server queue
DescriptionReturns the current state of halt_queue
Syntax! U1 GETVAR “print_server.halt_queue”
Result“on”
server queue for administrative purposes.
Section 3
pg. 3-35
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
Prev. Se ct
print_server.printerX.ip_port
Type: getvar, setvar
Sets the IP port number that will be associated with the corresponding print queue. X is the print queue that
the ip_port number is associated with. X can be 1, 2, 3, or 4. The IP port number is what the print server uses
to uniquely identifies each printer. If data is to be sent to printer 1 then open up a TCP connection with the print
server’s TCP address on printer 1’s IP port number.
®
PS4000 Print Server
getvar resultThe current ip _port value for print queue X where X is 1, 2, 3, or 4.
setvar choices“1” -”65535”; excluding the current IP.port value, 20, 21 (used for FTP), 23
(used for telnet), 80 (used for HT TP), and 515 (used for LPD).
Sets the programming language of the printer connected to print queue X where X can be 1, 2, 3, or 4. This
command allows different types of printers be connected to the print server at the same time. “Other” is used to
designate a non-Zebra printer.
Prev. Se ct
®
PS4000 Print Server
getvar result“cpl”, “epl”, “zpl”, or “other”
setvar choices“cpl”, “epl”, “zpl”, or “other”
Default “epl”
DescriptionSets the printer language of the printer
Returns the status of the printer connected to print queue X where X can be 1, 2, 3, or 4.
Section 3
pg. 3-38
getvar result“present” or “not present”
Example
PRO-MAN-PS4-001 Rev A
Description
Syntax! U1 GETVAR “print_server.printer1.status”
Result“present”
Returns the status of the printer connected to
print queue 1.
Contents
ZebraNet
Programming Manual
print_server.printerX.interface
Type: getvar, setvar
Sets the physical interface between the print server and the printer for printer X where X can be 1, 2, 3, or 4.
This setting MUST match specific configuration for the print server. If this parameter is not set correctly the print
server will not be able to communicate with the attached printer.
Prev. Se ct
®
PS4000 Print Server
getvar result“serial” or “usb”
setvar choices“serial” or “usb”
Default “usb”
DescriptionSets the interface for printer 1 to serial
Returns the current state of the interface for
printer 2
Section 3
pg. 3-39
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
PS4000 Print Server
print_server.battery.enable
Type: getvar, setvar
Setting the enable “on” causes the print server to initialize the serial connection between the Zebra LA-24
battery and the print server. This will allow the print server to monitor the battery level and power the connected
Zebra printers on and off.
getvar result“on” or “off ”
setvar choices“on” or “off ”
Default “of f”
Initializes the connection between the LA-24
battery and the print server
! U1 SETVAR “print_server.battery.enable”
“on”
Returns the current state of the battery.enable
function
Setvar example
Getvar example
Description
Syntax
ResultN/A
Description
Syntax! U1 GETVAR “print_server.battery.enable”
Result“on”
Prev. Se ct
print_server.battery.life
Type: getvar
Returns the percentage of battery life remaining
Section 3
pg. 3-40
getvar result0 – 100 %
Example
PRO-MAN-PS4-001 Rev A
DescriptionReturns the remaining battery life percentage
Syntax! U1 GETVAR “print_server.battery.life”
Result78
Contents
ZebraNet
Programming Manual
®
PS4000 Print Server
print_server.battery.voltage
Type: getvar
Returns the current voltage level of the battery.
getvar resultBattery voltage
DescriptionReturns the current voltage level of the battery
Example
Syntax! U1 GETVAR “print_server.battery.voltage”
Result“11.94V”
Prev. Se ct
print_server.battery.low_bat_warning
Type: getvar, setvar
Returns or sets the voltage level at which the LA-24 battery system will report low battery.
getvar result“10.00V”
setvar choices“10.00”
DescriptionSets the low battery voltage warning level
Returns the software version of the LA-24 Battery pack.
getvar result“1.00”
DescriptionReturns the current battery software version
®
PS4000 Print Server
Example
Syntax! U1 GETVAR “print_server.battery.swver”
Result“1.00”
Section 3
pg. 3-43
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
USBH Set/Get Commands, Version 0.1
Prev. Se ct
usbh.enabled
Type: getvar
getvar result“yes” or “no”
DescriptionIndicates if the usbh stack is operational
®
PS4000 Print Server
Example
Syntax! U1 GETVAR “usbh.enabled”
Result“yes”
usbh.p1_active
Type: getvar
getvar result“yes” or “no”
DescriptionReturns the current state of printer 1
Example
Syntax! U1 GETVAR “usbh.p1_active”
Result“Yes” if present, “No” if not present
usbh.p2_active
Type: getvar
Section 3
pg. 3-44
getvar result“yes” or “no”
Example
PRO-MAN-PS4-001 Rev A
DescriptionReturns the current state of printer 2
Syntax! U1 GETVAR “usbh.p2_active”
Result“Yes” if present, “No” if not present
Contents
ZebraNet
Programming Manual
®
PS4000 Print Server
usbh.p3_active
Type: getvar
getvar result“yes” or “no”
Example
DescriptionReturns the current state of printer 3
Syntax! U1 GETVAR “usbh.p3_active”
Result“Yes” if present, “No” if not present
Prev. Se ct
usbh.p4_active
Type: getvar
getvar result“yes” or “no”
DescriptionReturns the current state of printer 4
Example
Syntax! U1 GETVAR “usbh.p4_active”
Result“Yes” if present, “No” if not present
usbh.p1_status
Type: getvar
Section 3
pg. 3-45
getvar result“##” – USB Printer Device Class GET_PORT_STATUS result (hex)
Description
Example
Note: The result returned is what is returned by the printer.
PRO-MAN-PS4-001 Rev A
Syntax! U1 GETVAR “usbh.p1_status”
Result
Returns the GET_PORT_STATUS result for
printer 1
“18” if present and no errors,“38” if out of
paper
Contents
ZebraNet
Programming Manual
®
PS4000 Print Server
usbh.p2_status
Type: getvar
getvar result“##” – USB Printer Device Class GET_PORT_STATUS result (hex)
Description
Example
Note: The result returned is what is returned by the printer.
Syntax! U1 GETVAR “usbh.p2_status”
Result
Returns the GET_PORT_STATUS result for
printer 2
“18” if present and no errors,“38” if out of
paper
Prev. Se ct
usbh.p3_status
Type: getvar
getvar result“##” – USB Printer Device Class GET_PORT_STATUS result (hex)
Returns the GET_PORT_STATUS result for
printer 3
“18” if present and no errors,“38” if out of
paper
Example
Description
Syntax! U1 GETVAR “usbh.p3_status”
Result
Section 3
pg. 3-46
Note: The result returned is what is returned by the printer.
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
PS4000 Print Server
usbh.p4_status
Type: getvar
getvar result“##” – USB Printer Device Class GET_PORT_STATUS result (hex)
Description
Example
Note: The result returned is what is returned by the printer.
Syntax! U1 GETVAR “usbh.p4_status”
Result
Returns the GET_PORT_STATUS result for
printer 4
“18” if present and no errors,“38” if out of
paper
Prev. Se ct
usbh.check_status
Type: getvar, setvar, do
getvar result“Yes” or “No”
setvar choices“Yes” or “No”
Default “Yes”
Description
Syntax! U1 SETVAR “usbh.check_status” “yes”
Example
Result
Indicates if the Print Server should poll
printers for status.
With this set, the Print Server will periodically
request status from the printer. This status
request is the USB Printer Device class GET_
PORT_STATUS request. If the printer is in an
error condition, the LED is disabled.
Section 3
pg. 3-47
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
PS4000 Print Server
usbh.read_enabled
Type: getvar, setvar, do
getvar result“Yes” or “No”
setvar choices“Yes” or “No”
Example
Default “Yes”
Description
Syntax! U1 SETVAR “usbh.read_enabled” “yes”
Result
Indicates if the Print Server should poll printers
for data coming from a printer.
With this set, the Print Server will periodically
ask connected printers for any data. The
server does this by issuing a USB BULK-IN
request. If a printer is bidirectional, the only
way the server knows if there is any data
coming from a printer is to request data.
Prev. Se ct
usbh.read_interval
Type: getvar, setvar, do
getvar result“##” – Frequency of read requests
setvar choices“##” – Number in milliseconds between 1 and 20000 (20 seconds).
Default “1000”
Indicates the frequency the Print Server polls
printers for data coming from a printer.
This indicates how frequently the Print Server
will request data from a printer.
Example
Description
Syntax! U1 SETVAR “usbh.read_interval” “1000”
Result
Section 3
pg. 3-48
PRO-MAN-PS4-001 Rev A
Contents
ZebraNet
Programming Manual
®
PS4000 Print Server
PRODUCT SUPPORT
For on-line product support, contact Zebra Technologies at:www.zebra.com
In the Americas contact
Zebra Technologies International, LLC
333 Corporate Woods Parkway
Vernon Hills, Illinois 60061-3109 USA
Phone: +1.847.793.2600 or +1.800.423. 0422
Fax: +1.847.913.8766
In Europe, Africa, the Middle East, and India contact
Zebra Technologies Europe Limited
Zebra House
The Valley Centre, Gordon Road
High Wycombe
Buckinghamshire HP13 6EQ, UK
Phone: +44.1494.472872
Fax: +44.1494.450103
Prev. Se ct
Contacts
pg. 49
PRO-MAN-PS4-001 Rev A
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.