Simply print commands, Printing with magnetic stripe encoding, Printing with f-panel – HID DTC1000/4000/4500 User Guide LINUX & MAC User Manual

Page 23: Print to file

Advertising
background image

© 2011 HID Global Corporation

All rights reserved

DTC1000/DTC4000/DTC4500 CUPS Driver User Guide - LINUX (L001452, Rev 1.2)

23

Simply Print Commands:

lpr -P [printer] [filename]

OR

lp -d [printer] [filename]

Printing with Magnetic Stripe Encoding:

Run the following command:

lp -d [printer] -

o “MagTrack1=%25MAGTEST1%3F MagTrack2=%3B1234567890%3F

MagTrack3=%3B1234567890%3F” [filename]

Printing with F-Panel:

Run the following command:

lp

–d [printer] -o "FPanelFrontFilename=[Fpanel-filename]" [filename]

Print to File:

Run the following command:

lp -d DTC4500_LPT -o PrintToFile=/home/fargo/output.prn
/home/fargo/Desktop/TestCardGirl.pdf

With this command line, the printer data stream is written to the specified file.

Advertising