
printing by copying to LPT1:?
isn't chr(12) Formfeed for most printers?
with mine (canon bjc 4300) it works well just to let a script write directly
to LPT1_as_a_'text-file'
I got this from this newsgroup...I think it was posted in January
set ff=CreateObject("scripting.FileSystemObject")
set sonja=ff.OpenTextFile("LPT1",2,true,0)
' nun etwas an die "Textdatei schicken"
sonja.writeline "Hallo Du da :-)))"
sonja.writeline "na???"
sonja.writeline "Dies ist eine direkte Ausgabe auf den Drucker."
sonja.writeline "das habe ich aus einer newsgroup"
sonja.writeline "faszinierend" ' Mr Spock's comment
sonja.writeline "gut"
sonja.write chr(12) 'Formfeed
' Druckvorgang beenden
sonja.close
Thorsten
Quote:
> try using...
> \f (this is the escape sequence for a Form Feed)
> > Hi -
> > I am trying to copy a raw ASCII text file to LPT1: for printing shipping
> > labels- data light on the printer blinks, but printer doesn't print. I
> print
> > a windows printer test page, and viola, the data I copied to the port
> > prints, followed by the test page. Is there an EOF char I need to send
> after
> > my data? Any suggestions are appreciated.
> > helion