Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Small/Med/Large fix in printertest
Browse files Browse the repository at this point in the history
  • Loading branch information
PaintYourDragon committed Oct 22, 2012
1 parent 9f04457 commit 494685a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/printertest/printertest.pde
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ void setup(){
printer.underlineOff();

printer.setSize('L'); // Set type size, accepts 'S', 'M', 'L'
printer.print("Large"); // Print line
printer.setSize('M'); // Setting the size adds a linefeed
printer.print("Medium"); // Print line
printer.setSize('S'); // Setting the size adds a linefeed
printer.println("Small"); // Print line
printer.println("Large"); // Print line
printer.setSize('M');
printer.println("Medium");
printer.setSize('S');
printer.println("Small");

printer.justify('C');
printer.println("normal\nline\nspacing");
Expand Down

2 comments on commit 494685a

@hackaprende
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello,

I'm thinking in making a project with a thermal printer, do I need necessarily a computer to print or can I program the arduino to print from it without using a computer? for example program the arduino to print a message depending of the configuration in it's inputs. Another thing is, this printer could be used with a PIC microcontroller?

Thanks a lot.

@ElectricCoffee
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can program the Arduino to do this just fine, that's kinda the whole point of the library

And sure you can use the printer with a PIC, you just need to provide your own library for it

Please sign in to comment.