borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Wrod Printing using VisualBasic 6)Next Topic (PDF 2 Postscript) New Topic New Poll Post Reply
AndreaVB Forum : Printing : Printing to Network Printer
Poster Message
vishnuganesh
Level: Guest


icon Printing to Network Printer

I am working in Visual basic under Windows 2000 Network.

I am using the following code for printing in dos mode.

open "prn" for output as 1
print #1, "test printing"
close #1

The above statements are working when the printer is connected in my system.

Similarly, when the printer is connected in some other node (printer is shared in my machine) it is showing some error.

Please help me

Awaiting for your favourable reply.

by
Ganesh



[Edited by vishnuganesh on 24-10-2002 at 01:35 PM GMT]

[Edited by vishnuganesh on 25-10-2002 at 03:56 PM GMT]

23-10-2002 at 07:17 PM
| Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1617
icon Re: Printing

Offhand I belive it's because "prn" is the printer (parallel) port on the PC.

I don't send data to the printer that way so I don't have a solution. Although I'd suggest that you look for info on the Print Common Dialog (help files, or internet) it may be useful.

23-10-2002 at 08:27 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
ReaperAlex
Level: Guest

icon Re: Printing to Network Printer

Hi there, you may want to keep an eye on this thread:
http://www.andreavb.com/forum/viewtopic.php?TopicID=721
I've asked a similar question and if I get an answer it may give you a few things to think about.

Hope you solve your probs

ReapeR

13-01-2003 at 02:22 PM
| Quote Reply
AndreaVB Forum : Printing : Printing to Network Printer
Previous Topic (Wrod Printing using VisualBasic 6)Next Topic (PDF 2 Postscript) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder