Click here to Skip to main content
15,898,222 members

Comments by DavidMorf (Top 2 by date)

DavidMorf 26-Nov-18 9:48am View    
Hey OriginalGriff,

That's true, but only if the default PaperSize of a ticket printer is always set to its minimum. Not aware of any standards that define that a ticketprinter's default-size should always be it's minimum size atleast, but it could be there is indeed.
My example above would give 410*292=119.720 , but if another ticket printer works with its maximum size as default that could be something like 410*1400=574.000 ... which in turn is a bigger area than A5 i think.

Anyways, I think I'll just have to evaluate the sizes I can read using different margins and "known" papersizes to define the size and kind of guess which type of output format I'm going to have accordingly... and hope the next ticket printers we buy come up with some weird sizes :)

Thanks for the input!
DavidMorf 26-Nov-18 9:13am View    
Thanks for the reply.
I was afraid that'd be the only way to figure it out.

This is what I get from the ticketprinter:
TEC B-SV4USER : (410, 292)
2 x 4 : (210, 400)
4 x 4 : (410, 400)
4 x 6 : (410, 600)
Form-A : (409, 839)
Form-F : (409, 689)

We have 3 or 4 different type of ticket printers and I don't have them all defined on my machine alas. As some are from a different brand, I hope their PaperSizes are somewhat similarly defined.