I've a Cheque and I'm trying to print its data manually - report tools aren't permitted - and my target is a PDF printer and Cheque paper and I must use an A4 printer.
Here is an illustration:

My steps are:
- Specify cheque size as my actual paper size.
- write the data.
- Print result to the printer.
In step 1, I've created PrintDocument instance and set DefaultPageSettings.PaperSize to match the input paper dimensions by setting RawKind to 120 which means custom paper size, then I setup a PrintPage handler, Then I call Print.
In Step 2, that data written to the e.Graphics without problem.
In Step 3, when print to a PDF printer the result is as expected, and the strings can be copied, also the manual preview on a a cheque image is good.
The problem when I print to the A4 printer - HP Laserjet 1018 - I set the ruler of upper paper tray to the middle so it can hold the cheque which I put vertically, Now when printing two thing happened:
- the text printed horizontally.
- because printer ruler is set to the middle, the print location is invalid (or i think so, i didn't actually get the chance to test that result).
How can I fix the printer problems?