|
Post by rhabs4 on Jul 30, 2021 18:39:11 GMT 1
Hello,
This is our current Printer configuration. Does anyone know how to resolve this?
Printing Setting in config.txt REM ========
LPT1 = font:"Courier New" horz:0,0,146 vert:5,5
Old Setup
The dox matrix printer (Okidata Microline) (which we use only for printing checks) controls the font …the operator could adjust font from the printer
New Setup (vDos)
The font is determined by your program. When checks print to the dot matrix; adjusting the font via the printer does nothing.
• How do we change this?
• Note we do not want to change the overall font for the system ; just when printing checks.
|
|
|
Post by Jos on Jul 30, 2021 18:49:07 GMT 1
If you don’t want vDos/Windows to interpreter/render the printer output, use the RAW option.
font:, horz: and vert: options are then of course deemed invalid.
Jos
|
|
|
Post by rhabs4 on Jul 30, 2021 18:53:55 GMT 1
So the code should read
LPT1 = font: horz: vert:
*Do we need commas?*
and that should allow up to use the Okidata to set the font and speed?
Thank you Ryan
|
|
|
Post by rhabs4 on Jul 30, 2021 18:59:13 GMT 1
This failed out the program.
Also one thing to note: LPT1 = font:"Courier New" horz:0,0,146 vert:5,5 works great when print to a laser printer
When we print to the Okidata our checks that is when we run into the issue in the original post.
Ryan
|
|
|
Post by Jos on Jul 30, 2021 19:11:55 GMT 1
I meant: LPT1 = RAW
W/o font:, horz or vert since those are invalid in combination with RAW.
Or something like: LPT1 = SEL:"Windows printer name of Okidata" RAW
Since this RAW setting will only work for the Okidata.
Jos
|
|
|
Post by rhabs4 on Jul 30, 2021 19:25:44 GMT 1
LPT1 = RAW worked! We were able to control print speed with the Okidata.
However, we sent our reports to the laser printer and that is not not formatted properly.
Are we able to have (2) print settings?
One (1) for Okidata and one (1) for Laser?
Do you think LPT1 = SEL:"Windows printer name of Okidata" RAW LPT1 = SEL:"Windows printer name of Laserprinter" font:"Courier New" horz:0,0,146 vert:5,5
would work?
Ryan
|
|
|
Post by Jos on Jul 30, 2021 20:27:22 GMT 1
Essentially you can have up to 18 print settings. But those are linked to the DOS LPT1-9 and COM1-9 devices. So you can’t have LPT1= more than once.
You would have to set your DOS program to print the reports to for instance DOS LPT2. Then use: LPT2 = SEL:"Windows printer name of Laserprinter" font:"Courier New" horz:0,0,146 vert:5,5
The horizontal and vertical margins seem too small. For instance horz:13,13,146 will still fit 146 characters at the printers default cpi in a single line. However with more blank space at both sides.
Jos
|
|
|
Post by rhabs4 on Jul 30, 2021 21:10:04 GMT 1
That worked!
THANK YOU! We figured this out and got it running how we want it.
Very helpful. We really appreciate it.
Ryan
|
|
|
Post by Jos on Jul 30, 2021 21:59:32 GMT 1
Next would eventually be to have a look at the TIO: option.
The default printer time-out mechanism should always work. To speed up the printer responding/printing you could start by trying TIO:0. No one likes to wait for the printout…
Jos
|
|
|
Post by jamesb52 on Jan 31, 2022 11:11:53 GMT 1
You can also plan to change to laser cheque forms. Sooner or later the Oki will run out of ribbon supplies.
|
|