BBS: Inland Empire Archive Date: 02-14-93 (10:32) Number: 365 From: CALVIN FRENCH Refer#: NONE To: ERIC REIDMILLER Recvd: NO Subj: Lprint Conf: (2) Quik_Bas
Eric, ER> i am trying to write a program in quickbasic for my printer to print ER> in the spaces provided by my expense reports except that using ER> "LPRINT" ER> doesn't always match-up. is there a small increment than "LPRINT" ? ER> ER> usin "TAB(x)" works fine for left and right spacing but i can't get ER> the lines to match. I'm not sure if I understand what you mean, but by far the easiest way (and most de-buggiest too) is to open the printer as a file. This way, you will have to choose what LPT port the printer is on, but all around it works better. Try this: OPEN "LPT1:" FOR OUTPUT AS #1 WRITE #1 "This is a test of how WRITE works!" PRINT #1 "This is a test of how PRINT works!" PRINT #1 "(So how the heck'd it work?)" I haven't tried this, but see which works best for you and maybe it'll help you out! - Calvin - ... OFFLINE 1.39 * Huh!? What's a tagline? --- Maximus 2.01wb * Origin: RJ's Byteline =[HST/DS]= Calgary (403)247-3180 CANADA (1:134/75)
Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET