当前位置:网站首页>About the web docking pin printer, lodop uses
About the web docking pin printer, lodop uses
2022-07-28 16:27:00 【Sun Fendou】
About php Docking pin printer problem ,Lodop Use

This is a receipt page made by myself , I thought it could be used layer The printing provided by the pop-up layer can muddle through when you travel , There is no problem printing with an ordinary speckle printer , But receipts are all qualified , Need to use 17.8*9.5 Paper printing of , And it must be a stylus printer , Using an ordinary browser to print will produce unclear text , The paper is full of ink dots , Combined with Baidu, we can find out several reasons
One 、 There is too much air in the inner cartridge
1、 Judgment method : Before and after cleaning the nozzle , Print nozzle pattern . If the position of disconnection changes , It means that there is too much air in the inner cartridge , The excess air in the inner ink cartridge needs to be discharged .
2、 resolvent : Use a syringe to extract air from the cartridge , It will damage the sealing performance of the ink cartridge , It makes it difficult to judge the specific fault location . It is recommended to use a safe exhaust method to exhaust the excess air in the inner cartridge .
Two 、 The nozzle is blocked
1、 Judgment method : Before and after cleaning the nozzle , Print nozzle pattern , If the disconnection position is fixed , It means that the nozzle is blocked .
2、 resolvent : Usually clean the nozzle 2-3 Time , It can be used normally . If the nozzle is seriously blocked , You can use the nozzle disassembly free technology to clean .
But the story doesn't seem to go on as expected , The receipt printed by financial software is normal , This is still the case with our browser printing , So think carefully , Carefully groped for a solution -------------------Lodop
Someone said she was Web Print controls , Because she can print 、 In the browser in the form of plug-ins , Print out the whole page in a single line ;
Some say she's a print programming interface , Because she's between a browser and a printing device , It's a passage and a bridge , Almost every conceivable print control can be done ;
Someone said she was JavaScript An extension of , Because all her functions are just a few sentences , and JS The grammar is the same , You can see at a glance ;
Some people say she is a report printing tool , Because the add_print_table The statement makes it clear that the report statistics ;
Some people say she is a bar code printing tool , Because it's used, she doesn't need to generate bar code pictures in the background anymore , A line of instructions at the front end dynamically outputs clear and accurate bar codes , One dimension, two dimensions ;
Some people say that she is a chart printing tool , Because she can output almost any chart she can imagine , Although not so luxurious , But what pie chart 、 Broken line diagram 、 Column diagram and even compound diagram are not worth mentioning ;
Some people say she is a gadget , Because she is too small , only 2M many , Any of the comparison tools she contains are several times her ( For example, barcode printing control 、 Chart control, etc );
Some people say that she is making a teaching plan , Because in order to Lodop+JS Realize the template printing mode , It has been noisy on the Internet as a textbook solution ;
Someone said she was Web Print control “ The terminator ”, Because of contact “ she ” Don't think of anything else later “ she ”;
Some people say she is a Web Programming tools , Because of her , stay BS The print under finally looks like cs That kind of casual and efficient ;
But we said , She is a national 1000 The wisdom of many software companies , Be born 10 Years. , Almost every functional detail contains the expectations and sweat of countless developers ;
She is Lodop( pronunciation “ Lao Daopu ”), No other name , She is web A necessary partner for development ;
Now? , She added another little brother , named C-Lodop( Programmable cloud printing ), The future will be created by him …
Download address :http://www.lodop.net/download.html
Use steps
- After downloading, there will be a compressed file , Open it and install CLodop_Setup_for_Win32NT and install_lodop64 If 32 Just install install_lodop32 Of

Reference link : Use url Print
Because I wrote it well html I use the page url How to print , Of course, I have tried other methods , This method is the fastest and fastest !
● PRINT_INIT(strPrintTaskName) Print initialization
● SET_PRINT_PAGESIZE(intOrient,intPageWidth,intPageHeight,strPageName) Set the paper size
● ADD_PRINT_HTM(intTop,intLeft,intWidth,intHeight,strHtml) Add hypertext item
● ADD_PRINT_TEXT(intTop,intLeft,intWidth,intHeight,strContent) Add plain text items
● ADD_PRINT_TABLE(intTop,intLeft,intWidth,intHeight,strHtml) Add table items
● ADD_PRINT_SHAPE(intShapeType,intTop,intLeft,intWidth,intHeight,intLineStyle,intLineWidth,intColor) Draw a picture
● SET_PRINT_STYLE(strStyleName, varStyleValue) Set the object style ● PREVIEW Print preview
● PRINT Print directly ● PRINT_SETUP Print maintenance ● PRINT_DESIGN Print design
3
Select printer to finish printing !
-----------------------------------------------------------------------end
边栏推荐
猜你喜欢

Redis系列4:高可用之Sentinel(哨兵模式)

Leetcode topic

LwIP development | realize TCP server through socket

RF module wireless transceiver rf63u chip application data transmission and infrastructure network

Voltage to current / current to voltage module

A good start

JS stack

2021 Yahong pen test questions

flashfxp 530 User cannot log in. ftp

Connection and application of portable borehole inclinometer data acquisition instrument and inclinometer probe
随机推荐
Wechat official account to obtain material list
A program for judging the result of cyclic input
Two of C language programming!! Role of
兆骑科创创新创业大赛人才引进平台,双创赛事高层次人才引进
LwIP development | socket | DNS domain name resolution
Ffmpeg get the first frame
PHP获取小程序码,小程序带参数跳转
QT packaging
JS linked list 02
Wei Jianjun couldn't catch up with Li Shufu by riding a BMW
Remote serial port server (adapter) UART to 1-wire application
PHP mb_substr 中文乱码
2021 Kent interview question 3
Let's learn the game of beating hamsters
跳表的实现
2021 Kent interview question 1
I'll show you a little chat! Summary of single merchant function modules
PHP mb_ Substr Chinese garbled code
大地坐标系转换火星坐标系
PHP image synthesis technology

