|
-
May 31st, 2005, 08:58 AM
#2
Are you trying to print 33 lines of a file, or trying to set the printer to 33-line mode?
If you want to print 33 lines of a file, there is no easy way to do that in DOS or using batch commands - you have to use a 3rd party utility or write a little qbasic script.
If you are just trying to send data to the printer, the easiest way is to redirect the ECHO statement.
for instance, assuming your printer is on the first parallel port:
ECHO This is a test > LPT1
Will print "This is a test" to the printer. You would have to look up the control codes for the printer to get the 33 line setting, but from that point it should be as simple as echoing the control characters into the printer.
Similar Threads
-
By silencio in forum Networking
Replies: 2
Last Post: May 31st, 2005, 12:09 PM
-
By alistair91 in forum Windows XP
Replies: 2
Last Post: August 31st, 2004, 12:10 PM
-
By sp3tiger in forum Windows NT/2000
Replies: 3
Last Post: January 18th, 2003, 01:11 PM
-
By chaucer in forum Networking
Replies: 12
Last Post: March 21st, 2001, 10:57 AM
-
By KevinPKT in forum Windows 95/98/98SE/ME
Replies: 3
Last Post: February 8th, 2001, 10:49 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks