I have some Reports that are fairly wide (lots of columns), and I only have a Ticket Printer (no LTR or A4 printer), so I was wondering about possibly rotating the Print by 90 degrees so that it would be able to fit all columns in the Print, assuming it doesn’t have too many rows.
##Rotation
I found this reference to an ESC/POS command for turning 90 degree rotation on and off …
<XCT>
commands would then be:
<XCT>27,86,0,48 -- turn rotation OFF
<XCT>27,86,1,48 -- rotate with 1-dot character spacing
<XCT>27,86,2,50 -- rotate with 1.5-dot character spacing
##Font Set
Another idea would be to somehow set the Font Set and/or Size to make the characters smaller. It seems many printers have at least FontA and FontB
XCT commands in this case to select one of the 2 Fonts would be:
<XCT>27,33,0 -- FontA (larger, default)
<XCT>27,33,1 -- FontB (smaller)
Another command that appears to do the same thing:
XCT commands in this case to select one of the 2 Fonts would be:
<XCT>27,77,0,48 -- FontA (larger, default)
<XCT>27,77,1,49 -- FontB (smaller)
##Initialize (Reset) Command
Just for reference, the Reset Command ESC @
is:
<XCT>27,64
##Executing ESC/POS commands when printing a Report
In any case, the question is:
How do we execute an <XCT>
command when printing a Report?
Can the command go in the Report itself? @emre, do you think you might be able to add that feature somehow?
Could we Execute Print Job
using a Template containing the XCT code, then subsequently fire the Print Report
Action? I guess “NO” since we need a Ticket to use Execute Print Job
action?
Any ideas?