Device
Last updated
Last updated
COPYRIGHT © 2024 NAVIGA
In order to interact with other devices (sometimes called “peripherals”), Circulation must know the device name and some other information about the device. Naviga sets up initial device information. If you subsequently add a device to your system, select this option to set up a record for the new device in this file.
Note: Devices that interact with Circulation must also be set up in UNIX. Newscycle initially does this setup. For more information, see the System Administration Manual.
In character Circulation, select Device from the System menu to display the Device Setup screen.
Select Add and complete the following fields. Leave any fields blank if they are not applicable to the device.
TYPE
open (8)
Enter the device type. Typically, this will be “printer”.
NAME
open (14)
Enter the short name by which this device will be known to Circulation; for example, use the port name to which its communications cable is attached, such as “LPT1” or “COM2”. We recommend that you do an lpstat in UNIX and use the UNIX name.
HOST NAME
setup
Enter the host name of the network to which this device is attatched. This will typically be blank—you only need to specify a host name if the printer is attatched to another network.
PIPE IN
open (60)
Enter the system-level command used to pipe, or send, input from this device. With printers, this can be blank.
PIPE OUT
open (60)
If the printer is local, enter the UNIX command to send data to it. This will typically be a “cat” command, for example:
cat - > /dev/bpp0
(Sun parallel port)
cat - > /dev/tty1
(IBM serial port)
ENABLE DEVICE
open (60)
Enter the command to enable (start) the printer. In UNIX this is the “enable” command. So you will probably use something like:
enable lp0
DISABLE DEVICE
open (60)
Enter the UNIX command to disable the printer. In UNIX this is “disable”. The Enable and Disable fields are only important if you want to be able to enable and disable the printers from the application (this can be done from the View/Print Utility).
RESET DEVICE
open (60)
Enter the system-level command used to reset this device, if applicable. You will typically leave this field blank.
STATUS COMMAND
open (60)
Enter the system-level command used to display the status of this device. This is used in the View Print Utility, which has a Status option. Typically this will be “lpstat”. For example:
lpstat -t -p lp0
(where the printer name is “lp0”)
CANCEL COMMAND
open (60)
Enter the system-level command used to cancel a job sent to the device. The command will depend upon your operating system—typically it will be “cancel”.
SPOOL OUT
open (20)
A spooler is software that holds files within the computer and sends them one at a time to the device (usually a printer) in the order in which they were received. Use of a spooler frees users’ terminals to perform other tasks.
Circulation reports are spooled, and this is where you tell the application how to spool reports to the network printer. This will probably be the “lp
” command, with “-c
” (which copies the file to the printer queue). For example:
lp -c
Note: “-c
” is usually required if you print reports without saving them; without the “-c
”, unsaved reports might not reach the printer.
PAGE SIZE
integer (3)
Enter the default number of lines on a page for this device (with most printers this will be 60). The default page size can be overridden by individual report configurations (see Report Configuration).
COPIES PREFIX
open (8)
Enter the system-level command line prefix for default number of printed copies. This will most likely be “-n”.
PRINTER PREFIX
open (8)
Enter the system-level command line prefix that indicates which printer to use if this device is a printer. This will be “-d”, or whatever you used in Spool Out.
Select Specifics | Device Control and enter escape sequences for printing barcodes on renewal notices, if applicable (see below).
Select Accept to enter the device information into the database.
Set up another device, or press F4 and select Exit to exit to the Setup menu.
The USPS gives considerable discounts for printing the postal barcode on first class mailings, such as renewals. Printing barcodes, however, takes a certain amount of preparation:
Most printers have barcode fonts, but you may need to buy special fonts and then install them in your printer. Consult your printer manual to determine if your printer can print barcodes.
Barcodes print the Zip code, Zip code extension, and delivery point. Your addresses must have this information (through Quadient address cleansing or another product) in order to print the barcode. Circulation will group barcoded renewal notices separately from other renewal notices:
Print By Route = “Y”: 1) Mail—non barcoded, by Zip code 2) Mail—barcoded, by Zip code 3) Route—by route and then Zip code
Print By Route = “N”: 1) Barcoded, by Zip code 2) Non barcoded, by Zip code
“Print By Route” is a field in Renewal Notices. If you route deliver renewal notices, notices for subscribers not on carrier routes (that deliver renewals) will still be mail delivered.
In Business Rules, you must answer the Subscriber Billing question Should the ZIP POSTNET barcode print on the renewal notice? with “yes”.
When you print renewal notices, the printer that is enabled for barcode printing must be entered in the View & Print Options window. This printer can be entered as the default printer in REPORT CONFIGURATION.
You must use your printer’s manual to look up the printer commands, or “escape sequences” that are necessary for barcode printing. The commands are entered in the Device Control specific in Device setup.
Select this specific to enter escape sequences for your printer.
Select Specifics | Device Control from the Device Setup screen to display the Device Control Setup screen.
Select Add and enter information for the “start barcode” escape sequence in the fields described below. Then press F1.
TYPE, NAME
display
The device type and name are displayed from the Device Setup screen.
CONTROL TYPE
predefined
Indicate whether this is the Start barcode, End barcode, Start OCR font, or End OCR font escape sequence.
ESC SEQUENCE
open (unlimited)
Enter the escape sequence for this sequence type. Escape sequences should be listed in your printer manual. Enter <ESC> for the escape character on your keyboard, if this character is used in the escape sequence. <BS> can be used to “back space”. This allows you to custom align the barcode on the form. If used, this should be at the beginning of the sequence.
Select Accept to accept the escape sequence.
Follow steps 1-3 to enter “end barcode” escape sequence, or press F4 and select Exit to exit to the Device Setup screen.