o guarantee that any of the examples shown in this
Technical Note
Epson TM-T88IV printer
This document is intended as a guide for application developers and describes how to implement a
Epson TM-T99IV printer application with MultiQ Media player 4, 5 and Media monitor 4, 5, 6 and 7.
The reader is presumed to have prior knowledge of software development and it is desired to also
have knowledge of Linux and Linux systems in general.
This guide applies to products with firmware version 2.10.X or higher.
Important!
MultiQ Products AB provides n
document will work for any particular application or that the descriptions will be valid for
future firmware or product versions.
MultiQ Products AB cannot and will not be held liable for any damage inflicted to any
product as a result of the examples or instructions mentioned in this document.
MultiQ Products AB reserves the right to make changes to this document and to product
specifications without prior notice.
MultiQ Products AB provides NO support for application development of any kind. The information here is provided "as
is", and there is no guarantee that any of the examples shown will work in your particular application.
Page 2
MultiQ Products AB provides NO support for application development of any kind. The information here is provided "as
is", and there is no guarantee that any of the examples shown will work in your particular application.
Table of Contents
1 Revision history .................................................................................................................. 3
Advanced administration and configuration .................................................................................. 7
4.3
Administration of printers and CUPS ............................................................................................. 7
4.4
Add support for other printers .......................................................................................................... 7
4.5
Example .................................................................................................................................................. 8
MultiQ Products AB provides NO support for application development of any kind. The information here is provided "as
is", and there is no guarantee that any of the examples shown will work in your particular application.
1 Revision history
This version of the User Requirements Specification becomes effective on the date of final
approval. If changes are made that affect the document’s content or approach, a revised, complete
document must be issued for re-approval by the roles of the approvers of the original document or
their designated representatives. A description of those changes with revision number will be noted
in the revision log below:
Version Date Comments
1.00
2010-02-10 Initial version
1.10 2010-06-30 Updated for release of firmware version 2.10 for media
monitors and media players.
Technical Note – Epson TM-T88IV printer 3
Page 4
MultiQ Products AB provides NO support for application development of any kind. The information here is provided "as
is", and there is no guarantee that any of the examples shown will work in your particular application.
2 Introduction
The MultiQ media monitors and media player can be used with a range of external equipment such
as printers, scanners and card readers. In this technical note the use of the Epson TM-T88IV printer
is described.
Figure 1. The Epson TM-T88IV printer used with MultiQ media monitors and media players.
Adding a printer to a media terminal or a media player makes it possible to print an extract of what
is shown on the screen or other information of interest to the user. For example to print queue
tickets in queue handling systems.
Technical Note – Epson TM-T88IV printer 4
Page 5
<html>
</html>
<html>
</html>
MultiQ Products AB provides NO support for application development of any kind. The information here is provided "as
is", and there is no guarantee that any of the examples shown will work in your particular application.
3 Connect the Epson TM-T88IV printer
Connect the TM-T88IV printer to the media player/monitor using the USB cable. The printer should
be ready for use.
To initiate printing a print command has to be sent to the printer. In this application note one
possible way of doing this is described.
In this example we use a web page “printerpage.html” on which there is a button initiating the
printout of the content of a framed element contained in the file “printout.html” on the same page.
printerpage.html code
<head>
<script>
function printf ra me (fr ameid)
{
document getEle me nt ByI d(frameid) con te ntW in do w print();
}
</script>
</head>
<head></head>
<body>
<font style="font-size:40px;">
<p>40px text
<i>In Italics</i></p>
</font>
</body>
Technical Note – Epson TM-T88IV printer 5
Page 6
MultiQ Products AB provides NO support for application development of any kind. The information here is provided "as
<html>
</html>
is", and there is no guarantee that any of the examples shown will work in your particular application.
Will give the following printout
Figure 2. Printout from above example code
In many it is desired not to display on screen the actual content that will be printed, here you may
place printout.html as a hidden frame and have it print immediately after being loaded. Printout will
be the same as in Figure 2.
Alternate printout.html code to print on load
<head></head>
<body onload="window.print();">
<font style="font-size:40px; ">
<p>40px text
<i>In Italics</i></p>
</font>
</body>
Of course the content of the webpage as well as the framed element can be changed for specific
applications. The code only contains the standard elements used when printing from web pages.
For applications not communicating with central systems, such as queue ticket systems or printout
of other information that is not updated very often it is advisable to publish the website to a zipped
folder that is stored in the media monitor itself. How this is done is described on pages 79-86 in
the DSMS3 Users manual that can be downloaded from the download page of the service &
support section of the MultiQ website.
Technical Note – Epson TM-T88IV printer 6
Page 7
MultiQ Products AB provides NO support for application development of any kind. The information here is provided "as
is", and there is no guarantee that any of the examples shown will work in your particular application.
4 Further information for developers
4.1 For printing the following is used
CUPS
http://www.cups.org/
GhostScript (ESP Ghostscript is a versatile processor of PostScript data)
The following sections require SSH login to the media player.
It is setup to use
/dev/usb/lp0
4.4 Administration of printers and CUPS
There is web gui for administrating printers and CUPS.
Surf to:
http://
(you might need to enable access in /etc/cups/cupsd.conf in the client)
<client_ip>:631
4.5 Add support for other printers
To add support for a new printer you need to do this:
Add drivers/filters:
They are placed in /usr/lib/cups/filter/
Add a PPD file:
PPD files are created by vendors to describe the entire set of features and capabilities available for
their PostScript printers.
They are placed in /usr/share/cups/model/
Technical Note – Epson TM-T88IV printer 7
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.