Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmp_printer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhenfei.zhang
fmp_printer
Commits
641c3cbb
Commit
641c3cbb
authored
Oct 27, 2017
by
刘帅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Plugin_update' of git.oschina.net:kong__mo/fmp_printer into Plugin_update
parents
4eed51ba
e37e6d3a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
17 deletions
+6
-17
fmp_printer_def.h
+1
-12
fmp_printer_p.cpp
+0
-0
fmp_printer_p.h
+5
-5
No files found.
fmp_printer_def.h
View file @
641c3cbb
...
...
@@ -12,17 +12,6 @@
#define FMP_INIKEY_PRINTERNET "Printer/ip"
#define FMP_INIKEY_PRINTERLABEL "Printer/PrintLabel"
#define FMP_INIKEY_LOGDAYS "Printer/LogDays"
#define FMP_INIKEY_PRINTERNAME_TIME "Printertime/Name"
#define FMP_INIKEY_PRINTERTYPE_TIME "Printertime/Mode"
#define FMP_INIKEY_PRINTERTYPET_TIME "Printertime/PrintType"
#define FMP_INIKEY_PRINTERSIZE_TIME "Printertime/PaperWidth"
#define FMP_INIKEY_PRINTERLEVLEL_TIME "Printertime/Levlel"
#define FMP_INIKEY_PRINTERTYPE2_TIME "Printertime/Type"
#define FMP_INIKEY_PRINTERUSB_TIME "Printertime/usb"
#define FMP_INIKEY_PRINTERPARALL_TIME "Printertime/parallel"
#define FMP_INIKEY_PRINTERNET_TIME "Printertime/ip"
#define FMP_INIKEY_PRINTERLABEL_TIME "Printertime/PrintLabel"
#define FMP_INIKEY_LOGDAYS_TIME "Printertime/LogDays"
#define FMP_INIKEY_PRINTERTIME "Printer/printerTime"
#endif // FMP_PRINTER_DEF_H
fmp_printer_p.cpp
View file @
641c3cbb
This diff is collapsed.
Click to expand it.
fmp_printer_p.h
View file @
641c3cbb
...
...
@@ -12,13 +12,13 @@ typedef struct
QString
m_parall
;
//并口名字
QString
m_Usb
;
// usb的名字
QString
m_level
;
//日志的级别设定 默认
QString
m_Ip
;
QString
m_Ip
[
8
]
;
QString
m_printerLabel
;
int
m_PrintType
;
//打印的某种样式
int
m_PrintSize
;
//打印的纸张设定
int
type
;
int
type
[
8
];
//打印端口类型
int
m_nDays
;
//删除日志的天数
int
m_printerTime
;
//几台设备打印
}
PrintClass
,
*
pPrintclass
;
class
FMPPrinterPrivate
:
public
QObject
...
...
@@ -34,11 +34,11 @@ private:
bool
_DoPrint
(
QString
data
,
QString
strLabel
);
QString
_GetPrintName
();
bool
GetInfo
(
QString
&
printername
,
QString
data
);
QString
SendIniData
();
QString
SendIniData
(
int
times
);
QString
SendIniDataTime
();
public
:
FMPPrinter
*
q_ptr
;
PrintClass
m_print
,
m_print_time
;
PrintClass
m_print
;
private
:
FMPSettingsInterface
*
settings
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment