I have a report in Crystal Reports that runs and works great. However, there is an issue that I am facing. Right now, it runs, prints the patient copy, blank section, and then office copy of a purchase receipt. The problem is this all printers on one sheet of paper to an Epson thermal printer before it cuts. Then we have to tear between the two copies to give the customer theirs and keep ours. What I would like to find out is if there is a way to simulate 2 reports in one. So the out come would be this: prints customer copy, cuts the paper, prints the office copy.
I have attached a screen shot of how it is current set up and wanted to see if anyone had some suggestions on how I could possibly get the result I want without telling it to run 2 reports.
Thanks for any and all help.
Current Report Design
As of me it may not possible. You have to give separate print command to thermal printer. E.g. Pass the parameter as Patient Copy and Print it. again call & print the same report with pass the parameter as Office Copy. Hope by doing this it will solve your problem.
Related
After countless days and hours, I finally can upload my sketch into my NodeMCU successfully. But, just after that, I've got another problem.
If you've checked my previous post, you'll see I have two sketches. The first one is at my question and the second one is at my answer. After uploading the second one, I decided to upload another sketch, which is the first sketch. But when I check the result after the IDE says: "Done uploading", I know that the NodeMCU is running the previous program (which is written in my second sketch) based on what the Serial Monitor has printed. What I want is the result of my first sketch, not this. Anyone can help?
I've a pc running Windows 7 Pro X64 connected to a plotter HP Designjet 800. Usually I send a lot of DWG files to the plotter and leave it alone working: plotter can take hours for finishing the job. It can happen that some issue occurs that causes a stop: jammed paper, ink finished or other kind of problem and it is very annoying discover at the end of the day that the plotter has stopped printing after few prints or worse not even one print. So in this kind of scenario I thought to realize a procedure for checking plotter status periodically and alert me if something goes wrong by email or by other way. I'd like to implement this solution in VBScript. I tried using WMI via VBScript but I'm not able to get the infos I need. Do you know if there is a way (natively or also using a third-party utility) for checking printer status via command line and getting infos like missing paper, jammed paper, ink level and so on? On HP site there is a little utility but it doesn't work via cli and it can't say if a jammed paper occurs. Thanks a lot guys for your time!
I'm looking to make an app be able to print out a stick on name tag based on some fields that the user has filled out. The catch is that I don't want the user to have to interact with any sort of system print dialog, I just want it to go straight to the printer and print out after they submit.
The other catch here is that this will most likely be run on an iPad, so I will need to try to send this print job over the air either on wifi, somehow to a computer that is usb connected to the printer or over airprint if I can find one that is small enough and supports the right paper.
I've seen some solutions here and there that require the app to run on windows, or to be connected to the printer some how.
I'm not sure if this feat is possible with this setup, but the most important part is being able to print in the background, if the iPad is going to hinder that, there is a case we can make to our client for getting a small, cheap, windows 8 touch tablet instead of an iPad since I know it has a few more capabilities in this area as it seems through my research.
It doesn't matter what version of ruby or rails it's in and I don't care if it's 2 steps or 200, if the user experience is there, I can make a case for the increased work load needed to make something work.
I'm not a very experienced rails developer, but this project is my first big project that is simple enough that I can tackle it. If more information about how their name tag info is being collected I can shed some light on that as well but I don't think it matters. Whatever I'm printing I need the experience to be the above.
Have a look here: http://support.vendhq.com/hc/en-us/articles/201378390-Enable-kiosk-silent-printing-for-Google-Chrome-on-Windows-Video- under 2) Kiosk printing for Google Chrome
Basically this is using Chrome's Kiosk printing mode. So you would have to get a PC for it to work.
The "print dialog" will pop up shortly but then automatically disappear the the document will print.
sorry for this little bit strange title, didn't found a better one..
I've got the following situation:
I have a PC with an RFID reader connected via USB.
I now need a program which pops up when ab transponder was scanned the the RFID reader and shows the scanned value. (The reader just simulates keystrokes)
Problem: the value of the transponder is something like 0001230431, and I can't change it. (To prefix a hotkey combination or so)
So I have thought about using a global keyboard hook, check if three zeros where typed in, capture rest of data and when the 10 digits are complete, call the application through an automation object and show the number.
But I'm not very exalted about using a global keyboard hook. Many AV programs don't like them very much, they are not so easy to handle with Delphi and I guess that's not very resource-friendly for such a little task...
So I'm looking for an alternative solution...maybe somebody has an idea?
Big thx!
ben, you can use the RegisterRawInputDevices and GetRawInputData functions.
first you must use the RegisterRawInputDevices function to register the input device to monitor and then you can retrieves the data from the input device using the GetRawInputData function.
Check theses functions too
GetRawInputDeviceList retrieves the list of input devices attached to the system.
GetRawInputDeviceInfo retrieves information on a device.
Why not make sure the Delphi app with a text edit control has focus before the scan is done? Then the keystrokes will go straight into your Delphi app.
In Internet Cafes where people are allowed to print, sometimes they print more pages than they intended to.
I'm looking for a way to display an "Are you sure you want to print X pages?" dialog after they pressed print (in any application), but before the job is sent to the queue.
I'm looking for pointers on how to implement such a hook.
(I have considered modifying a FOSS PDF printer to first print into a PDF and then display the dialog and then if the user presses "Yes", print it on the real printer. But this seems a really roundabout way of doing this and one also loses printer-specific features this way.)
One of the things you could do which is also kind of round about, is pause the print spooler, print your job, get a page count, and then prompt the user for confirmation. If the user okays the job, then release the spooler. I don't have the API calls handy but I have manipulated spooler queues quite easily.
Of course the downside to this idea is if the queue is server-based and potential permission issues could be afoot.
Another alternative would be to force the output to a WMF or EMF file and tally the page count that way, then hand it off to the spooler. This is similar to your notion of outputting it to a PDF, but uses a native approach. (This is essentially what applications typically do(did) for doing previews-- rendering the job in a metafile format which is then displayed on screen or spooled to the printer)
Unfortunately there is no way to get the page count ahead of rendering the print job unless you are intimately aware of the contents and can judge it, so you are forced to at least go through the motions of printing.
Hope this helps.