1/*
2* Copyright 2017, Haiku. All rights reserved.
3* Distributed under the terms of the MIT License.
4*
5* Authors:
6*		Adrien Destugues <pulkomandy@pulkomandy.tk>
7*/
8
9
10#include "LpstylData.h"
11
12#include <termios.h>
13
14#include <Node.h>
15#include <SupportKit.h>
16
17
18void
19LpstylData::Save()
20{
21	PrinterData::Save();
22	// force baudrate for the serial transport
23	int32 rate = B57600;
24	fNode->WriteAttr("transport_baudrate", B_INT32_TYPE, 0, &rate, sizeof(int32));
25}
26