1 (edited by blackpearl8534 2019-04-04 16:14:13)

Topic: AutoPrint

hello Friend...
in this project i want to load All installed printers and assign each printer with different Pump number.... and when i made transaction then data automatically sent to assigned printer.. please make an example and upload.. thanks

Post's attachments

Attachment icon AutoPrint.zip 337.24 kb, 274 downloads since 2019-04-04 

Re: AutoPrint

can anyone help me... still waiting for response

Re: AutoPrint

hello friends.. respond please....

Re: AutoPrint

Not sure if this is what you are looking for, but see attached for a possible solution. When you run the project go to your pumps form and assign a printer to each pump. Then when you click SAVE on Form1, the report for the entered transaction will go to the specified printer for the pump automatically.

Post's attachments

Attachment icon AutoPrint_Revised.zip 584.23 kb, 297 downloads since 2019-04-11 

Re: AutoPrint

MVD haven't fuction for send data directly to printers. Try to use OpenFile() and console command PRINT:


print /D:COM1 textfile.txt - print a text file on a printer connected to a serial COM1 port.
print /D:\\prtsrv\HP2500 textfile.txt - print a text file on a network printer

Визуальное программирование: блог и телеграм-канал.