问题
I have a Seiko SLP 620 printer, and a Hundegger K2 program (that controls a Hundegger K2 machine) that send labels to the printer. The problem is that the program print the good label, but print a blank label after the good one each time.
The program is incredibly old, and only accept specific printer settings, and each time I try to change those settings, they set back to default (so the solution can't be with print settings)
The program detect a default paper format, and print the label with this format (it's not the good format). I tried to change in print setting the default paper format, but, as I said, the program change it to is own default setting. I tried to change the available paper format in registry for the driver, but nothing changed for the program. I tried every driver available for this printer, but it did not work.
My question is: How can I limit the number of pages that are sent to the printer so that it always prints only 1 page, even if the program ask for 2 ?
Please, if my question is not good, help me correct it. I want to be better, and only vote down will not help me... Comment and my next question will include your help :)
回答1:
Is this program "old enough" that maybe it expected to run in MS-DOS? If it's running (say) under Windows now, then it is required to "spool" the output to Windows for actual printing ... and Windows can therefore exert its influence, too.
Windows sees all program output as a so-called "metafile" which it then "renders" onto the printed page, using settings such as paper-size, printable margins and so-forth, all of which the originating program might know nothing of and can't control. "Back in the days of DOS," this intermediate layer of software didn't exist.
So, maybe the slightest "tweak" of a paper-margin setting might do the trick. (Or even, if you can, telling Windows to use "legal size" paper for its calculations, when in fact a smaller piece of paper or label-stock is what's in the machine.) You're basically going to have to "fiddle with whatever settings you can find," until you find what works. :-/
来源:https://stackoverflow.com/questions/38229157/limit-to-1-page-all-document-sent-to-printer