Is there any way to develop a virtual printer . my requirements are
I want my virtual printer come in printer select drop-down (eg: as CutePDF printer writer )
When we select our custom virtual printer, open another application and transfer printer data to that application
Please help me to solve this problem
For the "driver" I guess you can use existing ones, e.g. Microsoft Postscript driver. What you need is a Print Monitor written in C which will receive the output of the "driver" (If you use Microsoft Postscript driver, the file will be a Postscript file) and then invoke the program you want. For details, please install Windows DDK and look at src\print\monitors\
Related
Goodmorning,
I have a ZPL file (text file inside) used for a Zebra printer, and I need to print that with a new Godex printer.
I have already installed the driver of the Godex printer and set the dimensions of the labels.
Is there any method to use the "ZPL code" to print into the Godex printer? I've read on Internet that they are compatible, but I can't find how I can use them togheter. Is any other driver necessary?
Thanks for help
Old topic but I have the answer: Yes, it is possible.
Install Godex printer as Generic Text Only printer in windows.
IMPORTANT: you have to "reset" the printer if you change paper size. Turn on the printer with its 2 buttons pressed (DT4x model) until you hear 3 beeps. Wait a bit. Then the printer "takes size" of the paper. You must do this when you change paper size or it won't print fine.
After that, open your ZPL file with a text editor and print it to that generic printer and that's all.
Regards.
I have a specific USB device that has it's own driver for Win7.
It works fine in my .NET application, I'm using drivers functions (C++) to manipulate device.
Now I'm trying to get this device work in LabVIEW.
Is there a way to somehow adapt existing driver for it? Or it is useless and I need to write completely new driver for LabVIEW?
For now I created a driver using "NI-VISA Driver Wizard" so that "NI MAX" and "NI-VISA Interactive Control" detect my device. But I don't know what to do next?
Compile the driver C source files as a dll.
https://forums.ni.com/t5/Measurement-Studio-for-VC/How-to-create-a-DLL-file-from-a-C-file/td-p/866863
Then import the dll into LabVIEW.
http://digital.ni.com/public.nsf/allkb/DCB90714981A1F148625731E00797C33
As highlighted by Prain, the following is an example describing how C/ dll can be used in LabVIEW
https://forums.ni.com/t5/Example-Program-Drafts/Using-Existing-C-Code-or-a-DLL-in-LabVIEW/ta-p/3499233
Good morning,
My problem is that I have a main program that calls a service (created by me, too) that it does is create some files subsequently sent to the print queue in Windows, the problem is when this program is executed by a windows 8 taking all permits and to run as administrator does not work, or prints or anything and gives the following error "no currently no default printer selected" (error completely random because if there default printer selected).
The service operation is simple, select the printer that there stored in the database and if this printer is the same as Windows sends the generated file in windows 7, xp, vista and other operating systems prior to Windows 8 functions perfectly.
Onsite windows 8 is 64 bits.
Thank you
I have already solved, I passed the source code to a normal program (without being a windows service) and it works perfectly.
I'm a windows developer looking for implementation of priting support for Windows Mobile 6.5.
As the WM6.5 is based on the Windows CE 5.0, I have gone through the architecture of Printing in Windows CE and what I have realized from the Windows CE Printer architecture is :
For a USB class printer the main components required for printing in Windows CE apart from Display driver and GDI components would be :
Printer driver : PCL.dll
The underliying port driver for USB class driver : USBPRN.dll
These components' source code exist in the driver samples provided by the WinCE 5.0 platform builder.
Though these components exist no third parties (ex: PrintBoy,PrintCE ) seems to be utilising them.
My Queries are:
1.Can I use the Microsoft supplied source code of these compenents as it is to support Printing in Windows Mobile?
2.According to Microsoft's Shared source License agreement,are there any source code usage viaolation if I use them?
3.Can I use the source code of PCL and USBPRN to support in Windows Mobile as it is? or do I need to modify it?
(I assume Windows Mobile have GDI and Display driver components by default.)
Thanks.
Sree.
I Don't believe WinMo includes the printer pieces for CE.
I'm not a lawyer (nor do I play one on TV) but my interpretation is that you can't take the pieces from Platform Builder and use them in your WinMo OS. You are licensed to modify them if you need and use them in your own custom OS.
See #2. PCL would probably work as-is, but I'm guessing the USB printer driver might need at least some configuration work for your platform.
We are using Delphi 7 to develop database apps with advantage as a backend. Our system is usually installed on the windows server with the pcs acting as terminals. All the settings and database are on the server.
we are having problems running our software on Citrix servers. In particular printing seems to be an issue. Both in selecting the right printer and in the formatting of the report.
We use Rbuilder version 10 to produce our reports and they are sent to a zebra label printer so not a standard windows printer driver. The reports are also of a non-standard size.
things we are seeing are stretching and shifting of the report on the page.
Has anybody seen similar behavior or has any idea of what might be causing this.
we don't have a test Citrix system so it is hard to test. We can't replicate it in a normal windows environment.
On Citrix (and Microsoft Terminal Server), printers often gets "attached" after the application starts. This causes that the printer that might be nedded isent in the Reportbuilder printer list.
We have solved the problem by forcing ReportBuilder to refresh the list, when printers change using the following code (Attached to Application.OnSettingChange)
procedure TMainForm.ApplicationEventsSettingChange(Sender: TObject;
Flag: Integer; const Section: string; var Result: Integer);
begin
if uppercase(Section) = 'DEVICES' then
begin
ppPrintr.ppPrinters.Refresh;
end;
end;
Hope it solves your problem.
Take a look at this link, you can get an evaluation version but you can also download virtual machines with complete citrix installation in it. Btw the product is called XenApp nowadays.
In my experience, Citrix printing is a nightmare.
You'll want to make sure the printer you want to use is installed as a local printer on the Citrix server, then disallow use of client printers for the application. That should help getting the printer right.
Basically, you'll want to make sure you can run the application properly from the server console, then try to use it as a Citrix app.
Good luck.