Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems printing from a dos program 2

Status
Not open for further replies.

top8

Technical User
Dec 20, 2003
1
US
i am using an old dos program to write orders.i am also using an xp operating system.when i print document it acts as if the paper isn't wide enough.it clips the right side of the text.i think i need to change codes but no experence.any help would be great thanks
 
Current versions of Windows cause problems for programs which try to go straight to hardware such as printers. You can try looking for a utility which will help it function, or print to a file. I currently use a shareware program called PDF995. It sets itself up as a printer on the system, but output sent to it will create a PDF file. The Adobe Reader software can then open and print the file. I also used a program called PRN2FILE long ago. It ran under DOS, and captured printer output to a disk file. The disk file could be brought into something like Word and printed.
 
If you were complaining that when you print a page from inside Internet Explorer and the right edge of the window is cut off, I would tell you to adjust your browser printer margin settings. For example, in Microsoft Explorer select File menu, then Page Setup and reduce your left and right margins to 0.25 inches.

You said this right-side-truncation occurs when your DOS program prints. It used to be okay, so what changed? If it is a new printer, check its default print settings. If it isn't new, did someone change those settings? (A DOS program does not use the Windows printer installed drivers.)

The reply above by kiddpete suggested one way for you to print from a DOS program in newer computers, so I'll add a comment too that you can consider. For example, soon many new printers will be connected with USB. Well, DOS has no way to write directly to USB printers. Solution (really a workaround): There's a program named PrintFile that you can install that monitors a directory of your choice and any files you write or copy into that directory are printed then deleted by this Windows program. Real Neat. Check it out.

thread182-155776 - about PrintFile program
thread182-66171 - a way to speed up printing
 
The PrintFile program is a specialized print spooler designed to allow DOS programs to "print" their output to a file, then let a Windows program do the legwork in getting it printed. - dbMark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top