Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
printer.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_CORE_PRINTER_HPP
2#define IV_SRC_CORE_PRINTER_HPP
3
4#include <vector>
5#include <string>
6
7namespace iv::core::printer
8{
9
10std::vector<std::string> getPrinters();
11bool existPrinter(std::string_view deviceName);
12bool isOnline(std::string_view deviceName);
13bool hasPrinter(std::string &defaultPrinter);
14bool print(std::string_view deviceName, std::string_view filePath, std::string_view title);
15
16};
17
18#endif //IV_SRC_CORE_PRINTER_HPP
Definition printer.cpp:8
std::vector< std::string > getPrinters()
Definition printer.cpp:10
bool existPrinter(const std::string_view deviceName)
Definition printer.cpp:26
bool print(const std::string_view deviceName, const std::string_view filePath, const std::string_view title)
Definition printer.cpp:64
bool hasPrinter(std::string &defaultPrinter)
Definition printer.cpp:51
bool isOnline(const std::string_view deviceName)
Definition printer.cpp:40