HDP5000 CUPS Driver User Guide Linux & MAC OS © 2009 HID Global Corporation. All rights reserved. Document Number L001389 Rev.1.
HDP5000 CUPS User Guide Linux & Mac OS User Guide (Rev 1.1), property of HID/Fargo Electronics, Incorporated © 2009 HID Global Corporation. All rights reserved. Exclusive permission is granted to authorized resellers of HID Global products to reproduce and distribute this copyrighted document to authorized HID Global customers, who have signed a “no disclosure agreement” regarding the restricted, proprietary use of said document.
Table of Contents Supported Distributions CUPS 5 Installation Procedure for the CUPS Driver on Linux OS 6 Installation Procedure for MAC OS X Driver 7 HID/Fargo Printer Driver Setup Selecting the Card Size Selecting the Supported Ribbon Types Selecting the Disable Printing Option Selecting the Print Both Sides Option Selecting the Split 1 set of Ribbon Panels Options Using the Image Color Capabilities Selecting the Color Matching Options Selecting Resin Dither: Following the Dye-Sub Intensity Procedur
Setting Printer Options Canceling Print jobs from Command Line General Printing Options for CUPS 35 35 35 Ethernet Installation Procedure for the MAC Driver 36 Printer Maintenance Options for Linux and Mac Performing a Ribbon Sensor Calibration Performing a Film Sensor Calibration Performing a Lamination Sensor Calibration Cleaning the Printer Printing a Test Card 40 40 41 42 43 44 HDP5000 Cups (Linux & MAC OS) User Guide Rev1.
Supported Distributions CUPS The Common Unix Printing System (CUPS), a modular printing system for Unix-like computer operating systems, allows a computer to act as a print server. A computer running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer. Linux 32-bit - Ubuntu 7.10, Fedora Core 7 & 8, Red Hat Enterprise 5, openSuse 10.3, NovelSuse 9. MAC OS X Version 10.4 -10.5 File structure CUPS service name & path /etc/init.
Installation Procedure for the CUPS Driver on Linux OS Note: On some Linux Distributions, it may be necessary to disable SELinux (security enhanced Linux) capabilities in order to install or use the CUPS Driver. Refer to the SELinux web site at: www.nsa.gov/selinux/ or the documentation for your specific distribution for more information. Step 1 Procedure Unpack the driver tar-ball by running the following command as root from the directory the file was downloaded to: # tar -xzvPf fargoHDP5000-1.0.0.4-1.
Installation Procedure for MAC OS X Driver Download the Mac Printer Driver from www.fargosupport.com to the desktop. (This will be in Zip format) Unzip the folder Double-click on the HDP5000V1.0.0.4 PKG folder to start the installation HDP5000 Cups (Linux & MAC OS) User Guide Rev1.
HDP5000 Cups (Linux & MAC OS) User Guide Rev1.
HDP5000 Cups (Linux & MAC OS) User Guide Rev1.
HDP5000 Cups (Linux & MAC OS) User Guide Rev1.
HID/Fargo Printer Driver Setup Once the CUPS and MAC driver are installed the printer options are setup as shown below. Go to webpage http://localhost:631 In order to access the Set Printer Driver options shown below. (NOTE: Click here for Ethernet setup. Ethernet Installation Procedure for the MAC Driver ) Selecting the Card Size Card Options available include the Card Size only Card Type, Orientation and Copies options are not supported. These options are supported in the application used to print.
Selecting the Supported Ribbon Types Command Line Usage CUPS option Description Ribbon = YMC Ribbon Type = YMC Sets the Ribbon type for the print job to YMC – Full Color Ribbon = YMCK Ribbon Type = YMCK Sets the Ribbon type for the print job to YMCK – Full Color/ Resin Black. Ribbon = YMCKK Ribbon Type = YMCKK Sets the Ribbon type for the print job to YMCKK – Full Color/Two Resin Black. Ribbon = YMCKH Ribbon Type = YMCKH Sets the ribbon type for the print job to YMCKH – Heat seal.
Selecting the Disable Printing Option Command Line Usage CUPS option Description DisablePrinting = True Disable Printing = Yes Select it to encode or re-encode cards to save time and avoid the use of printing supplies. DisablePrinting = False Disable Printing = No Select it to perform full printing and encoding operations.
Using the Image Color Capabilities Selecting the Color Matching Options Command Line Usage CUPS Option Description ColorMatching = System Color Matching = System Color Management This provides a closer match to the RGB color specifications. (Note: This option shifts colors to a different color model so the colors in the image will more closely match how they appear on the monitor.
Selecting Resin Dither: Select the appropriate dither method according to the type of image to be printed. (Note: This option only affects those objects printed on the backside of a card with the resin black Panel of a YMCK or YMCKK Print Ribbon. This is only enabled when using at least one K panel and dual sided enabled, splitting one set of panels.) Command Line Usage CUPS Option Description ResinDither = graphics Resin Dither = Optomized for Graphics This is a lower quality print.
Following the Resin Heat Front Procedure Command Line Usage CUPS option Description ResinHeatFront=0 Resin Heat Front (K) = 0 1. Adjust the Resin Heat Front value higher to use more heat to transfer resin to a card. <-50 to 50> 2. Adjust the Resin Heat Front value lower to reduce the amount of heat (used to transfer resin to the card). Following the Resin Heat Back Procedure Command Line Usage CUPS option Description ResinHeatBack = 0 Resin Heat Back (K) = 0 1.
Image Transfer Options Selecting the Horizontal Option Note: Over adjusting the Horizontal offset may result in ribbon breaking. Command Line Usage CUPS option Description HOffset=0 Horizontal Offset = 0 Use the Horizontal adjustment to move the image toward the card output side of the Printer (if a positive number is entered) and toward the card input side of the Printer (if a negative number is entered).
Transfer Temperature Command Line Usage CUPS option TransferHeat =0 Transfer Heat = 0 <150 to 190> <150 to 190> Description Transfer Temperature Sets temperature for InTM transfer in Celsius Lower limit = 150.0 Celsius, Upper limit = 190.0 Celsius • UltraCard III - Composite: Default = 175.0 Celsius • UltraCard- PVC: Default = 175.0 Celsius • Custom: Default = 175.0 Celsius Transfer Dwell Time Command Line Usage CUPS option TransferDwell =20 Transfer Dwell = 20 <10 to 30> <1.0 to 3.
K-Panel Options Selecting the Front K-Panel Area Command Line Usage CUPS option Description KPanelAreaFront = None Front K-Panel Area = None Select None to have any graphics objects that are black in color to be printed using composite colors (YMC) KPanelAreaFront = FullCard Front K-Panel Area = Full Card Select Full card to print any black graphic objects on the card in resin. Note: If using a YMCK Ribbon, Split 1 Set of Ribbon Panels must be set to No.
Selecting the K-Panel Only Front Options Command Line Usage CUPS Options Description KPanelOnlyFront = True K-Panel Only Front = Yes Select K-Panel Only Front if printing resin black onto a white background in order to maximize the sharpness of printed text and bar codes. KPanelOnlyFront = False K-Panel Only Front = No Select K-Panel Only Front to have all black printed with the Yellow (Y), Magenta (M) and Cyan (C) Ribbon panels directly beneath the resin black (K) panel.
Lamination Options Lamination Position and Speed: Command Line Usage CUPS Options Description LaminationPosition = <-100 to +100> Lamination Position = < -100 to +100> Horizontal Offset: LaminationSpeed = < 8 to 55> Lamination Speed = <0.8 to 5.5> Is a value from 8 to 55 divided by 10. Dwell Time: Command Line Usage CUPS Options Description LaminationSide = 0 Lamination Side = None No Lamination will be done. LaminationSide = 1 Lamination Side = Front Only front of card will be laminated.
Lamination Film Types Per Cartridge Command Line Usage CUPS Options Description LaminationType1 = 0 Lamination Film type for cartridge 1 = Clear Film Indicates that clear film is being used in cartridge 1. LaminationType1 = 1 Lamination Film type for cartridge 1 = 0.6 Polygard Indicates that 0.6 Polyguard is being used in cartridge 1. LaminationType1 = 2 Lamination Film type for cartridge 1 = 1.0 Polyguard Indicates that 1.0 Polyguard is being used in cartridge 1.
LaminationType2 = 3 Lamination Film type for cartridge 2 = Polyguard Alternating Patch Indicates that Polyguard Alternating Patch is being used in cartridge 2. LaminationType2 = 4 Lamination Film type for cartridge 2 = Registered Film Indicates that Registered Film is being used in cartridge 2. LaminationType2 = 5 Lamination Film type for cartridge 2 = Holographic Film Indicates that Holographic Film is being used in cartridge 2.
Magnetic Encoding Options Setting the Encoding Mode Command Line Usage CUPS option Description MagEncodingMode1 = ISO Magnetic Stripe Encoding Mode = ISO Sets the Encoding Mode for the Print job to ISO. See Sending ISO Magnetic Encoding Information for additional information. MagEncodingMode1 = JIS2 Magnetic Stripe Encoding Mode = JIS II Sets the Encoding Mode for the Print job to JIS II. See Sending JIS II Magnetic Encoding Information for additional information.
additional information. MagEncodingMode3 = ISO Magnetic Stripe Encoding Mode = ISO Sets the Encoding Mode for the Print job to ISO. See Sending ISO Magnetic Encoding Information for additional information. MagEncodingMode3 = JIS2 Magnetic Stripe Encoding Mode = JIS II Sets the Encoding Mode for the Print job to JIS II. See Sending JIS II Magnetic Encoding Information for additional information.
Sending ISO Magnetic Encoding Information The CUPS Driver uses URL Encoding when defining data to be encoding to the Magnetic Stripe. Any special characters (such as start and end sentinels) must be described with URL encoding to be recognized. See the URL Encoding Reference Reviewing the URL Encoding Reference for additional information.. • The first character of this data string must be the track's specific Start Sentinel (SS) and the last character must be the specific End Sentinel (ES).
Sending JIS II Magnetic Encoding Information The CUPS Driver uses URL Encoding when defining data to be encoding to the Magnetic Stripe. Any special characters (such as start and end sentinels) must be described with URL encoding to be recognized. See the URL Encoding Reference below. Sending RAW Magnetic Encoding Information The CUPS Driver uses URL Encoding when defining data to be encoding to the Magnetic Stripe.
Reviewing the ASCII Code and Character Table ASCII Code Character ASCII Code Character ASCII Code Character 32 space 56 8 80 P 33 ! 57 9 81 Q 34 “ 58 : 82 R 35 # 59 ; 83 S 36 $ 60 < 84 T 37 % 61 = 85 U 38 & 62 > 86 V 39 ' 63 ? 87 W 40 ( 64 @ 88 X 41 ) 65 A 89 Y 42 * 66 B 90 Z 43 + 67 C 91 [ 44 ' 68 D 92 \ 45 - 69 E 93 ] 46 .
Using the Command Line Option Setup for CUPS Adding a USB Printer The primary CUPS interface can be accessed on the local computer using a web browser. The address for the CUPS interface is: http://localhost:631/ Step Procedure 1 Attach Power and USB to the printer. 2 From a Terminal window, run lshal to retrieve the list of devices. 3 Refer to the Example Output for lshal below for a sample of output to look for to identify the printer. Record the Device URI to be able to add the printer.
10 After installation is complete, it may be necessary to specify the page scaling options for the Print Queue. Example output from lshal udi = '/org/freedesktop/Hal/devices/usb_device_9b0_2110_A8010217_if0_printer_A8010217' info.addons = {'hal_lpadmin --add'} (string list) info.callouts.remove = {'hal_lpadmin --remove'} (string list) info.capabilities = {'printer'} (string list) info.category = 'printer' (string) info.interfaces = {'org.freedesktop.Hal.Device.Printer'} (string list) info.
printer.vendor = 'Fargo Electronics Inc ' (string) Adding a Network Printer The primary CUPS interface can be accessed on the local computer using a web browser. The address for the CUPS interface is: http://localhost:631/ Step Procedure 1 Choose Add Printer (Note: If you are asked for a username and password, enter your login username and password or the “root” username and password. 2 a. Enter a Name, Location and Description for the Printer. b. Click Continue. 3 a.
Determining the Printer IP Address Use this procedure to determine the IP address of a Printer. Step Procedure 1 Apply power to the Printer. 2 Ensure that the Printer is connected to the network via the RJ45 jack on the back of the Printer. 3 Wait up to one minute for the Printer to allow the Printer to obtain an IP address from DHCP. 4 Press Info Then hit Next until you get to the IP: prompt. Display: IP Address Card HDP5000 Cups (Linux & MAC OS) User Guide Rev1.
Probing for Fargo Network Printers on the Network The fargo-netprobe program installed with the driver can be used to probe for Fargo printers on the local subnetwork. This program must be run as root: # fargo-netprobe 192.168.1.127 Reviewing the File Listing /usr/share/cups/profiles/sRGB.icm Reference Color Profile /usr/share/cups/profiles/HDP5000CLR.icm Printer Specific Color Profile /usr/share/cups/model/HDP5000.
Printing a Sample Card Entering the Print Only Command Using the Fargo Card Printer ---------------------------To test the functionality of the printer, you can type the following command to print a sample card (root privileges not necessary): $ lpr samplecard.jpg Entering the Print with Mag Encoding Command Run the following command: # lp –d [PrintQueueName] –o “Magtrack1=%25MAGTEST1%3F Magtrack2=%3B1234567890%3F Magtrack3=%3B1234567890%3F” [filename] Managing Printer from the Cups Web Interface.
Setting Printer Options For many types of files, the default printer options may be sufficient for your needs. However, at times you may need to change the options for a particular file you are printing. Cups provides both they System V (lp) and Berkeley (lpr) printing commands. The lp and lpr commands allow you to pass printer options using the –o options: lpoptions –o landscape –o scaling=75 –o media=A4 filename.
Ethernet Installation Procedure for the CUPS Driver Step 1 2 3 Procedure On the home page click the add printer button. On the Add Printer page Enter a name for the printer. The name cannot contain any spaces. Enter a description of the printer’s location. Enter a description of the printer. On the Device for (printer name) page, select “Internet Printing Protocol (ipp)” HDP5000 Cups (Linux & MAC OS) User Guide Rev1.
4 5 On the Device URI for (printer name) page enter the IP address of the printer in the format of socket://aaa.bbb.ccc.ddd:9100 where aaa.bbb.ccc.ddd is the IP address shown on the printer LCD display On the Make/Manufacturer page, select Fargo Electronics from the Make: list HDP5000 Cups (Linux & MAC OS) User Guide Rev1.
6 7 On the Model/Driver page select HDP5000 from the Model: list and click the Add Printer button Refer to the users guide to set up the print options. When you have completed setting up the options click on the Set Printer Options to save your changes. HDP5000 Cups (Linux & MAC OS) User Guide Rev1.
8 Click the Print Test Page button to confirm printer operation. HDP5000 Cups (Linux & MAC OS) User Guide Rev1.
Printer Maintenance Options for Linux and Mac Performing a Ribbon Sensor Calibration Step Description 1 Ensure that the ribbon cartridge is removed. 2 Ensure the Printer’s cover is closed. 3 From a terminal window enter: fargo-sendprn “/usr/share/fargo/HDP5000/RibbonCalibration.prn” The Printer’s LCD will display CALIBRATE PASSED. Click on the OK button on the LCD display to complete the procedure. La m La m La m La m Fil m Fil m HDP5000 Cups (Linux & MAC OS) User Guide Rev1.
Performing a Film Sensor Calibration Step Description 1 Ensure the film cartridge is installed. 2 Ensure the printer cover is closed. 3 From a terminal window enter: fargo-sendprn “/usr/share/fargo/HDP5000/FilmCalibration.prn” The Printer’s LCD will display CALIBRATE PASSED. Click on the OK button on the LCD display to complete the procedure. La m La m La m La m Fil m Fil m HDP5000 Cups (Linux & MAC OS) User Guide Rev1.
Performing a Lamination Sensor Calibration Step Description 1 Ensure that the cartridges are out of the Laminator. 2 Ensure the Laminator cover is closed. 3 From a terminal window enter: fargo-sendprn “/usr/share/fargo/HDP5000/LaminatorCalibration.prn” 4 The Printer’s LCD will display CALIBRATE PASSED. Click on the OK button on the LCD display to complete the procedure. La m La m La m La m Fil m Fil m HDP5000 Cups (Linux & MAC OS) User Guide Rev1.
Cleaning the Printer Step Description 1 Remove Card, Film and Laminate cartridges and close the covers. 2 Remove the paper backing from both sides of the Cleaning Card. *Note: (DO NOT remove left liner if a magnetic encoding module is installed in your printer) 3 Insert the Cleaning Card into the Card Hopper’s infeed rollers. 4 From a terminal window enter: fargo-sendprn “/usr/share/fargo/HDP5000/CleanPrinter.prn” 5 Guide the Cleaning Card into the printer if necessary.
Printing a Test Card Step Description 1 Ensure that the cards are in the hopper. 2 Ensure that YMCK ribbon is installed in the printer. 3 From a terminal window enter: lpr -l “/usr/share/fargo/HDP5000/HDP5000Tst.prn” 4 The test card should print. HDP5000 Cups (Linux & MAC OS) User Guide Rev1.