The Tournament Director Forums
Main => Help Me => Topic started by: Stuart Murray on October 30, 2010, 07:25:36 AM
-
Hi all,
Has anyone made a receipt template for a 82mm Thermal Printer, I've tried in vain to widen the standard receipt but just can't my head round it!
Anyone who has one made up please get in contact.
Regards
Stuart
-
Hi, I have the same problem. Did you find an answer for it ?
Urgent, tournament tomorrow :)
Thanks :)
Best regards Erik
-
Try this: is for a 80mm
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=<charset>" />
<title>Receipt</title>
</head>
<style type="text/css">
BODY, TD
{
background-color: #ffffff;
color: #000000;
font-family: Arial;
font-size: 8pt;
}
</style>
<body>
<table border="0">
<tr>
<td>
<table border="0" width="100%">
<tr>
<td align="center" style="font-size: 17pt"><nobr><IMG SRC="insert link to the image" width="200" height="200"></nobr></td>
</tr>
<tr>
<td align="center"><nobr><date> <time></nobr></td>
</tr>
<tr>
<td align="center"><nobr>Tournament Director: <salesperson></nobr></td>
</tr>
<tr>
<td align="center"><nobr>ticket n. <receiptnumber></nobr></td>
</tr>
<tr>
<td align="center"><nobr><eventname></nobr></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<table border="2" width="100%">
<tr>
<td align="left"><nobr>NAME:</nobr></td>
<td align="right"><nobr><nickname><nobr></td>
</tr>
<td align="left"><nobr>TABLE:</nobr></td>
<td align="right"><nobr><tablename><nobr></td>
</tr>
<tr>
<td align="left"><nobr>SEAT:</nobr></td>
<td align="right"><nobr><seatnumber><nobr></td>
</tr>
<tr>
<td align="left"><nobr>ID PLAYER:</nobr></td>
<td align="right"><nobr><id><nobr></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="left"><nobr>Total</nobr></td>
<td align="right"><nobr><total><nobr></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
I also had problems with this format, but it was related to the Printer settings (paper choosen was not the correct one)
-
Thx, that did the trick :)
Was wondering about the autoprinting, my thermal printer is set as default in the windows printer and faxes. The problem is that when using the auto print function, the print dialogue box is displayed, so I still have to manually press the print button. Do you know how to fix this ?
The default setting in the program is %p (I reckon this is the function that presses the "print" key after the buy in process. Is it possible perhaps that this %p can run twice ? So I don t have to press print in the dialogue box proviced by the printer ?
Thanks :))
Best regards Erik
-
mmm my Thermal Printer doesn't pops up with a printing dialog... i can't help you. my TP is this one:
(http://www.custom.it/immagini/products/pos_printers/KUBE_main.jpg)
-
The default setting in the program is %p (I reckon this is the function that presses the "print" key after the buy in process. Is it possible perhaps that this %p can run twice ? So I don t have to press print in the dialogue box proviced by the printer ?
Actually, % means to press the "Alt" key and "p" means to press the "p" key. If, from Internet Explorer, you select File -> Print, you'll get a pretty standard "Print" dialog. Pressing Alt+P on that dialog is equivalent to clicking the "Print" button. This is what the default settings are configured for.
You'll need to determine what keypresses are needed from the "Print" dialog that you are seeing (which may be different), and set those keystrokes in the Keystrokes to send field. The following page describes valid keys combinations you can use:
http://msdn.microsoft.com/en-us/library/8c6yea83.aspx
This will, of course, eventually be in the user manual ... :)
-
Hi, and thank you for a quick reply :)
I agree with you regarding the ALT+P (this produces the print dialogue) But when the print dialogue is there, is there a way for the program to press f.ex "Enter" to confirm the print out ?
Thx :)
-
Yes. See the link I provided in the previous post.