Device::Citizen3540 - Advanced printing to Citizen 3540/3541 reciept printers


Citizen3540 documentation  | view source Contained in the Citizen3540 distribution.

Index


NAME

Top

Device::Citizen3540 - Advanced printing to Citizen 3540/3541 reciept printers

SYNOPSIS

Top

	use Device::Citizen3540;
	my $printer = new Device::Citizen3540();
	$printer->print("This is simple text");

	use Device::Citizen3540 qw/:constants/;
	$printer->print("This is title text", BIG | CENTER | ULINE);
	$printer->print("This is red text", RED);

DESCRIPTION

Top

This module allows the user to easily output to a Citizen iDP3540/3541 Dot Matrix POS printer. This receipt printer supports enlarged text, underlining, red text and graphics. This module supports most of the text features. This module was written with the serial version of the printer in mind, but should work with other interfaces as long as your operating system allows interaction via a device file. Written and tested on a Linux 2.6 machine, but with exception of the default device file should be cross platform (with notable exception of Windows, but there is a native print driver for that platform)

ENVIRONMENT

Top

LPDEV

If this environmental variable is set, the value of it is used as the device to write printer commands/text to.

AUTHOR

Top

Scott Peshak &speshak@gmail.com;

COPYRIGHT AND LICENSE

Top

SEE ALSO

Top

The user manual for the Citizen idp3540/3541 is available (at the time of this writing) online at http://www.quad.de/ftp/data/citizen/3540-u.pdf If that site no longer exists when you read this, try a web search, there seem to be a lot of mirrors of that file.


Citizen3540 documentation  | view source Contained in the Citizen3540 distribution.