i am attempting to print labels from our custom CMS for products using EPL2 label printer drivers but having no luck.
the printer spits out about 12 labels (4x1") but no text is visible.
i set up the printer manually and using the CUPS admin interface and get the same results each time.
zebra doesn't make a native driver, but i am finding on the web that this driver should work.
any advice would be much appreciated.
thanks.
What kind of data are you sending to the device? If you're just doing a File->Print of the web page it should work with the OS drivers, no need to go into the CUPS interface. If you're writing to the spool folder you should be sending raw EPL code - look for the EPL Programming Guide # Zebra.com
Make sure you setup the device correctly as well.
http://www.nrgsoft.com/blog/?p=11
what ended up working was doing a factory reset and using #page along with paper size settings to print in the correct dimensions.
the only printer i could get to actually work the way it was supposed to was Chrome.
Related
Is there a way to upload directly files from ESP32 to Nextion Display?
I want to download pictures or TFT file with ESP 32 WIFI and upload it to Display. It would be really great if I can do it with a TFT file!
I am looking for a solution to this also for a car computer with sat nav.
But as far as I can tell it cant be done unless somebody hacks the nextion firmware.
I'm pretty sure I've seen an example for this once, but I can't seem to find it at the moment. The Nextion Editor updates the display over serial, so it should technically be possible. You could capture the serial data when doing an upload from Nextion Editor to see how it is done. I'll come back and edit my answer if I find the sample code or attempt this myself.
We have an application running within Electron which is successfully sending a byte array to the Windows print buffer and printing on all of our printers, except for one: "HP LaserJet Pro M402n". We found an option to print a history and the HP printer is tallying the phantom jobs as printed, but nothing actually was. We're at a bit of a loss on how to debug this, as it seems like an internal printer issue. Does anyone have advice on how to debug something like this? I'm thinking like Fiddler, virtual printer w/ debugger, etc. Any advice is appreciated.
Thanks
I'm doing a project to build printer using a microcontroller via USB. The MCU's USB is configured as printer class when I plug the MCU into the PC so that it is identified as a printer. I've installed generic/text only driver available with windows and hence i can see my printer in "devices and printers" listed under printer category.
My question here is if I want to print whatever is sent to the printer, I need to know the data being sent from PC. For example, if I print a pdf, I want to know what data is sent i mean the format like HEX values or anything like that. Once I know what is coming into the controller I can print.
Any input here is welcome.
Thanks in advance
Well, since your printer setting is a simple generic/text only, the data sent will be the text content of the PDF. No markup, not even bold text or italics. Any pictures in the PDF will not be sent at all.
If you wan more than that, you can write a driver for your printer. As the driver writer, you determine what's sent to the printer.
I created a Mac app/service that will be shown in menu bar (and not in dock) that will take care of printing through my cloud server.
What I'm looking is to show this as part of printer list. For example, when a user wants to print a word doc from MSWord, click on Command+P which shows the printer UI where user can select the printer. Now I want to show my app/service as part of the printers list so that the doc can be printed directly using my cloud server.
Is it possible to do such thing. Or any other ideas will be appreciated.
Thanks in advance.
--satyam.
We have to create a device driver. It cannot be achieved using regular application development in Java or Objective C.
I'm looking for writing virtual camera drivers. Does anybody has idea?
Any book that would be helpful or any link.
Adding more details:
I have developed a device driver which saves the image to disk and the display uses the device driver to display the image. The performance does not seem good.
The fns. that I have used are:
//to capture
GetDesktopWindow()
CreateCompatibleBitmap()
Save()
//to display
WM_MOUSEMOVE
giving a call to capture and display every time
but the display is not continuous and appears only after window goes out of focus and comes in focus again
Should I use some other technique to record or display images, what will give fruitful results, please help.
Thanks,
-mitesh
What do you mean by virtual camera driver?
It is possible to write a virtual capture device using DirectShow. Such a virtual capture device can then be used by applications such as skype, etc. If that suffices for your needs, you can download vcam from http://tmhare.mvps.org/downloads.htm under the "Capture Source Filter" link.
Edit:
In order to use that capture device in the link I posted you need to download the Windows SDK. The Windows SDK has a tool called "GraphEdit" If you search online, I'm sure you can find a quick GraphEdit tutorial. Basically GraphEdit allows you to construct a multimedia pipeline by connecting a bunch of filters. (This is what happens in the background for instance when you play a movie on your computer. ) This could be something like
web cam -> renderer
or
file source -> some decoder -> renderer
and would result in you seeing the video captured by the web cam or the content of the file. The example download shows how you can construct a virtual capture device i.e. it looks like media is coming from a 'real' capture device, but actually you can generate any video you want if you adapt the code to your specific means i.e. take a screengrab and output that. Applications like skype can pick up you virtual capture device if it is registered correctly.
The easiest way to find out if this is sufficient for your needs is to download the capture source filter, register it with the regsvr32 command, and then to use GraphEdit to insert the capture source into a graph, connect the source to a video renderer and hit the play button. A lot of the above mentioned concepts/keywords might seem new to you, but you can do some reading on each topic, and perhaps this will give you a point to get started.
Edit 2:
Is the capture source filter approach not sufficient for your requirements?
1) AFAIR you stated in your (now deleted) answer that you would like to take a screen grab, and use that as a virtual camera device for use in applications such as skype.
If that is all you require, you do NOT have to write a device driver. DirectShow can do that perfectly well by means of the capture source filter. You would then need to
learn some basic DirectShow
modify the source code of the capture filter to take screen grabs etc.
As far as books are concerned to write device driver to accomplish the same, I have no idea. The point I'm trying to make, is that you need to determine whether you actually need to write a device driver or whether simply modifying the open source capture filter is sufficient.