|
Post by baronsoftware on Feb 12, 2020 21:28:43 GMT 1
For the moment, i entered in the config.txt
LPT1 = "IT_1":
first question, is that correct syntax ?
Next, a job is sent to the print queue but nothing is printed out, it is only a byte long and I did expect a blank sheet at least.
What am i doing wrong ?
|
|
|
Post by Jos on Feb 12, 2020 22:03:11 GMT 1
Apparently it’s not the correct syntax. The trailing colon instructs vDos to exclusively open the Windows "IT_1" device. And send bytes the DOS program outputs to the DOS LPT1 device instantly and unmodified to that Windows device. That colon option is mostly for communicating with serial devices, not being a printer. Though it can also be used as an alternative to the RAW option, bypassing vDos default to collect print jobs. Or ‘misused’ - eventually with a file name - to ensure only one instance of a DOS program is running.
In your situation “IT_1” will be an actual Windows printer driver. These don’t support/understand ASCII data streams as send by your DOS program and just give up at receiving the first byte. So you have to start with omitting that colon, then read the Printing.pdf document. The trailing colon option is only explicit mentioned as an ‘oddity’, so I wonder how you came to that.
Jos
|
|
|
Post by baronsoftware on Feb 12, 2020 22:46:14 GMT 1
Sorry about that.
This is what i have in the config.txt
LPT1 = SEL:"IT_1"
Nothing goes to the printer at all.
|
|
|
Post by Jos on Feb 12, 2020 22:57:22 GMT 1
Remove/comment that line in config.txt. The Windows printer selection dialog will then popup. Select one, if that produces the expected printer hard copy, no reason why not. Copy the selected printer (driver) to LPT1=SEL:"..." if you want it to be preselected.
Jos
|
|
|
Post by baronsoftware on Feb 12, 2020 22:58:48 GMT 1
That is what i have in the config.txt
LPT1=SEL:"IT_1"
Nothing prints.
|
|
|
Post by Jos on Feb 12, 2020 23:02:40 GMT 1
Did you read the Printing.pdf document and realize DOS printing isn't that of Windows?
Jos
|
|
|
Post by baronsoftware on Feb 12, 2020 23:05:37 GMT 1
What the heck does that mean.
I read the document.
I set it up exactly as you explained to the best the document indicates. So tell me why the
LPT1=SEL:"IT_1" doesn't work. It is set to the simplest method used.
The IT_1 printer is a laserjet
|
|
|
Post by Jos on Feb 12, 2020 23:11:18 GMT 1
The simplest method would be to omit all printing directives in config.txt. Try that and report back. No way further specifications will cause problems.
Jos
|
|