|
Post by emiliano on Nov 9, 2018 18:11:39 GMT 1
Hello, I use the vdosBox and I wanted to know if one or more printer can be configured by default for each port? Because my system usually prints from a single file for two printers. I await your help. Thank you
|
|
|
Post by Jos on Nov 9, 2018 18:19:51 GMT 1
You can set any printer as default, independently for each port. See Printing.pdf, “SEL:”.
Jos
|
|
|
Post by emiliano on Nov 9, 2018 18:56:24 GMT 1
If I read but I do not understand very well how to write in the config file. Could you give me an example of how to put
|
|
|
Post by emiliano on Nov 9, 2018 19:03:11 GMT 1
Would it have to look like this?
REM Printing REM LPT1 = "HP LaserJet P2035n" rem Without explicit settings, printing should mostly work just fine. rem If it doesn't, or you want more control over the printer's output: See the Printing.pdf document.
|
|
|
Post by Jos on Nov 9, 2018 19:07:44 GMT 1
“REM” remarks out a line, like in batch files, so for instance:
LPT1 = "HP LaserJet P2035n" LPT2 = "My other printer"
Jos
|
|
|
Post by emiliano on Nov 9, 2018 19:21:34 GMT 1
just in case, I put it that way and I keep getting the printer selection screen REM Printing REM ======== REM LPT1 = "HP10.10" REM LPT2 = "Ivanka (HP LaserJet M605) (4 redireccionado)"
|
|
|
Post by Jos on Nov 9, 2018 19:25:28 GMT 1
A line starting with REM is considered a REMARK, so is skipped.
Jos
|
|
|
Post by emiliano on Nov 9, 2018 19:35:29 GMT 1
Remove the word REM and stay the same. I really do not know how to configure it
|
|
|
Post by Jos on Nov 9, 2018 19:43:29 GMT 1
REM Printing REM ======== LPT1 = "HP10.10" LPT2 = "Ivanka (HP LaserJet M605) (4 redireccionado)"
When your DOS program prints to LPT1, the printout will be handled by HP10.10, to LPT2 by Ivanka (HP LaserJet M605) (4 redireccionado).
Jos
|
|
|
Post by emiliano on Nov 9, 2018 19:49:10 GMT 1
Ok, and the configuration is placed in config.txt or in autoexec.txt
|
|
|
Post by Jos on Nov 9, 2018 19:53:19 GMT 1
Like the name implies in config.txt. What version of vDos do you use?
Jos
|
|
|
Post by emiliano on Nov 9, 2018 20:07:10 GMT 1
Now when I try to print it shows me the poster: COULD NOT START
|
|
|
Post by Jos on Nov 9, 2018 20:12:46 GMT 1
Sorry, I merely copied your text, it should of course be:
REM Printing REM ======== LPT1 = SEL:"HP10.10" LPT2 = SEL:"Ivanka (HP LaserJet M605) (4 redireccionado)"
Jos
|
|