printing to server side printer

J

James

how come when i print programicly my printer says "data received" and it
won't print until i press the GO button on the printer? my printer is a HP
laser jet 5

Set objFS = server.CreateObject("Scripting.FileSystemObject")
Set objPrinter = objFS.CreateTextFile("\\printserver\printername", True)
objPrinter.Write("testing printing")

-- (e-mail address removed)
 
J

James

i got the answer from .vbscript news group. i needed to concatonate a
vbFormFeed.
i have another related question. i want to use this script to print an asp
page that a user gets to the web servers printer. what would be the best way
to do that? should i save the asp out put to the server asfile and then
print it or can i save it as a object or varable and then print that?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,086
Latest member
ChelseaAmi

Latest Threads

Top