I want to print an invoice 15,3 CM x 20,1 CM, it's a custom size. I'm using Microsoft Report in a Report Viewer in VB.NET.
Using my own Printer i managed to make it print aligning the paper to the right side of the Printer tray, but then after deploying to a Customer, he tried to print using an HP LAserJet 1018 (laser printer), paper can't be aligned left or right when using this printer, it has those "things" that immobilizes paper in a fixed position, the problem then was that it printed my invoice 1,5 CM moved to left, the exact distance between right side and the center (forced) position in this laser printer.
So my question is: Is there any universal way to print using Custom size paper? or i will have this nightmare for every different Printer that's used??
Thanks!
Using my own Printer i managed to make it print aligning the paper to the right side of the Printer tray, but then after deploying to a Customer, he tried to print using an HP LAserJet 1018 (laser printer), paper can't be aligned left or right when using this printer, it has those "things" that immobilizes paper in a fixed position, the problem then was that it printed my invoice 1,5 CM moved to left, the exact distance between right side and the center (forced) position in this laser printer.
So my question is: Is there any universal way to print using Custom size paper? or i will have this nightmare for every different Printer that's used??
Thanks!