I have a friend with an ancient dBase III program. He says it does not print when connected to a USB parallel port printer and is considering converting the program to MS-Access. There are some 400 forms and reports, however, so I am wondering if there are other more cost-effective ways to solve this problem.
Firstly install your usb printer and make sure it print in windows
share your printer and give it a share name...eg.."test"
get the ipadress of the pc you installed the usb printer to
open command prompt...as administrator
type..net use lpt1: \\ipadress\share name
ipadress= ipadress of the pc with usb printer
share name= test..as in the example
it will say...command completed successfully...voila you can now print
Related
I wanted to ask if it is possible to get the data that is sent to the printer that is connect via USB cable. When the document is sent to the printer, the document data will be stored in a text file, but the print job will not be interrupted.
Is it possible to test printer driver correct working without having a printer physically? I suppose this is it not possible because each printer uses its own print commands and protocol, so in most cases driver's output will not be recognized by 3d-party tools. But who knows...
You can find below root of the issue and what I tried to do.
A client complains that our PDF file is not printing correctly with their HP_LaserJet_Enterprise_M506-PCL_6_Win8_Plus_Full_Soln_18141.exe 8.00.1329.4861 drivers. For testing purposes the client tried to use HP Universal Print Driver for Windows PCL6 (64-bit) 6.8.0.24296 and and was able to print with no issues. But unfortunately they are using programs that require specific model drivers.
So, I tried to install printer drivers (different printers, actually) and map them to corresponding virtual ports for the following:
PDFCreator
CutePDF Writer
doPDF
OneNote
Print to file
Unfortunately, nothing helps. PDFCreator returns "Internal Ghostscript error. (29100)"; cutePDF produces empty PDF; doPDF do nothing; OneNote generates unspecific error; print to file generates .prn which is useless without the specific printer.
So, I'm pretty sure that there is no way to verify that the drivers produces correct output stream without having physical printer corresponding to this driver. But I will be glad to be mistaken.
I need to send the tickets directly from the Point of Sale to an ESC/POS printer.
I was wondering if the only chance to print in a ESC/POS printer is to use the PosBox to print tickets directly from Odoo or if there is another way.
The PosBox is a little hardware box based on a Raspberry-Pi that will handle all the peripherals' drivers and setup in a very easy way
So my questions are:
How could I create a Virtual ESC/POS Printer? I would like to use something similar to the Virtual PDF printer, in order to print the tickets to PDF and make some test while I am programming. Is that possible?
What is there in the PosBox image ("Raspberry Pi Image") to make it work everything out of the box?
If I have the ESC/POS printer correctly installed and connected to a computer with Windows System. The Odoo Server is accessed remotely from this computer. I have installed the hw_escpos module. Could this work or the use of the PosBox is mandatory?
I am working with PosBox so as per me if you are managing odoo remotely and your printer is attched with some our system which is not direcly connected to you odoo server so in this case you need some extra device to bridge your harware(printer) and software(odoo). So here PosBox comes in picture. Or any other device if they can compatible with both system so it is also useful. In case of your answer:
1) If you are programming and you want to check printed ticket's PDF then you can do it via your xml template file. From that you can pass arguments under <report> tag.
2) In PosBox we need to insert an image i.e. OS image so that this device can work as your CPU of your system. In that image there are some h/w modules of odoo. i.e. hw_escpos, hw_proxy, hw_scale etc. kind of hardware modules are there. Also apart from this one odoo instance is running on from that device so you can manage all data from that link.
3) If all things are connected in a single system and odoo is working remotely then no need to you PosBox to print ticket. PosBox only helpful when your printer is attached remotely in any other place and odoo is working to any other system and after this you are accessing odoo to any 3rd system and you want to print ticket where printer is connected any else system so then and then only need to use of PosBox.
My background is that I have been supporting a Vb5 application which controls my customers equipment in real time. He is now developing a new control board which will be connected to the PC via USB.
As I understand it connecting the device will generate a Com port. At the same time we will upgrade to VB.net, which is new to me.
I have Visual studio 2015 Community edition. I have written a routine using GetPortnames to ascertain how many com ports there are and what numbers (COM4, etc) they have.
How do I find what USB devices, if any, are attached to the com ports together with any identifying data of the device?
Already answered, next time please google first.
The key word that I type in google was: vb usb
Link
I have built my own USB HID device. I want to check, if it is working correctly.
I want to check the descriptors sent by the device, display input reports and send output reports. What tools are capable of this task and runs on Windows 7 64 bit?
On a day-to-day basis I use USBlyzer. It works well on Windows 7 64-bit.
As far as free tools go, the Windows DDK includes (in C:\winddk\7600.16385.1\tools\avstream\amd64) a tool called UVCview.exe ("USB device viewer") that shows at least some descriptor information.
You might also try Wireshark, but I admit, I only use it for network and can't speak to the quality of its USB capture.
(even though it's an old post) - here is a convenient and free solution:
Our Docklight Scripting software can test custom USB HID devices in the free (evaluation) download already, no time limit. Tested both on Windows 7 and Windows 10. You can access your device via the chosen VID and PID, display input report data and send output reports, even with variable output report ids.