Community discussions

MikroTik App
kthameen
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 87
加入: Wed Dec 21, 2005 4:22 am
Location:Leuven,Belgium

Feature Request:Usermanager POS printer

Wed May 14, 2008 8:14 pm

Dear Mk,

We are offering since 1 year your hotspot system mainly for hotels,cafes,and resdential compounds.One of the main features that competitors have over our system is the ability to print a receipt with login info by a POS printer.Is this feature doable with Mk ? There is a good brand which has pos printers with linux drivers called star micronics, All you need to do is issue a print command from userman using forexample:gimp in linux.

Best Regards,
Top
csickles
Forum Guru
Forum Guru
Posts: 1255
加入: Fri May 28, 2004 8:46 pm
Location:Phoenix, AZ
Contact:

Re: Feature Request:Usermanager POS printer

Wed May 14, 2008 11:08 pm

I do it currently..

I save the CSV file to a folder and then a pice of VB code picks up the file and prints it to an Epson POS printer...

Take a look at the WIKI under usermanager for an example ..
Top
kthameen
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 87
加入: Wed Dec 21, 2005 4:22 am
Location:Leuven,Belgium

Re: Feature Request:Usermanager POS printer

Thu May 15, 2008 2:11 pm

I do it currently..

I save the CSV file to a folder and then a pice of VB code picks up the file and prints it to an Epson POS printer...

Take a look at the WIKI under usermanager for an example ..
I meant having the printer hooked to routerOS thru serial or ethernet directly without the need of setting up any extra pc for this.There is some systems with a button that excutes a new voucher ,donnou if we can do this on routerboard,it will very flexible to end-users.
Top
csickles
Forum Guru
Forum Guru
Posts: 1255
加入: Fri May 28, 2004 8:46 pm
Location:Phoenix, AZ
Contact:

Re: Feature Request:Usermanager POS printer

Wed May 21, 2008 8:24 pm

Dont expect to connect a printer to your router, atleast not in the near future...
I spoke to the boys at the MUM and their reasons are sound...
Just what printer sould be supported? and do we REALY want the printer spooler / driver code on our ROUTERS ?

You will be better off printing from a second device...

CSV files are your freind...

There are several ways to create tickets from the CSV files and they can be printed from what ever printer you want to hook up to a workstation / appliance..

I happen to use a windows machine and I codded an application to pickup the CSVs and print them on a POS device.

The NEW user manager will provide other output formats IE pdf etc that will also make it easyer to format to your desired output device...
Top
kthameen
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 87
加入: Wed Dec 21, 2005 4:22 am
Location:Leuven,Belgium

Re: Feature Request:Usermanager POS printer

Thu May 29, 2008 8:14 pm

Hi Criag,

Its logical what are you saying, but I am not good in programming do have nice and neat way to transform batches to POS tickets ? And dont want to be complicated for clients

Dont expect to connect a printer to your router, atleast not in the near future...
I spoke to the boys at the MUM and their reasons are sound...
Just what printer sould be supported? and do we REALY want the printer spooler / driver code on our ROUTERS ?

You will be better off printing from a second device...

CSV files are your freind...

There are several ways to create tickets from the CSV files and they can be printed from what ever printer you want to hook up to a workstation / appliance..

I happen to use a windows machine and I codded an application to pickup the CSVs and print them on a POS device.

The NEW user manager will provide other output formats IE pdf etc that will also make it easyer to format to your desired output device...
Top
csickles
Forum Guru
Forum Guru
Posts: 1255
加入: Fri May 28, 2004 8:46 pm
Location:Phoenix, AZ
Contact:

Re: Feature Request:Usermanager POS printer

Thu May 29, 2008 8:37 pm

Let me see what I can whip up..

My current solution requires a copy of Bartender from Seagull scientiffic. $$$

I will se if I can build it in a more generic API form..

Craig
Top
andreacoppini
Trainer
Trainer
Posts: 498
加入: Wed Apr 13, 2005 11:51 pm
Location:Malta, Europe

Re: Feature Request:Usermanager POS printer

Thu May 29, 2008 10:28 pm

Dont expect to connect a printer to your router, atleast not in the near future...
I spoke to the boys at the MUM and their reasons are sound...
Just what printer sould be supported? and do we REALY want the printer spooler / driver code on our ROUTERS ?
It's been a while since i've last worked on them, but most serial POS printers can store templates in their NVRAM, then all that RouterOS has to do is send the pause command and then the print command to the printer together with a few parameters (username, password, uptime limit, system clock time, etc). Since RouterOS has sent the 'pause' command before the print, the printer does not actually print anything. The 'print voucher' button on most hotspot POS printers is usually just a 'pause' button, so when you press 'print voucher' you are actually unpausing the printer, which will print the voucher code details.

一旦凭证打印,打印机returns an 'OK' or similar response back to the PC (or RouterOS in this case), which can then send the new pause + print + parameters command, wait for the next OK to start the process all over again.

I'm 50% sure this can already be done through some intelligent scripting, i've just never had the time (or inclination) to try it out.:D
Top

Who is online

Users browsing this forum:Ahrefs [Bot],martinclaro,mrturand 41 guests