Under the pb how to achieve sales of single namely stop playing the function: online waiting for you it is better for example
CodePudding user response:
Call a function print ()CodePudding user response:
Printopen ()/print ()/printclose (), specific see help.CodePudding user response:
Printdatawindow ()CodePudding user response:
Ll_job=printopen ()Printdatawindow (ll_job dw_1)
Printclose (ll_job)
PRINTCANCEL (LL_JOB)
Generated printing serial number, printing, close printing sequence, cancel the printing sequence,
CodePudding user response:
Pick up points is king!CodePudding user response:
If is ordinary continuous paper can dynamically change the length of the paper, if it is pos printer, so you don't have to FOOTER,CodePudding user response:
On the top floor, I often do that, but set a datawindow better?CodePudding user response:
With printers, salty hard instructionsCodePudding user response:
In data window printend events and return 1 will be OK!CodePudding user response:
goodCodePudding user response:
If it is pos printer writefile approach send printer to print instruction and contentCodePudding user response:
PB sample code has completely the original poster for example, to himself,CodePudding user response:
What case?CodePudding user response:
Is the sample code PB comes with its own development software, there are a lot of very useful example,CodePudding user response:
On the top floor, I often do that, but set a datawindow better?CodePudding user response:
1, the use of drive modeInt li_job
Li_job=Printopen (' ')
Play printsend (li_job, 'characters')
Printclose (li_job)
2, direct output port
Int li_num
Li_num=fileopen (' lpt1)
Filewrite (li_num, 'XXXX')
Fileclose (li_num)
In general, direct output mode control will be better, in addition, the needle pretty good thermal control
CodePudding user response:
Go to sleep at night, give you a small example, go to the resources that I downloadhttp://download.csdn.net/source/582267
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Pb8 code, need continuous paper printer can print,
To see the effect can be added without printer Epson LQ - 1600 - k printer (or any can call for paper printer) test,
CodePudding user response:
Post, discovered is N months ago,CodePudding user response:
Passing by!!!!!!!!!!CodePudding user response:
PB6 version can be used according to the line to solve the printing way:Int I
Ulong job
Job=PrintOpen ()
Printsend (job, "~ 027 ~ 067 ~ 001", 255)/line/set each page 1
Printdatawindow (job, datawindow)
For I=0 to 20//go blank abusing tearing
Printsend (job, char (10))
Next
Printclose (job)
Return 1
Pb9 version can define the type of paper is used to solve, each printer support custom paper, easy to use.
CodePudding user response:
Call a function print ()CodePudding user response:
The topCodePudding user response:
The topCodePudding user response:
Dizzy, who digCodePudding user response:
I depend, grave notesCodePudding user response:
Depend, the corpse was dragged outCodePudding user response: