A collection of some tips and DOS utilities
A LAYO1 and ORCAD for DOS support page!


For use with the DOS versions of LAYO1 and ORCAD,
to get those programs installed and working.
All the drawings and layouts you see over here on this site
are made with them. Output to postscript,
enhanced with my own utilities and converted to PDF.

newUPDATE: see the last section for an enhanced Windows version of the postscript repair program for Layo1!

  Perhaps it is better to explain it in Dutch because the built-in comments are also all in Dutch.....


Misschien schakelen we maar beter over naar het Nederlands, omdat al de ingebouwde uitleg en commentaar ook in het Nederlands is.....

Item info What the heck is it?? Wat stelt het precies voor??













Patch for Borland
TP/TC Library

written by Andreas Bauer






Why use old DOS Layo1 and Orcad?? Because I'm used to it. Further Windows Layo1 doesn't translate my old DOS work properly.

It must be a hell of a job to translate a-symmetric (NON-round) pad's, because that's still the problem.


For both Layo1 and ORCAD to get working you need a video card that can be programmed in DOS VESA mode.


For ORCAD you have to manually check and edit the CFG files if the 'DD = ' setting is pointing to the VESA800.DRV file. This line should look like this: DD = 'VESA800.DRV'. Look for it in: ESP.CFG, SDT.CFG, VST.CFG and VSTSDT.CFG

For Layo1 to get installed you have to patch the setup EXE files on floppy with the Borland TP/TC patch, because they generate a Runtime Error 200. After install you have to do the same with ALL the Layo1 EXE files, if it is not needed the patch will tell you.



Your operating system must allow you to work in pure DOS mode and/or pure DOS mode in a Windows-DOS-box. Only W95 to W98SE will work. (Tested with a PC between 120 - 600 MHz)

Execute the Borland patch in a DOS-box with:   tppatch  file.exe

Waarom de oude DOS Layo1 en Orcad gebruiken?? Ik ben er vertrouwd mee! Verder vertaalt de Windows versie van Layo1 niet al mijn oude DOS werk fatsoenlijk.

Het lukt de ontwerpers blijkbaar niet om asymmetrische (dus geen ronde) pad's foutloos om te zetten.


Om zowel Layo1 als ORCAD werkend te krijgen is het nodig een oudere videokaart te gebruiken die goed te programmeren is in DOS VESA mode.

Voor Orcad moet je met de hand de CFG files kontroleren of de regel 'DD = ' wijst naar het VESA800.DRV bestand. Deze regel ziet er dan zo uit: DD = 'VESA800.DRV'. Kijk ernaar in de bestanden: ESP.CFG, SDT.CFG, VST.CFG and VSTSDT.CFG

Om Layo1 zelfs maar geinstalleerd te krijgen moet je een patch uitvoeren op de installatie EXE bestanden op floppy met de Borland TP/TC patch, anders krijg je een Runtime Error 200. Na installatie moet je dat nog eens doen met ALLE Layo1 EXE bestanden, mocht het niet nodig zijn dan laat de patch dat merken.

Je besturings systeem moet je in staat stellen in puur DOS mode en/of pure DOS mode in een Windows-DOS-box te werken. Alleen W95 tot W98SE kan dat. (Getest met een PC tussen 120 - 600 MHz)

Gebruik de Borland patch in een DOS-venster met:    tppatch  file.exe

300 LAYO1 LMC add-ons
470KB ZIP file
300 LAYO1 LMC aanvullingen


ALL the LMC's in a booklet
made with Layo1
450KB in PDF - 24 pages
Alle LMC aanvullingen in een handig boekje - 24 velletjes




































ONE example text sheet with the corrected and enhanced FONT.FNT


only 20KB - in PDF

Een testvelletje gemaakt met het verbeterde en uitgebreide FONT.FNT











A single ZIP set with more than 300 self-designed LAYO1 for DOS LMC (component base) sets. With a simple batch file to put them with one command on the right place.

Click over here or left to view an example PDF booklet with 24 extra LMC pages!!

Also in this floppy set: The Linotype postscript repair utility LINO3.EXE to correct LAYO1 postscript errors on phototypeset ( Linotype & Monotype) machines. This works great with Dos-links in a DOS-BOX under Windows. It can happen under WIN-NT5 (XP and W2K) that the batch file parameters (%1) are better understood with a modified link to COMMAND.COM (from NT5 !!) than with CMD.EXE.


More background info:
In a postscript file the %%BoundingBox parameters form the boundaries of a window-box on the job that is about to print. So your print job must be exactly in that window. The problem is: small parts are mostly NOT! If mirroring is enabled in Version 7 a small job can even be somewhere else on that sheet: nothing is printed at all. Happily you only see this problem if you print on anything else than an A4 or A3 printer!!! For example a phototypeset machine with a film roll or in PDF creating! Than only what is inside the box is used.




Even more: The font repair utility to correct LAYO1 for DOS font errors. Version FONT27.EXE
This only works on old video cards in an old machine and preferably DOS only (or W95 DOS-box). It is programmed long ago around an old DOS video enhance library. It will not work properly in a DOS-shell under nowadays Windows and also NOT on very fast machines. You only need it once to repair the FONT.FNT file and than you are finished. Or use the FONT_WG3.FNT in this set that is already fixed and enhanced. Rename it to FONT.FNT or point to the new name.



Click over here or left to view one example PDF sheet.
FONT.FNT appears to be the same file as LAYO1PF1.DAT in the Layo1 Windows version. But unfortunately most of the high ASCII's don't work properly under Windows, however some do work. LAYO1PF1.DAT has the same errors as the original DOS version 4.91 and up from the nineties. Replaced with my version some errors in the characters that do work are corrected.
Where do you need the high ASCII's for?? To make Layo1 better "international" and some nice specials, see the PDF example.

Een enkel ZIP bestand met meer dan 300 zelf ontworpen LAYO1 voor DOS LMC (komponent voetafdruk) setjes. Met een eenvoudig batch bestand om ze met een enkel kommando op hun plek te zetten.
Klik hier of links om een voorbeeld boekje met 24 pagina's in PDF te bekijken!!

Ook in deze floppy set: Het Linotype postscript reparatie programma LINO3.EXE om LAYO1 postscript fouten te repareren die hinderlijk zijn op Linotype & Monotype fotozet machines. Het werkt prima met een DOS snelkoppeling naar een batchfile onder Windows. Onder WIN-NT5 ( W2K en XP) werkt het doorgeven van parameters (%1) beter met een gemodificeerde snelkoppeling naar COMMAND.COM (van NT5 !!) dan met CMD.EXE.

Wat meer achtergrond info:
In een postscript bestand bepalen de %%BoundingBox parameters de begrenzingen van een venster waarbinnen de printopdracht zich bevindt. Met andere woorden dat wat je wilt afdrukken MOET zich exact binnen dat venster bevinden. Het probleem is nu: dat is meestal niet exact het geval! Wanneer spiegeling aanstaat in Versie 7 kan een kleine opdracht zich zelfs aan de andere kant van een velletje bevinden.: er wordt helemaal NIETS afgedrukt! Maar gelukkig is dit probleem er alleen als je iets anders doet dan op een standaard A4 of A3 printer afdrukken: bijv. stroken belichter (filmrol) machine of bij het maken van een PDF. Dan wordt er alleen binnen het venster gekeken.

Nog meer: Het font reparatie programma om fouten uit het LAYO1 voor DOS fontbestand te halen. Versie FONT27.EXE
Dit werkt alleen met oude video kaarten op trage machines, dus het liefst op een oud machientje in alleen DOS (of desnoods een W95 DOS-venster). Er is ooit gebruik gemaakt van een oude video versneller routine bibliotheek. Het werkt absoluut niet onder een moderne Windows of iedere snelle machine. Je hebt het eigenlijk maar 1 keer nodig om FONT.FNT te repareren en dan ben je klaar. Of gebruik FONT_WG3.FNT in deze set die al OK is en uitgebreid. Geef het de naam FONT.FNT of wijs in Layo1 naar de nieuwe naam

Klik hier of links om een voorbeeld PDF velletje te zien.
FONT.FNT blijkt hetzelfde bestand te zijn als LAYO1PF1.DAT in de Layo1 Windows versie. Maar helaas, de meeste hoge ASCII's werken niet goed onder Windows, hoewel enkelen het weer wel doen. LAYO1PF1.DAT heeft dezelfde fouten als de originele DOS versie 4.91 en hoger uit de jaren 90. Vervangen door mijn versie zijn de fouten in de werkende karakters opgelost!
Waarvoor zou je de hoge ASCII's benutten?? Om Layo1 "internationaal" te maken en enkele leuke specials, zie het PDF voorbeeld


Orcad postscript
Enhance utility
Verfraaings programma

Enhanced postscript

Original postscript

All postscript output (both Layo1 and Orcad for DOS) can easily be converted to PDF.
Use for example Adobe Distiller.

Further down you find a utility to "repair" Layo1 postscript. In this field a utility that enhances the ORCAD postscript to give it a decent look. It will no longer look like matrix-printer output! Just look at all the example design files on this site!

Or Click on a single example left

Alle postscript output van zowel Layo1 als ORCAD voor DOS kan eenvoudig omgezet worden naar PDF.
Gebruik bijv. Adobe Distiller.
Iets lager een setje om Layo1 postscript te "repareren". In dit veld een programma dat de ORCAD postscript uitvoer een fatsoenlijke smoel geeft zodat het niet meer op matrix-printer output lijkt. Zie gewoon alle voorbeeld files op deze site!

Of klik op een enkel voorbeeld links



LAYO1 postscript

Enhance and repair utility

Verfraaings en verbeter programma












This is a separate version of the LINO3.EXE utility

It is to "repair" Layo1 postscript. You cannot make proper PDF files out of the LAYO1 postscript and the output on phototypesetters goes wrong without this utility! You can drop Layo1 *.P0x files on a batch-PIF from this program (with extra parameters) and see the repair result in a DOS-box.
The patched copy of the file will have a name like *.E0x
Most errors are in the %%BoundingBox line and the mirroring is wrong.
Cripple mirroring is removed and the %%BoundingBox parameters are calculated again and patched back in the PS-file.

The calculated values are ONLY valid for a scaling factor of 1.000 !!!
The job-measurement results are presented in a DOS-box in Layo-points, PS-points and millimeters.

See above for some more explanation

Dit is een op zichzelf staande set van het LINO3.EXE programma

Het is bedoeld om de LAYO1 postscript te "repareren". Je kunt er anders niet goed PDF van maken en de output op film belichtingsmachines gaat zonder dit progje FOUT! Je kunt de Layo1 *.P0x bestanden verslepen op een batch-snelkoppeling (met extra parameter doorgave) en het reparatie resultaat zien in een DOS-venster.
De aangepaste kopie van het bestand krijgt een naam zoals *.E0x
De meeste fouten zitten in de regel %%BoundingBox en de spiegeling is fout.
Kreupele spiegeling wordt weggehaald en de %%BoundingBox waarden opnieuw berekend en teruggeplaatst in het PS-bestand.
De berekende waarden zijn ALLEEN geldig bij een schaalfactor van 1.000 !!!
De resulterende job afmetingen worden in een DOS venster gepresenteerd in Layo punten, PS-punten en in millimeter.

Zie hoger voor iets meer uitleg



LAYO1 postscript V4

Enhance and repair utility
version 4 beta

Verfraaings en verbeter programma






This is a new beta version of the repair utility, called LINO4.EXE

It is to "repair" LAYO1 postscript. Same as above but much more enhanced calculation and repair. Scale factor no problem any more, also for PDF creating it would be nice to have an extra width parameter! It's done!!



Drag a Layo1 *.Pxx file on the repair PIF of the batch, drag the resulting *.Exx on Adobe Distiller and be amazed!


You have to manually edit the dos path in the start PIF for the batch file!! I placed the files in the E:\POSTSCRI dir. Also use and point to the added icon.

See above for some more explanation

Dit is een nieuwe beta versie van het reparatie programma, het heet LINO4.EXE

Het is bedoeld om de LAYO1 postscript te "repareren". Hetzelfde als hierboven maar meer geavanceerde berekening en reparatie. Scale factor geen probleem meer en voorbereidend op PDF creatie bleek het handig ook extra breedte toe te kunnen voegen! Dat is gelukt!!

Sleep een Layo1 *.Pxx bestand op de reparatie snelkoppeling, sleep de resulterende *.Exx op Adobe Distiller en wees aangenaam verrast!

Je moet wel de dos paden editten in de start PIF van het batch bestand!! Bij mij staan de bestanden in de E:\POSTSCRI dir. Gebruik tevens de bijgevoegde icon.

Zie hoger voor iets meer uitleg



LAYO1 postscript V5.3

Enhance and repair utility
At last - a Windows shell!
version 5.3 in Visual Basic

Verfraaings en verbeter programma
Eindelijk met een Windows snuitje













Klik plaatje voor vergroting
NL scherm






Click picture for enlargement
UK screen



VB6 Runtime and dialog files





This is the latest version of the postscript repair utility, now with a Windows shell from Visual Basic, this version is called LAYO1_PS_REPAIR.EXE


It is not only to "repair" LAYO1 postscript, but now also with a lot of new features. Same possibilities as the DOS version4 above, the engine of version 4 still is the center, but now with more enhanced options!!

The program not only optimizes the postscript code ( pre-stage for PDF!), it is now also possible to optimize for EPS. This appeared handy to copy (in Notepad+) more small Layo1 postscript items in the same larger job, for printout on the same UV-sheet, or for 1 PDF sheet. After the main job (pref. in forced_A4 mode), just before the command "showpage", you can add extra smaller jobs in EPS code, separate those jobs with the commands "gsave" and "grestore" from the other PS-code. Also give some shift with the "translate" command, see an example file for How_to.

Experimenting with PS-code it appeared handy (and simple!) to convert Layo1 outputdriver gray-commands to color. That looks very nice in PDF for documenting purposes!!

A PDF printout problem appeared: Some inkjet printers drivers try to add their own white margin, a full page is unwanted scaled if you are too hurried in Acrobat with the settings. There is a difference between scaling an A4 to A4 (!?!) or NO (@#$%&) scaling al all! To overcome that problem a small crop ( = cut) percentage is also added. F.i. 5 mm.


Drag a Layo1 *.Pxx file on the Drag-Drop zone and be amazed with the result in Acrobat or Ghostview ( for EPS!!)!


Because there are lots of settings it could be annoying that you have to set them every time in the same way, other than default. An INI txt-file has been made to preset what you want only once for a particular job. You can also set a language option to change the interface AND the logging from Dutch to English!



Meanwhile version 5.3.0.9 !
If your XP or W2K is very "clean" you also need the RUNTIME and dialog files (left).


See above for some more explanation of the postscript code.

Dit is de laatste en meest geavanceerde versie van het reparatie programma, nu eindelijk met een Windows snuitje uit Visual Basic, deze versie heet LAYO1_PS_REPAIR.EXE

Het is niet alleen bedoeld om de LAYO1 postscript te "repareren", maar nu ook met een paar speciale extra's. Vanzelfsprekend dezelfde fijne mogelijkheden als de DOS versie4 hierboven, het motortje van versie 4 zit er middenin, maar nu met een paar geavanceerde opties!
Het programma optimaliseerd nu niet alleen de postscriptcode in voorbereiding op PDF creatie, maar het is nu ook mogelijk te optimaliseren voor EPS. Dit bleek handig te zijn voor het later kopieren in Notepad+ van meerdere kleine Layo1 jobs in een grote job, om later af te drukken op 1 UV-vel, of voor in 1 PDF pagina. Na de hoofdjob (eventueel in geforceerd A4 mode) en net voor "showpage" voeg je de extra items in EPS code toe tussen "gsave" en "gerestore" commando's. Je moet wel handmatig een shift meegeven met het "translate" commando, HOE?? dat kun je afkijken in een voorbeeld job.
Al experimenterend met postscript code bleek het handig (en simpel) te zijn de Layo1 outputdriver Gray (postscript grijs) code om te zetten naar een kleurtje. Dat ziet er dan later in PDF prachtig uit voor documentatie doeleinden!!
Er kwam een nieuw PDF afdruk probleem op de proppen: Sommige inktjet printer drivers proberen een vol A4 stiekum te verkleinen door hun eigen kleine witrandje toe te voegen. Vooral als je in Acrobat iets te haastig werkt. Er is een verschil tussen een A4 aanpassen aan een A4, of er (@#$%&) afblijven. Er is nu een optie om een klein witrandje van een volle pagina af te knippen ( bijv. 5 mm)

Sleep een Layo1 *.Pxx bestand op de reparatie Drag-Drop zone en wees aangenaam verrast door het resultaat in Acrobat of Ghostview (voor EPS!!)!

Omdat er een heleboel (extra) instellingen zijn kan het vervelend worden als je die elke keer net even anders moet instellen dan standaard. Daar hebben we een INI tekst bestand voor uitgevonden waar je de instellingen voor een bepaalde toepassing in 1 keer goed zet. Ook kun je een taaloptie instellen waardoor alles (ook de logfiles) plots schakelbaar zijn tussen Nederlands en Engels.

Ondertussen al versie 5.3.0.9 !
Als je XP of W2K erg kaal is heb je de RUNTIME en dialoogvenster files (links) ook nog nodig.

Zie hoger voor iets meer uitleg van de postscript code




Back to the Extra Radio page
or



TEST FTP link
TEST WEB link



Layo1 and Orcad page
by Walter - PE1ABR - 2012-02-21