Any one knows if java print api can drive kitchen or bar printers
Any one has experience about java on control kitchen or bar printers?
I am developping a program used by POS. I need to control those printers which located
in kitchen, cashier places. I want to print order info to kitchen, and print check to customers.
I am not sure if java print api can easily control those printers.
any can have experience on it?
Not an elegant solution, but it works.
(When I wrote this program I had 3 problems:
1. I didnt know the java printing system
2. I can't install the POSprinter under linux and windows
3. I didnt have time
so I printed directly to the port)
boolean isLinux=true;
File ifile = new File ("/dev/lp0");
if (!ifile.canWrite()) { // Windows
ifile = new File ("blokk.txt");
isLinux=false;}
try {
FileWriter fw = new FileWriter(ifile);
fw.write(".....\r\n");
fw.write(".....\r\n");
fw.close();
} catch (Exception ex) { ex.printStackTrace();}
if (!isLinux) {
try {Runtime.getRuntime().exec("blokkprint.bat");}catch (Exception ex) { ex.printStackTrace();}}
/* blokkprint.bat contains: copy blokk.txt lpt1*/
Similar Messages
-
Does any one know of software that you can import a PDF and then draw on it, dimensions, notes and symbols...technical drawing?. Blue beam have the perfect software for this BUT it's not Mac compatible
You need a PDF editor, at the high end use Adobe's Acrobat Professional, at the low end use the editing features in Preview (pre-loaded on your iMac). However you should probably look at the Mac App Store, you will find many of PDF editing applications. You simply need to find one that suits your needs.
-
Any one know where to download this version of API??
Does any one know where to download java api version 1.0???
the earliest I can get is 1.3.
please help
thanksOn the archive page you can download JDK version
1.1:
http://java.sun.com/products/archive/index.html
But why would you want that, just because you're
curious about what Java looked like back then? It's a
lot more primitive and a lot slower than the current
version of Java. You don't want to develop serious
programs with Java 1.1 anymore.thanks, but I really need the API of ver. 1.0 not 1.1.
the reason is just simply I want to understand the event handling model version 1.0.
btw, I have found an online based API of version 1.0. Any one knows where is the downloadable format??
thanks -
Hello. I have an iphone5 and I use it for a hotspot for mylaptop and printer. Does any one know a device that will extend its range? I have tried a Netgear and Belkin range extenders without any luck. The Belkin was closest to working. IT could find my iphone but when it create a new network, both the laptop and printer could not find the new extended network. Thank you!
Hi - you can do what you want to do with AirPlay from your iPhone - but unfortunately it is not as easy as the people in the Apple store told you - your first problem is that you have a non Apple router - you cannot extend a non Apple router wirelessly with the Express - you can only join the network and connect an ethernet device to it - you can however connect via ethernet and have it create a wireless network of its' own - you can set this up from your iPhone or the XP - but this is a complicated setup and would involve many different discussion areas of this forum - therefore I would suggest that you use your 90 days of support and consult directly with Apple to do this - go to this link - http://www.apple.com/support/contact/
-
How can I watch movies in germany with native tone, english? Any one knows how to switch the language when renting a movie?
I wonder the Format Tables macros on my site could be adapted?
http://www.grainge.org/pages/authoring/word/word_macros.htm
If not, I have used Macro Express to format tables in Rh. No reason it could not be used in Word.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Everytime I press down on down key it opens automator. It doesn't let me delete the app. I don't know what to do, it is very frustating to fill in a chart when I can't use the down key. Does any one know how to disable this short cut?
Are you talking about the Down Arrow key? To my knowledge there is no way to use that key as a shortcut for anything. But look in the Keyboard section of System Preferences and the Keyboard shortcut tab.
-
why can't i send or receive pictured messages in my iphone 3 gs? if any one knows what to do please lert me know.
Make sure your account is provisioned for messaging/texting.
Also, Settings > Messages > MMS Messaging > On -
I deleted all my playlist by mistake from itunes. tried copying them to on the go on ipod and thought it would copy it on to my itune but it didn't. does any one know how i can do this without redoing all my playlists. thanks
Are the playlists still on the iPod? If so I can probably cook up a script to read them back into iTunes, or you can check the features of the various tools listed at the end of this user tip to see if you can find one that you want to use.
tt2 -
I am using a verizon email address and microsoft office for mac outlook program to manage my emails. Does any one know if the apple outlook version offers the ability to save emails as a pdf so that I can save it to my hard drive and how to access?
This is the Microsoft forum site that parallels what Apple has:
Office for Mac forums
It's not uncommon for MS employees who work with the Mac side of the business to help there. All in all a useful resource for Office:Mac -
Hi I installed a new hard drive in my Mac mini osx lion an when I turn it on I get a flashing file with a question mark. I tried holding command and R keys when turning it on but the recovery fails to work. I can hold the option key at start up and choose my network, then Internet recovery shows up with an arrow pointing up. When I click on the arrow Internet recovery fails and all I get is a globe with a triangle on it with an exclamation mark on it, and under that it says
apple.com/support
-6002F
Does any one know how I can fix this without a recovery disc? ThanksI just want to add to this, in case someone else searches for this error on Apple Support (google doesnt cover apple support.. how clever is that?)
I had the same error. And i had a Computer that had worked, with a SSD drive and 16GB upgrade done by the owner himself.
I tried swapping with a Mechinal Harddrive, no luck.
Kept the Mechanical drive in, and tried with some other Ram, it worked..
So for me this error and after reading the other responses can be boiled down to a Harddrive problem or Ram issue.
It was Ram for me.. -
I can not install new update in Photoshop CC, does any one know, how I can install the new update?
Photoshop CC show me, if I look on "Help" -> Update, there is no update. But my actual license is very old....
I tried it, to do it manual. But there is also some problem.totally agree. at this point i could care less if "apple" supports it. i'm not renting my ipod touch, it's mine. i paid for it. and i'm not asking to do anything illegal with it, all i want is to get rid of this POS ios6 and get back to being able to use my ipod touch the way it was before...working.
-
I'm living in Iran and I have an ip address for VPN but I'm having problem in setting it up any one knows can anyone tell me what to do? It works perfectly on my laptop
Try here:
iTunes Store: My credit card's security code or zip code does not match my bank's records
Then try contacting iTunes
Apple - Support - iTunes - Contact Us -
Does any one know if Apple is going to make the necessary changes to the new pages program so we can merge our contacts into a letter as before
No.
No more than anyone knew they were going to take away over 90 features.
Have you tried using Pages '09 which should still be in your Applications/iWork folder?
Peter -
Does any one know where I can Find the Photoshop CC ScriptingListener Plugin?
Does any one know where I can Find the Photoshop CC ScriptingListener Plugin? I have CS6 but I need CC . It's a new Version and I feel its probably not a good Idea to use the old version(CS6).
Hi shawn moore,
The ScriptingListener Plugin is the same for CS6 as it is for Photoshop CC, all you need to do is copy and paste the plug in into the appropriate plugins folder.
Here is more information and links to the ScriptListener Plugin:
ScriptingListener Plug-in
This package contains the ScriptingListener plug-in, scripting documentation, and sample scripts. The ScriptingListener plug-in can record Javascript to a log file for any operation which is Actionable.
Download the ScriptingListener plug-in package from the following locations:
For Mac OS:
Scripting Listener Plug-in for Mac
For Windows:
Scripting Listener Plug-in for Windows
To install the ScriptingListener Plug-in
Mac
Unzip Scripting Plug-In Release.dmg.
After you unzip the package, you will see three folders: Documents, Sample Scripts and Utilities. Drag the Utilities folders to the Applications\Adobe Photoshop CS6\Plug-ins\ or the Applications\Adobe Photoshop CC\Plug-ins\ folder.
Note: Alternately, you can create a new "Scripting" folder inside the Plug-ins folder and drag the contents of the package there.
Hope this helps! -
does any one know if you can upload a program to use windows on the ipad, like you can with the mac computers??
karleyfrombrisbane wrote:
does any one know if you can upload a program to use windows on the ipad, like you can with the mac computers??
Nope, can't be done.
Stedman
Maybe you are looking for
-
Adaptive Processing Server vs WEBI reporting server
I'm planning for production configuration, I want to know when I perform following actions, which server is used? webi or Adaptiive Processing... 1. User refreshes a webi report (webi?) 2. Schedule a webi report (webi and Adaptive Processing? ) I
-
Problems using Mac Mini with a Sharp 60" led 1080p
My Mac Mini is connected to a Sharp LED 60 "and I use the VGA input but when I use 1080p resolution, then the text becomes blurred and chopped up. Why does this happen?
-
Layout Style "tree-form" with Wizard Style Layout checked
Dear all, I am using layout style "tree-form" with Wizard Style Layout check box checked. intention is to display the hierarchy in tree and insertion with the help of Wizard for the last block. But with above settings, generated form is displaying as
-
I am trying to burn a Blu-ray DVD the disc Info says 6.56 is used and 18.44GB is free. I am using a 25GB sony Blu-ray DVD. The error code says there is "not enough free storage", Code:"25", Note: "not enough hard disc space". Is this a problem with t
-
Is there a way to set up a google search page to come up when I select "open a new tab". I see options to set it to blank, but not say to the google website. When I open Firefox, it brings up the google site, just not when I hit open new tab. Thank y