![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jul 2008
Posts: 1
Rep Power: 0
![]() |
Printer settings
Quick background - currently using an app that requires setting the printer (an old dot matrix) to a specific amount of lines per page and also page width.
It's currently being done on a Windows 98 machine with the old dos command MODE. I believe the syntax is something like MODE LPT1:, 132,66 - to set the page and width. We have been trying to upgrade the machine to Windows XP for some time now, but the mode command no longer supports that function. I would like to know if anyone could assist me with writing a script, or small executable that would accomplish this same task. Thanks! |
|
|
|
|
|
#2 |
|
Caffeinated Neural Net
![]() Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,031
Rep Power: 5
![]() |
Re: Printer settings
Many of the old dot matrix printers are Epson-compatible, and as such, you could send the appropriate escape sequence to the printer to change modes, pitch, character size, etc. For example, see this page. A search on Google or the like should turn up a wealth of resources, and if the Epson codes don't work, you can search for the ones for your particular model of printer.
Is there any reason you can't just print from Windows, using a Windows-based program? Are you trying to support a piece of legacy software, unable to find Windows drivers, or what?
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strangest printer error | Baphomet | Coder's Corner Lounge | 5 | Nov 9th, 2007 6:08 AM |
| Which Printer Do You Recommend ? | on_auc | Coder's Corner Lounge | 2 | Nov 20th, 2005 6:46 AM |
| Printer Problem | Teecha | Coder's Corner Lounge | 15 | Nov 3rd, 2005 3:24 PM |
| Printing From Printer | Firebirdracer14 | Visual Basic | 2 | Aug 4th, 2005 10:06 AM |
| Printer stream in C | Daniel_kd | C | 2 | Apr 7th, 2005 10:28 AM |