When I wrote the “Professional” I added to the “PRINT-A-DOC” program a lot of automatic capabilities… it automatically sets the left/center/right margines for the NEWSLETTER or STANDARD LETTER formats and their headers based on the Dot Density used by your printer. Each position is set to the nearest Pixel to give a perfectly balanced page!
Well, I’ve been gently reminded on several occasions that while this is great, for certain things personal customizing is still — desirable! So, as promised, here is the POKE table to manully set the Left/Center/Right margines.
NOTE: Be sure to use the Tables for your specific version!
Aerco & Oliger Disk
1) LOAD the PRINT-A-DOC bytes.
LOAD "P_DOC"CODE 37309
(NOTE: EDIT this for AERCO
or Oliger syntax as needed.)
2) POKE the following address as
desired...
3) SAVE "P_DOC"CODE 37309,5191
Standard Letter Format
ADDRESS VALUE
LEFT 40118 32
RIGHT 40128 32
Newsletter Format
ADDRESS VALUE
LEFT 40141 12
CENTER 40146 40
RIGHT 40151 12
Standard Letter Header
ADDRESS VALUE
LEFT 40270 160
RIGHT 40280 160
Newsletter Header
ADDRESS VALUE
LEFT 40298 32
RIGHT 40308 32
Tape & Micro drive
1) LOAD the PRINT-A-DOC bytes.
LOAD "P_DOC"CODE 37450
(NOTE: EDIT this for TAPE
or Micro syntax as needed.)
2) POKE the following address as
desired...
3) SAVE "P_DOC"CODE 37450,5050
Standard Letter Format
ADDRESS VALUE
LEFT 40182 32
RIGHT 40192 32
Newsletter Format
ADDRESS VALUE
LEFT 40205 12
CENTER 40210 40
RIGHT 40215 12
Standard Letter Header
ADDRESS VALUE
LEFT 40334 160
RIGHT 40344 160
Newsletter Header
ADDRESS VALUE
LEFT 40362 32
RIGHT 40372 32
Now, some planning is required before POKEing in new numbers!!
The “values” listed in the table above are for a 72 DPI density, before you make any changes, I’d suggest you PEEK each address to “see”/record what was used there for your printer. This will give you something to RETURN to without re-running CUSTOMIZE again. Then you can begin to “PLAN” the new page layout.
Each line that is sent to your printer consists of two 256 byte graphics columns (512 bytes) and the number of blank pixel columns defined in these tables. (NOTE: the std. letter header only uses one 256 byte column!). In EVERY case, the number of blank pixels and graphic bytes must sum up to the maximum dots per line printable by your printer for the dot density you are using, ie. at 72 dots per inch (DPI) and an 8 in. carriage you need the blanks and graphic pixels to = 72×8 (576).
An easier way is to be sure that the SUM of Left/Right/Center for each case you POKE in is the same as when you PEEKed them… so if you add 3 pixel spaces to the LEFT margine, be sure to remove 3 pixel spaces from the Center or Right margines!!
Another valuable POKE we already used in the Mailing Label Makers is a PAGE Length POKE… all of the PIXEL PLUS! programs can use this mod! Page length is defined to be 94 graphic rows. A counter in the printer driver starts at 94 and decrements until it gets to the value stored at address 39349 (v3.1) or 39379 (v3.2+)… POKE this address with 94 – your new page length. (For example, POKE 39349,85 prints 9 rows.)
Page length is self adjusting in the PRINT-A-DOC program… but one can still modify it to print pages less than the full 94 rows defined in the standard 11 inch page. AERCO/OLIGER POKE 30254,## and TAPE/MICRO POKE 30318,##. ## is the number of graphic rows in your page.
FORM FEED FIX
Here is another modification for the Pixel Print Professional…. PRINT-A-DOC.
It seems, that PRINTER firmware resists any and all attempts at standardization! In this case, I uncovered yet another unexpected dis-similarity in the way some printers use the FORM-FEED cmnd.
The STAR SG-10 that I use has 2 modes of operation, an IBM compatible mode and an EPSON compatible mode. In both modes, when I send a FORM-FEED (12 dec.), it advances the paper from the present position to the TOP of the next page… just what one might expect from such a function.
But, not all printers do this!!! The C. Itoh (Prowriter) for example “counts” line feeds and expects to find a set number per page. So, when the DTP program prints a full page in GRAPHICS mode and needs 94 line feeds for a page, the printer thinks that you printed 1.3 pages… and at the FORM-FEED moves forward, not to the top of the next page, but the center of the next page!!
Well, the “fix” I’ve got is good but not great. The beauty of the FORM-FEED is that if you were printing short pages, ie. HEADER only, the FF would take me back to the top of the next page. The “FIX” is to substitute a number of LINE-FEEDS (5) to be sent to the printer to advance the paper to the top of the next page. For most things, this is a good fix, but only so long as you print 94 rows per page.
If your printer does not FORM FEED properly between pages, then make these POKES to your CUSTOMIZED PRINT-A-DOC code.
ALL VERSIONS: POKE 32218,134
POKE 32219,126 32390,5
32391,10 32392,10
32393,10 32394,10
32395,10
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.