469,282 Members | 1,666 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

printing to server side printer

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")

-- 5k**********@sneakemail.com
Jul 19 '05 #1
1 1618
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?

"James" <Se********@The.Bottom.com> wrote in message
news:2T*****************@chiapp18.algx.net...
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")

-- 5k**********@sneakemail.com

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Brian Hanson | last post: by
5 posts views Thread by Mark Preston | last post: by
2 posts views Thread by Ryan Moran | last post: by
3 posts views Thread by Ahmad Abu-Raddad | last post: by
2 posts views Thread by Jacek | last post: by
4 posts views Thread by Lucas Ponzo | last post: by
3 posts views Thread by eddyger | last post: by
18 posts views Thread by Brett | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.