Hi, I’m trying to send custom text to a printer, the text is just the name and surname of someone in a specific location, but something isn’t right.
I’m using a particular printer wich prints on cards, I have to write a text like:
NAME
SURNAME
in the bottom left corner, but something isn’t right. This is my code so far
$Nome = "NAME"
$Cognome = "SURNAME"
$str = " " + "`n " + "`n " + "`n " + $Nome + "`n " + $Cognome
Write-Output $str
$str | Out-Printer
If I just print a line of text it goes in the middle (kinda), so I tried to put line breaks, doing so the text on write-output is correct, but when it gets to the printing queque it creates multiple sheets and I don’t want that (I need to insert the card multiple times for every sheet).
With a single line of text it says printing sheet 1/1, but with my current code it says printing sheet 1/3
Any suggestion?
Ty in advance