Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Passbook printing logic.  RSS feed

 
Pranit Sonawane
Ranch Hand
Posts: 172
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI all I have an application where in I need to use passbook printer such as Epson PLQ - 20. All I need to do is if a client has paid 4 EMIs and its record will be printed on a passbook paper also half of the page will be printed and half of it will remain empty. When a client comes to pay 5th EMI then is should skip those 4 records and print 5th record also skip 4 rows of passbook page which are already printed.
Hope my question is understandable. Please let me know if you need more explanation on this. But Help me out to solve this problem.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do not post in all bold font. KeepItDown

Your requirement should be split into two parts
1) Interfacing with the specific printer to find information you require to print your data
2) Using this information to actually print the data

So what have you tried so far? Did you check what support this particular printer offers to facilitate your requirement?
 
Pranit Sonawane
Ranch Hand
Posts: 172
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So what have you tried so far?


Hi I don't have that printer available here with me. and hence I haven't tried anything yet. Now all I need to do is subsequent printing. So do you have any clue about passbook printer. like will it skip those many lines which it had printed last time?
 
Paul Clapham
Sheriff
Posts: 22374
42
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The general answer is that you should start by getting the documentation for the printer and looking there for answers.

But you seem to be asking whether the printer keeps a database of everything it has ever printed for any customer and filters out lines which it has printed before, no matter how many months ago. I think you'll find the answer to that question is "No". Or more precisely, I don't know anything about your printer so it might be a highly-intelligent database-enabled device, but I very much doubt it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!