I'm new to all this, i bought my uno last week and so far it's been great.
I'm working on a project where I need the arduino to send sensor values via serial to a PC and also print to one of those thermal printers which also needs to be via serial.
I see that only the mega has multiple serial ports that can communicate at different baud rates.
But, I was wondering if there might be a way for the uno to send serial data over the USB to the PC and also send serial data to the printer over digital pin 1.
No. But there are serial software libraries available that will allow you to communicate to your printer on any other pins and at any other baud rate. Best to leave the hardware serial function dedicated to the USB connection and use software for other serial devices. Of course as you stated the mega boards have four hardware serial ports available for use.
But, I was wondering if there might be a way for the uno to send serial data over the USB to the PC and also send serial data to the printer over digital pin 1.
Yes, but ...
Digital outputs can drive more than one digital input. You can hook up the printer to pin 1 (you'll probably need something like a MAX232 to produce RS-232 signal levels), and have the serial output go to both the printer and the PC. Your PC software will have to be smart enough to ignore the printer output coming back at it.
But you're probably better off following retrolefty's suggestion and using SoftwareSerial to send the data to the printer.
SoftwareSerial seems like the perfect solution but looking into it, it seems that other pins can only send data at 9600 and the printer i'm using needs 19200 bauds.
neither my pc soft or I are smart enough to separate serial output values.